Mercurial > repos > atsuko > sparql
comparison sparql/sparql/test/dawg/data-r2/optional/.svn/text-base/q-opt-complex-1.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 SELECT ?person ?nick ?page ?img ?name ?firstN | |
3 { | |
4 ?person foaf:nick ?nick | |
5 OPTIONAL { ?person foaf:isPrimaryTopicOf ?page } | |
6 OPTIONAL { | |
7 ?person foaf:name ?name | |
8 { ?person foaf:depiction ?img } UNION | |
9 { ?person foaf:firstName ?firstN } | |
10 } FILTER ( bound(?page) || bound(?img) || bound(?firstN) ) | |
11 } |