Traqula
    Preparing search index...

    Function sparqlAlgebraTests

    • Yields algebra-level test cases from the static test fixtures. Each test provides a SPARQL query, expected algebra JSON, and optionally a canonical SPARQL string.

      Parameters

      • suite: AlgebraTestSuite

        The test suite to iterate.

      • blankToVariable: boolean

        Whether to use the blank-to-variable fixture variant.

      • getSPARQL: true

        Whether to load the SPARQL and canonical SPARQL strings.

      Returns Generator<algebraTestGen & { canonicalSparql: string; sparql: string }>

    • Yields algebra-level test cases from the static test fixtures. Each test provides a SPARQL query, expected algebra JSON, and optionally a canonical SPARQL string.

      Parameters

      • suite: AlgebraTestSuite

        The test suite to iterate.

      • blankToVariable: boolean

        Whether to use the blank-to-variable fixture variant.

      • getSPARQL: boolean

        Whether to load the SPARQL and canonical SPARQL strings.

      Returns Generator<algebraTestGen>