|
|
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
|
|
@prefix : <https://github.com/oxigraph/oxigraph/tests/sparql/lateral/manifest#> .
|
|
|
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
|
|
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
|
|
|
|
@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
|
|
|
|
@prefix ut: <http://www.w3.org/2009/sparql/tests/test-update#> .
|
|
|
|
|
|
|
|
<> rdf:type mf:Manifest ;
|
|
|
|
rdfs:label "Oxigraph OX_LATERAL feature SPARQL tests" ;
|
|
|
|
mf:entries
|
|
|
|
(
|
|
|
|
:subselect
|
|
|
|
:subselect_inside_optional
|
|
|
|
:subselect_implicit_aggregate
|
|
|
|
:subselect_explicit_aggregate
|
|
|
|
) .
|
|
|
|
|
|
|
|
:subselect rdf:type mf:QueryEvaluationTest ;
|
|
|
|
mf:name "Basic subselect OX_LATERAL test" ;
|
|
|
|
mf:action
|
|
|
|
[ qt:query <subselect.rq> ;
|
|
|
|
qt:data <basic_input.ttl> ] ;
|
|
|
|
mf:result <subselect.srx> .
|
|
|
|
|
|
|
|
:subselect_inside_optional rdf:type mf:QueryEvaluationTest ;
|
|
|
|
mf:name "Basic subselect OX_LATERAL test inside optional" ;
|
|
|
|
mf:action
|
|
|
|
[ qt:query <subselect_inside_optional.rq> ;
|
|
|
|
qt:data <basic_input.ttl> ] ;
|
|
|
|
mf:result <subselect_inside_optional.srx> .
|
|
|
|
|
|
|
|
:subselect_implicit_aggregate rdf:type mf:QueryEvaluationTest ;
|
|
|
|
mf:name "OX_LATERAL test with implicit aggregate" ;
|
|
|
|
mf:action
|
|
|
|
[ qt:query <subselect_implicit_aggregate.rq> ;
|
|
|
|
qt:data <basic_input.ttl> ] ;
|
|
|
|
mf:result <subselect_implicit_aggregate.srx> .
|
|
|
|
|
|
|
|
:subselect_explicit_aggregate rdf:type mf:QueryEvaluationTest ;
|
|
|
|
mf:name "OX_LATERAL test with explicit aggregate" ;
|
|
|
|
mf:action
|
|
|
|
[ qt:query <subselect_explicit_aggregate.rq> ;
|
|
|
|
qt:data <basic_input.ttl> ] ;
|
|
|
|
mf:result <subselect_explicit_aggregate.srx> .
|