summaryrefslogtreecommitdiff
path: root/test/DAWG/rdflib/bindscope2.rq
diff options
context:
space:
mode:
Diffstat (limited to 'test/DAWG/rdflib/bindscope2.rq')
-rw-r--r--test/DAWG/rdflib/bindscope2.rq9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/DAWG/rdflib/bindscope2.rq b/test/DAWG/rdflib/bindscope2.rq
new file mode 100644
index 00000000..1e825d21
--- /dev/null
+++ b/test/DAWG/rdflib/bindscope2.rq
@@ -0,0 +1,9 @@
+PREFIX s: <http://schema.org/>
+PREFIX x: <http://example.org/>
+
+SELECT ?s ?p ?o ?x
+WHERE {
+ ?x a s:Person .
+ { ?x ?p ?o . BIND (?x as ?s) } UNION
+ { ?s ?p ?x . BIND (?x as ?o) }
+}