tests/sparql/part1/dawg-query-003.rq
raw| 1 | # Get names and mboxes, each of which may be optional. |
| 2 | |
| 3 | PREFIX foaf: <http://xmlns.com/foaf/0.1/> |
| 4 | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> |
| 5 | |
| 6 | SELECT ?name ?mbox |
| 7 | WHERE |
| 8 | { |
| 9 | { ?person rdf:type foaf:Person } . |
| 10 | OPTIONAL { ?person foaf:name ?name } . |
| 11 | OPTIONAL {?person foaf:mbox ?mbox} . |
| 12 | } |