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

Uploaded
author atsuko
date Thu, 25 Aug 2011 22:14:55 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7785ad38967f
1 PREFIX foaf: <http://xmlns.com/foaf/0.1/>
2 PREFIX ex: <http://example.org/things#>
3 SELECT ?name ?nick ?plan ?dept
4 WHERE
5 {
6 ?person
7 a foaf:Person;
8 foaf:name ?name .
9 GRAPH ?x {
10 [] foaf:name ?name;
11 foaf:nick ?nick
12 }
13 OPTIONAL {
14 ?person ex:healthplan ?plan
15 OPTIONAL { ?person ex:department ?dept }
16 }
17 }