diff --git a/sparql/sparql10/graph/graph-empty-exist.rq b/sparql/sparql10/graph/graph-empty-exist.rq new file mode 100644 index 00000000..88701f1c --- /dev/null +++ b/sparql/sparql10/graph/graph-empty-exist.rq @@ -0,0 +1 @@ +SELECT * { GRAPH {} } diff --git a/sparql/sparql10/graph/graph-empty-exist.ttl b/sparql/sparql10/graph/graph-empty-exist.ttl new file mode 100644 index 00000000..42ef2cd2 --- /dev/null +++ b/sparql/sparql10/graph/graph-empty-exist.ttl @@ -0,0 +1,5 @@ +@prefix rs: . +@prefix rdf: . + +[] rdf:type rs:ResultSet ; + rs:solution [] . diff --git a/sparql/sparql10/graph/graph-empty-not-exist.rq b/sparql/sparql10/graph/graph-empty-not-exist.rq new file mode 100644 index 00000000..13cf137c --- /dev/null +++ b/sparql/sparql10/graph/graph-empty-not-exist.rq @@ -0,0 +1,3 @@ +PREFIX ex: + +SELECT * { GRAPH ex:unknown {} } diff --git a/sparql/sparql10/graph/graph-empty-not-exist.ttl b/sparql/sparql10/graph/graph-empty-not-exist.ttl new file mode 100644 index 00000000..0718aefc --- /dev/null +++ b/sparql/sparql10/graph/graph-empty-not-exist.ttl @@ -0,0 +1,4 @@ +@prefix rs: . +@prefix rdf: . + +[] rdf:type rs:ResultSet . \ No newline at end of file diff --git a/sparql/sparql10/graph/index.html b/sparql/sparql10/graph/index.html index 2d9ab6a2..4dfac878 100644 --- a/sparql/sparql10/graph/index.html +++ b/sparql/sparql10/graph/index.html @@ -384,7 +384,7 @@

-

Graph with empty BGP: list all named graphs

+

Variable graph with empty BGP: list all named graphs

type
@@ -402,6 +402,60 @@

+
+ + graph-exist: + + graph-exist + graph-exist +
+
+
+

Set graph with empty BGP: returns an empty tuple because the graph exists

+
+
+
type
+
mf:QueryEvaluationTest
+
approval
+
+
action
+
+
+
+
+
result
+
+ graph-empty-exist.ttl +
+
+
+
+ + graph-not-exist: + + graph-not-exist + graph-not-exist +
+
+
+

Set graph with empty BGP: returns an empty tuple because the graph exists

+
+
+
type
+
mf:QueryEvaluationTest
+
approval
+
+
action
+
+
+
+
+
result
+
+ graph-empty-not-exist.ttl +
+
+