query-36b2ed0795f5d371d4ce0b2fbeaffc57
Suche nach fehlenden deutschen Labels in Tolkiens Universum SELECT ?item ?itemDescription WHERE { ?item wdt:P1080 wd:Q81738. SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,fr,nl,it,es,no,pt". } FILTER(NOT EXISTS { ?item rdfs:label ?lang_label. FILTER((LANG(?lang_label)) = "de") }) } ORDER BY (?itemLabel)
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Suche nach fehlenden deutschen Labels in Tolkiens Universum
SELECT ?item ?itemDescription WHERE {
?item wdt:P1080 wd:Q81738.
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,fr,nl,it,es,no,pt". }
FILTER(NOT EXISTS {
?item rdfs:label ?lang_label.
FILTER((LANG(?lang_label)) = "de")
})
}
ORDER BY (?itemLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v1("?itemLabel")
v2("?lang_label")
c4(["wd:Q81738"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["de,en,fr,nl,it,es,no,pt"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?lang_label = 'de'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v2("?item"):::projected
e0v1("?lang_label"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> v3
f0 --> c2
f1[["?lang_label = 'de'"]]
f1 --> v2
v3 --"rdfs:label"--> v2
v3 --"wdt:P1080"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end