diff sparql/sparql/test/dawg/data-r2/optional/.svn/text-base/q-opt-complex-2.rq.svn-base @ 0:7785ad38967f default tip

Uploaded
author atsuko
date Thu, 25 Aug 2011 22:14:55 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sparql/sparql/test/dawg/data-r2/optional/.svn/text-base/q-opt-complex-2.rq.svn-base	Thu Aug 25 22:14:55 2011 -0400
@@ -0,0 +1,16 @@
+PREFIX  foaf:   <http://xmlns.com/foaf/0.1/>
+PREFIX    ex:   <http://example.org/things#>
+SELECT ?id ?ssn
+WHERE 
+{ 
+    ?person 
+        a foaf:Person;
+        foaf:name ?name . 
+    GRAPH ?x { 
+        [] foaf:name ?name;
+           foaf:nick ?nick
+    } 
+    OPTIONAL { 
+        { ?person ex:empId ?id } UNION { ?person ex:ssn ?ssn } 
+    } 
+} 
\ No newline at end of file