Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.3 KiB
68 lines
2.3 KiB
@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 LATERAL feature SPARQL tests" ;
|
|
mf:entries
|
|
(
|
|
:subselect
|
|
:subselect_inside_optional
|
|
:subselect_outside_optional
|
|
:subselect_aggregate
|
|
:optional
|
|
:graph
|
|
:filter
|
|
:join
|
|
) .
|
|
|
|
:subselect rdf:type mf:QueryEvaluationTest ;
|
|
mf:name "Basic subselect 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 LATERAL test inside OPTIONAL" ;
|
|
mf:action
|
|
[ qt:query <subselect_inside_optional.rq> ;
|
|
qt:data <basic_input.ttl> ] ;
|
|
mf:result <subselect_inside_optional.srx> .
|
|
|
|
:subselect_outside_optional rdf:type mf:QueryEvaluationTest ;
|
|
mf:name "Basic subselect test inside LATERAL OPTIONAL" ;
|
|
mf:action
|
|
[ qt:query <subselect_outside_optional.rq> ;
|
|
qt:data <basic_input.ttl> ] ;
|
|
mf:result <subselect_outside_optional.srx> .
|
|
|
|
:subselect_aggregate rdf:type mf:QueryEvaluationTest ;
|
|
mf:name "LATERAL test with explicit aggregate" ;
|
|
mf:action
|
|
[ qt:query <subselect_aggregate.rq> ;
|
|
qt:data <basic_input.ttl> ] ;
|
|
mf:result <subselect_aggregate.srx> .
|
|
|
|
:optional rdf:type mf:QueryEvaluationTest ;
|
|
mf:name "LATERAL OPTIONAL test" ;
|
|
mf:action [ qt:query <optional.rq> ] ;
|
|
mf:result <simple.srx> .
|
|
|
|
:graph rdf:type mf:QueryEvaluationTest ;
|
|
mf:name "LATERAL GRAPH test" ;
|
|
mf:action [ qt:query <graph.rq> ] ;
|
|
mf:result <simple.srx> .
|
|
|
|
:filter rdf:type mf:QueryEvaluationTest ;
|
|
mf:name "LATERAL FILTER test" ;
|
|
mf:action [ qt:query <filter.rq> ] ;
|
|
mf:result <simple.srx> .
|
|
|
|
:join rdf:type mf:QueryEvaluationTest ;
|
|
mf:name "join in LATERAL test" ;
|
|
mf:action [ qt:query <join.rq> ] ;
|
|
mf:result <simple.srx> .
|
|
|