query-b10d0635dfe50e375b720ab35c26878c
Find all items described in Encyclopedia of Armenian Nature and missing an English label
SELECT ?item ?itemLabel WHERE { ?item wdt:P1343 wd:Q16387823 . filter not exists { ?item rdfs:label ?enlabel filter (lang(?enlabel) = "en") } . SERVICE wikibase:label { bd:serviceParam wikibase:language "hy" . } }
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#>
# Find all items described in Encyclopedia of Armenian Nature and missing an English label
SELECT ?item ?itemLabel WHERE {
?item wdt:P1343 wd:Q16387823 .
filter not exists { ?item rdfs:label ?enlabel filter (lang(?enlabel) = "en") } .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "hy" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?enlabel")
v2("?item"):::projected
c8(["hy"]):::literal
c6(["bd:serviceParam"]):::iri
c4(["wd:Q16387823"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?enlabel = 'en'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v1("?enlabel"):::projected
e0v2("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?enlabel = 'en'"]]
f1 --> v1
v2 --"rdfs:label"--> v1
v2 --"wdt:P1343"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end