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 the SPARQL11ManifestTest format. This includes tests on queries with non-deterministic output (e.g. GROUP_CONCAT).
Author:
Jeen Broekstra
  • Field Details

  • Constructor Details

    • ComplexSPARQLQueryTest

      public ComplexSPARQLQueryTest()
  • Method Details

    • setUpClass

      public static void setUpClass()
    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • testNullContext1

      public void testNullContext1() throws Exception
      Throws:
      Exception
    • testSES2373SubselectOptional

      public void testSES2373SubselectOptional()
    • testSES2154SubselectOptional

      public void testSES2154SubselectOptional()
    • testNullContext2

      public void testNullContext2() throws Exception
      Throws:
      Exception
    • testSesameNilAsGraph

      public void testSesameNilAsGraph() throws Exception
      Throws:
      Exception
    • testDescribeA

      public void testDescribeA() throws Exception
      Throws:
      Exception
    • testDescribeAWhere

      public void testDescribeAWhere() throws Exception
      Throws:
      Exception
    • testDescribeWhere

      public void testDescribeWhere() throws Exception
      Throws:
      Exception
    • testDescribeB

      public void testDescribeB() throws Exception
      Throws:
      Exception
    • testDescribeD

      public void testDescribeD() throws Exception
      Throws:
      Exception
    • testDescribeF

      public void testDescribeF() throws Exception
      Throws:
      Exception
    • testDescribeMultipleA

      public void testDescribeMultipleA()
    • testDescribeMultipleB

      public void testDescribeMultipleB()
    • testDescribeMultipleC

      public void testDescribeMultipleC()
    • testDescribeMultipleD

      public void testDescribeMultipleD()
    • testGroupByEmpty

      public void testGroupByEmpty()
    • testGroupConcatDistinct

      public void testGroupConcatDistinct() 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()
    • 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()
    • testInComparison1

      public void testInComparison1() throws Exception
      Throws:
      Exception
    • testInComparison2

      public void testInComparison2() throws Exception
      Throws:
      Exception
    • testInComparison3

      public void testInComparison3() throws Exception
      Throws:
      Exception
    • testSES2121URIFunction

      public void testSES2121URIFunction()
    • test27NormalizeIRIFunction

      public void test27NormalizeIRIFunction()
    • testSES869ValueOfNow

      public void testSES869ValueOfNow()
    • testSES2136

      public void testSES2136() throws Exception
      Throws:
      Exception
    • testRegexCaseNonAscii

      public void testRegexCaseNonAscii()
    • testValuesInOptional

      public void testValuesInOptional() throws Exception
      Throws:
      Exception
    • testValuesAfterOptional

      public void testValuesAfterOptional() throws Exception
      See https://github.com/eclipse/rdf4j/issues/3072
      Throws:
      Exception
    • testMaxAggregateWithGroupEmptyResult

      public void testMaxAggregateWithGroupEmptyResult()
      See https://github.com/eclipse/rdf4j/issues/1978
    • testMaxAggregateWithoutGroupEmptySolution

      public void testMaxAggregateWithoutGroupEmptySolution()
      See https://github.com/eclipse/rdf4j/issues/1978
    • testMinAggregateWithGroupEmptyResult

      public void testMinAggregateWithGroupEmptyResult()
      See https://github.com/eclipse/rdf4j/issues/1978
    • testMinAggregateWithoutGroupEmptySolution

      public void testMinAggregateWithoutGroupEmptySolution()
      See https://github.com/eclipse/rdf4j/issues/1978
    • testSampleAggregateWithGroupEmptyResult

      public void testSampleAggregateWithGroupEmptyResult()
      See https://github.com/eclipse/rdf4j/issues/1978
    • testSampleAggregateWithoutGroupEmptySolution

      public void testSampleAggregateWithoutGroupEmptySolution()
      See https://github.com/eclipse/rdf4j/issues/1978
    • testSES2052If1

      public void testSES2052If1() throws Exception
      Throws:
      Exception
    • testSES2052If2

      public void testSES2052If2() throws Exception
      Throws:
      Exception
    • testSameTermRepeatInUnion

      public void testSameTermRepeatInUnion() throws Exception
      Throws:
      Exception
    • testSameTermRepeatInUnionAndOptional

      public void testSameTermRepeatInUnionAndOptional() throws Exception
      Throws:
      Exception
    • testPropertyPathInTree

      public void testPropertyPathInTree() throws Exception
      Throws:
      Exception
    • testFilterRegexBoolean

      public void testFilterRegexBoolean() throws Exception
      Throws:
      Exception
    • testGroupConcatNonDistinct

      public void testGroupConcatNonDistinct() throws Exception
      Throws:
      Exception
    • testArbitraryLengthPathWithBinding1

      public void testArbitraryLengthPathWithBinding1() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithBinding2

      public void testArbitraryLengthPathWithBinding2() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithBinding3

      public void testArbitraryLengthPathWithBinding3() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithBinding4

      public void testArbitraryLengthPathWithBinding4() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithBinding5

      public void testArbitraryLengthPathWithBinding5() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithBinding6

      public void testArbitraryLengthPathWithBinding6() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithBinding7

      public void testArbitraryLengthPathWithBinding7() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithBinding8

      public void testArbitraryLengthPathWithBinding8() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithFilter1

      public void testArbitraryLengthPathWithFilter1() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithFilter2

      public void testArbitraryLengthPathWithFilter2() throws Exception
      Throws:
      Exception
      See Also:
    • testArbitraryLengthPathWithFilter3

      public void testArbitraryLengthPathWithFilter3() throws Exception
      Throws:
      Exception
      See Also:
    • testNestedInversePropertyPathWithZeroLength

      public void testNestedInversePropertyPathWithZeroLength()
      See Also:
    • 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
    • testSES1991NOWEvaluation

      public void testSES1991NOWEvaluation() throws Exception
      Throws:
      Exception
    • testSES2024PropertyPathAnonVarSharing

      public void testSES2024PropertyPathAnonVarSharing() throws Exception
      Throws:
      Exception
    • testPropertyPathNegationInversion

      public void testPropertyPathNegationInversion() throws Exception
      Throws:
      Exception
    • testSES2361UndefMin

      public void testSES2361UndefMin()
    • testSES2361UndefMax

      public void testSES2361UndefMax()
    • testSES2361UndefCount

      public void testSES2361UndefCount()
    • testSES2361UndefCountWildcard

      public void testSES2361UndefCountWildcard()
    • testSES2361UndefSum

      public void testSES2361UndefSum()
    • testSES2336NegatedPropertyPathMod

      public void testSES2336NegatedPropertyPathMod() throws Exception
      Throws:
      Exception
    • testSES1979MinMaxInf

      public void testSES1979MinMaxInf() throws Exception
      Throws:
      Exception
    • testBindError

      public void testBindError()
      See https://github.com/eclipse/rdf4j/issues/1018
    • testBindScope

      public void testBindScope()
      See https://github.com/eclipse/rdf4j/issues/1405
    • testBindScopeUnion

      public void testBindScopeUnion()
      See https://github.com/eclipse/rdf4j/issues/1642
    • testSES2250BindErrors

      public void testSES2250BindErrors()
    • testSES2250BindErrorsInPath

      public void testSES2250BindErrorsInPath()
    • testEmptyUnion

      public void testEmptyUnion()
    • testFilterExistsExternalValuesClause

      public void testFilterExistsExternalValuesClause()
      https://github.com/eclipse/rdf4j/issues/1026
    • testValuesClauseNamedGraph

      public void testValuesClauseNamedGraph() throws Exception
      Throws:
      Exception
    • testValuesCartesianProduct

      public void testValuesCartesianProduct()
    • testSeconds

      public void testSeconds()
      See https://github.com/eclipse/rdf4j/issues/1267
    • testSecondsMilliseconds

      public void testSecondsMilliseconds()
      See https://github.com/eclipse/rdf4j/issues/1267
    • testConstructModifiers

      public void testConstructModifiers() throws Exception
      Throws:
      Exception
    • testConstruct_CyclicPathWithJoin

      public void testConstruct_CyclicPathWithJoin()
      See https://github.com/eclipse/rdf4j/issues/3011
    • testSelectBindOnly

      public void testSelectBindOnly()
    • 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
      Throws:
      RDFParseException
      RepositoryException
      IOException