Class ComplexSPARQLQueryTest
- java.lang.Object
-
- org.eclipse.rdf4j.testsuite.query.parser.sparql.ComplexSPARQLQueryTest
-
public abstract class ComplexSPARQLQueryTest extends Object
A set of compliance tests on SPARQL query functionality which can not be easily executed using theSPARQL11ManifestTest
format. This includes tests on queries with non-deterministic output (e.g. GROUP_CONCAT).- Author:
- Jeen Broekstra
-
-
Field Summary
Fields Modifier and Type Field Description protected RepositoryConnection
conn
protected static String
EX_NS
protected ValueFactory
f
protected org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description ComplexSPARQLQueryTest()
-
Method Summary
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
conn
protected RepositoryConnection conn
-
f
protected ValueFactory f
-
EX_NS
protected static final String EX_NS
- See Also:
- Constant Field Values
-
-
Method Detail
-
testSES2373SubselectOptional
public void testSES2373SubselectOptional() throws Exception
- Throws:
Exception
-
testSES2154SubselectOptional
public void testSES2154SubselectOptional() throws Exception
- Throws:
Exception
-
testSameTermRepeatInOptional
public void testSameTermRepeatInOptional() throws Exception
- Throws:
Exception
-
testSES1121VarNamesInOptionals
public void testSES1121VarNamesInOptionals() throws Exception
- Throws:
Exception
-
testSES1081SameTermWithValues
public void testSES1081SameTermWithValues() throws Exception
- Throws:
Exception
-
testSES1898LeftJoinSemantics1
public void testSES1898LeftJoinSemantics1() throws Exception
- Throws:
Exception
-
testSES1073InverseSymmetricPattern
public void testSES1073InverseSymmetricPattern() throws Exception
- Throws:
Exception
-
testSES1970CountDistinctWildcard
public void testSES1970CountDistinctWildcard() throws Exception
- Throws:
Exception
-
testSES1685propPathSameVar
public void testSES1685propPathSameVar() throws Exception
- Throws:
Exception
-
testSES2104ConstructBGPSameURI
public void testSES2104ConstructBGPSameURI() throws Exception
- Throws:
Exception
-
testSES1898LeftJoinSemantics2
public void testSES1898LeftJoinSemantics2() throws Exception
- Throws:
Exception
-
testIdenticalVariablesInStatementPattern
public void testIdenticalVariablesInStatementPattern() throws Exception
- Throws:
Exception
-
test27NormalizeIRIFunction
public void test27NormalizeIRIFunction() throws Exception
- Throws:
Exception
-
testValuesAfterOptional
public void testValuesAfterOptional() throws Exception
See https://github.com/eclipse/rdf4j/issues/3072- Throws:
Exception
-
testMaxAggregateWithGroupEmptyResult
public void testMaxAggregateWithGroupEmptyResult() throws Exception
See https://github.com/eclipse/rdf4j/issues/1978- Throws:
Exception
-
testMaxAggregateWithoutGroupEmptySolution
public void testMaxAggregateWithoutGroupEmptySolution() throws Exception
See https://github.com/eclipse/rdf4j/issues/1978- Throws:
Exception
-
testMinAggregateWithGroupEmptyResult
public void testMinAggregateWithGroupEmptyResult() throws Exception
See https://github.com/eclipse/rdf4j/issues/1978- Throws:
Exception
-
testMinAggregateWithoutGroupEmptySolution
public void testMinAggregateWithoutGroupEmptySolution() throws Exception
See https://github.com/eclipse/rdf4j/issues/1978- Throws:
Exception
-
testSampleAggregateWithGroupEmptyResult
public void testSampleAggregateWithGroupEmptyResult() throws Exception
See https://github.com/eclipse/rdf4j/issues/1978- Throws:
Exception
-
testSampleAggregateWithoutGroupEmptySolution
public void testSampleAggregateWithoutGroupEmptySolution() throws Exception
See https://github.com/eclipse/rdf4j/issues/1978- Throws:
Exception
-
testSameTermRepeatInUnion
public void testSameTermRepeatInUnion() throws Exception
- Throws:
Exception
-
testSameTermRepeatInUnionAndOptional
public void testSameTermRepeatInUnionAndOptional() throws Exception
- Throws:
Exception
-
testGroupConcatNonDistinct
public void testGroupConcatNonDistinct() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithBinding1
public void testArbitraryLengthPathWithBinding1() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithBinding2
public void testArbitraryLengthPathWithBinding2() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithBinding3
public void testArbitraryLengthPathWithBinding3() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithBinding4
public void testArbitraryLengthPathWithBinding4() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithBinding5
public void testArbitraryLengthPathWithBinding5() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithBinding6
public void testArbitraryLengthPathWithBinding6() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithBinding7
public void testArbitraryLengthPathWithBinding7() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithBinding8
public void testArbitraryLengthPathWithBinding8() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithFilter1
public void testArbitraryLengthPathWithFilter1() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithFilter2
public void testArbitraryLengthPathWithFilter2() throws Exception
- Throws:
Exception
-
testArbitraryLengthPathWithFilter3
public void testArbitraryLengthPathWithFilter3() throws Exception
- Throws:
Exception
-
testNestedInversePropertyPathWithZeroLength
public void testNestedInversePropertyPathWithZeroLength() throws Exception
- Throws:
Exception
-
testSES2147PropertyPathsWithIdenticalSubsPreds
public void testSES2147PropertyPathsWithIdenticalSubsPreds() throws Exception
- Throws:
Exception
-
testSES1991UUIDEvaluation
public void testSES1991UUIDEvaluation() throws Exception
- Throws:
Exception
-
testSES1991STRUUIDEvaluation
public void testSES1991STRUUIDEvaluation() throws Exception
- Throws:
Exception
-
testSES1991RANDEvaluation
public void testSES1991RANDEvaluation() throws Exception
- Throws:
Exception
-
testSES2024PropertyPathAnonVarSharing
public void testSES2024PropertyPathAnonVarSharing() throws Exception
- Throws:
Exception
-
testPropertyPathNegationInversion
public void testPropertyPathNegationInversion() throws Exception
- Throws:
Exception
-
testSES2361UndefCountWildcard
public void testSES2361UndefCountWildcard() throws Exception
- Throws:
Exception
-
testSES2336NegatedPropertyPathMod
public void testSES2336NegatedPropertyPathMod() throws Exception
- Throws:
Exception
-
testBindError
public void testBindError() throws Exception
See https://github.com/eclipse/rdf4j/issues/1018- Throws:
Exception
-
testBindScopeUnion
public void testBindScopeUnion()
-
testSES2250BindErrorsInPath
public void testSES2250BindErrorsInPath() throws Exception
- Throws:
Exception
-
testFilterExistsExternalValuesClause
public void testFilterExistsExternalValuesClause() throws Exception
https://github.com/eclipse/rdf4j/issues/1026- Throws:
Exception
-
testValuesClauseNamedGraph
public void testValuesClauseNamedGraph() throws Exception
- Throws:
Exception
-
testValuesCartesianProduct
public void testValuesCartesianProduct()
-
testSeconds
public void testSeconds() throws Exception
See https://github.com/eclipse/rdf4j/issues/1267- Throws:
Exception
-
testSecondsMilliseconds
public void testSecondsMilliseconds() throws Exception
See https://github.com/eclipse/rdf4j/issues/1267- Throws:
Exception
-
testConstruct_CyclicPathWithJoin
public void testConstruct_CyclicPathWithJoin()
-
getNamespaceDeclarations
protected String getNamespaceDeclarations()
Get a set of useful namespace prefix declarations.- Returns:
- namespace prefix declarations for dc, foaf and ex.
-
newRepository
protected abstract Repository newRepository() throws Exception
- Throws:
Exception
-
loadTestData
protected void loadTestData(String dataFile, Resource... contexts) throws RDFParseException, RepositoryException, IOException
-
-