query-82105545c14e2c5635cb2ed2abee2910
DenonymI need help completing this query:
Use at
- https://query.wikidata.org/sparql
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 p: <http://www.wikidata.org/prop/>
SELECT ?kitchen ?kitchenLabel ?denonym
{
?kitchen wdt:P31 wd:Q1968435.
?kitchen wdt:P17 ?country.
?country p:P1549 ?denonymstat.
FILTER NOT EXISTS {?kitchen rdfs:label ?kitchenLabel filter (lang(?kitchenLabel) = "he")} .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?country")
v4("?denonymstat")
v2("?kitchen"):::projected
v1("?kitchenLabel"):::projected
c4(["wd:Q1968435"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?kitchenLabel = 'he'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v2("?kitchen"):::projected
e0v1("?kitchenLabel"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?kitchenLabel = 'he'"]]
f1 --> v1
v2 --"rdfs:label"--> v1
v2 --"p:direct/P31"--> c4
v2 --"p:direct/P17"--> v3
v3 --"p:P1549"--> v4