query-6404d85af85c173302806df87fdeb032
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
?item wdt:P39 wd:Q16707842 .
?item wdt:P1816 [ ]
OPTIONAL { ?item wdt:P18 ?dummy0 }
FILTER(!bound(?dummy0))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dummy0")
v2("?item"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c2(["wd:Q16707842"]):::iri
c8(["en"]):::literal
f0[["not bound(?dummy0)"]]
f0 --> v1
v2 --"wdt:P39"--> c2
v2 --"wdt:P1816"--> a1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P18".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end