Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PREFIX wd: <http://www.wikidata.org/entity/>
- PREFIX wdt: <http://www.wikidata.org/prop/direct/>
- PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
- PREFIX p: <http://www.wikidata.org/prop/>
- PREFIX v: <http://www.wikidata.org/prop/statement/>
- SELECT ?p ?w ?l ?wl WHERE {
- wd:Q30 p:P6/v:P6 ?p .
- ?p wdt:P26 ?w .
- OPTIONAL {
- ?p rdfs:label ?l filter (lang(?l) = "en") .
- }
- OPTIONAL {
- ?w rdfs:label ?wl filter (lang(?wl) = "en").
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement