Mercurial > repos > atsuko > sparql
comparison 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 |
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 ?id ?ssn | |
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:empId ?id } UNION { ?person ex:ssn ?ssn } | |
15 } | |
16 } |