Adds an extra test for queries with only a FILTER NOT EXISTS

pull/171/head
Tpt 4 years ago
parent 7f5f7dae65
commit 7226bf384f
  1. 8
      testsuite/oxigraph-tests/sparql/manifest.ttl
  2. 1
      testsuite/oxigraph-tests/sparql/single_not_exists.rq
  3. 7
      testsuite/oxigraph-tests/sparql/single_not_exists.srx

@ -11,6 +11,7 @@
:describe :describe
:describe_where :describe_where
:group_concat_with_null :group_concat_with_null
:single_not_exists
) . ) .
:describe rdf:type mf:QueryEvaluationTest ; :describe rdf:type mf:QueryEvaluationTest ;
@ -34,3 +35,10 @@
[ qt:query <group_concat_with_null.rq> ; [ qt:query <group_concat_with_null.rq> ;
qt:data <group_concat_with_null.ttl> ] ; qt:data <group_concat_with_null.ttl> ] ;
mf:result <group_concat_with_null.srx> . mf:result <group_concat_with_null.srx> .
:single_not_exists rdf:type mf:QueryEvaluationTest ;
mf:name "query with only a FILTER NOT EXISTS" ;
mf:action
[ qt:query <single_not_exists.rq> ;
qt:data <describe_input.ttl> ] ;
mf:result <single_not_exists.srx> .

@ -0,0 +1 @@
SELECT * WHERE { FILTER NOT EXISTS { ?s ?p ?o } }

@ -0,0 +1,7 @@
<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
<head>
</head>
<results>
</results>
</sparql>
Loading…
Cancel
Save