Mercurial > repos > atsuko > sparql
view 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 source
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 } } }