query-b5623111dac1e9e6656b611098d59206
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?item ?itemLabel ?designation ?designationLabel WHERE
{
?item wdt:P1435 wd:Q19558910 .
?item p:P1435 ?name .
filter not exists {?name ps:P1435 []; pq:P2868 ?designation .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?designation"):::projected
v3("?item"):::projected
v1("?name")
a1((" "))
c4(["wd:Q19558910"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:statement/P1435"--> e0a1
e0v1 --"p:qualifier/P2868"--> e0v2
e0v2("?designation"):::projected
e0v1("?name"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
f0 --> c2
f0 --> v2
v1 --"p:statement/P1435"--> a1
v1 --"p:qualifier/P2868"--> v2
v3 --"p:direct/P1435"--> c4
v3 --"p:P1435"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end