-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lets review this and get on with it:)
- Loading branch information
Showing
15 changed files
with
121 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
// Author: Johannes Kalmbach <[email protected]> | ||
|
||
#include "./util/IdTestHelpers.h" | ||
#include "./util/TripleComponentTestHelpers.h" | ||
#include "engine/sparqlExpressions/SparqlExpression.h" | ||
#include "global/ValueIdComparators.h" | ||
#include "gtest/gtest.h" | ||
|
@@ -82,16 +83,24 @@ struct TestContext { | |
zz = getId("\"zz\"@en"); | ||
blank = Id::makeFromBlankNodeIndex(BlankNodeIndex::make(0)); | ||
|
||
constexpr auto lit = [](std::string_view s) { | ||
return ad_utility::triple_component::LiteralOrIri::literalWithoutQuotes( | ||
s); | ||
}; | ||
constexpr auto iri = [](const std::string& s) { | ||
return ad_utility::triple_component::LiteralOrIri::iriref(s); | ||
}; | ||
|
||
notInVocabA = Id::makeFromLocalVocabIndex( | ||
localVocab.getIndexAndAddIfNotContained("\"notInVocabA\"")); | ||
localVocab.getIndexAndAddIfNotContained(lit("notInVocabA"))); | ||
notInVocabB = Id::makeFromLocalVocabIndex( | ||
localVocab.getIndexAndAddIfNotContained("\"notInVocabB\"")); | ||
localVocab.getIndexAndAddIfNotContained(lit("notInVocabB"))); | ||
notInVocabC = Id::makeFromLocalVocabIndex( | ||
localVocab.getIndexAndAddIfNotContained("<notInVocabC>")); | ||
localVocab.getIndexAndAddIfNotContained(iri("<notInVocabC>"))); | ||
notInVocabD = Id::makeFromLocalVocabIndex( | ||
localVocab.getIndexAndAddIfNotContained("<notInVocabD>")); | ||
localVocab.getIndexAndAddIfNotContained(iri("<notInVocabD>"))); | ||
notInVocabAelpha = Id::makeFromLocalVocabIndex( | ||
localVocab.getIndexAndAddIfNotContained("\"notInVocabÄlpha\"")); | ||
localVocab.getIndexAndAddIfNotContained(lit("notInVocabÄlpha"))); | ||
|
||
// Set up the `table` that represents the previous partial query results. It | ||
// has five columns/variables: ?ints (only integers), ?doubles (only | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters