From 7226bf384f683edd525bc2c381e969b38e5ff918 Mon Sep 17 00:00:00 2001 From: Tpt Date: Wed, 19 May 2021 07:09:50 +0200 Subject: [PATCH] Adds an extra test for queries with only a FILTER NOT EXISTS --- testsuite/oxigraph-tests/sparql/manifest.ttl | 8 ++++++++ testsuite/oxigraph-tests/sparql/single_not_exists.rq | 1 + testsuite/oxigraph-tests/sparql/single_not_exists.srx | 7 +++++++ 3 files changed, 16 insertions(+) create mode 100644 testsuite/oxigraph-tests/sparql/single_not_exists.rq create mode 100644 testsuite/oxigraph-tests/sparql/single_not_exists.srx diff --git a/testsuite/oxigraph-tests/sparql/manifest.ttl b/testsuite/oxigraph-tests/sparql/manifest.ttl index 3f7a94c1..b2565abe 100644 --- a/testsuite/oxigraph-tests/sparql/manifest.ttl +++ b/testsuite/oxigraph-tests/sparql/manifest.ttl @@ -11,6 +11,7 @@ :describe :describe_where :group_concat_with_null + :single_not_exists ) . :describe rdf:type mf:QueryEvaluationTest ; @@ -34,3 +35,10 @@ [ qt:query ; qt:data ] ; mf:result . + +:single_not_exists rdf:type mf:QueryEvaluationTest ; + mf:name "query with only a FILTER NOT EXISTS" ; + mf:action + [ qt:query ; + qt:data ] ; + mf:result . diff --git a/testsuite/oxigraph-tests/sparql/single_not_exists.rq b/testsuite/oxigraph-tests/sparql/single_not_exists.rq new file mode 100644 index 00000000..162b6d6a --- /dev/null +++ b/testsuite/oxigraph-tests/sparql/single_not_exists.rq @@ -0,0 +1 @@ +SELECT * WHERE { FILTER NOT EXISTS { ?s ?p ?o } } \ No newline at end of file diff --git a/testsuite/oxigraph-tests/sparql/single_not_exists.srx b/testsuite/oxigraph-tests/sparql/single_not_exists.srx new file mode 100644 index 00000000..57b7a6fd --- /dev/null +++ b/testsuite/oxigraph-tests/sparql/single_not_exists.srx @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file