query-713d294f8584ee78a3fbcfec3f9ce187
TODO
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#>
SELECT ?item ?label_main WHERE {
?item wdt:P31 wd:Q4167836; wdt:P301 ?main_topic .
FILTER NOT EXISTS {?item rdfs:label ?label_cat filter(lang(?label_cat) = "he") }.
?main_topic rdfs:label ?label_main filter(lang(?label_main) = "he") .
}
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v2("?label_cat")
v1("?label_main"):::projected
v4("?main_topic")
c4(["wd:Q4167836"]):::iri
f0[["?label_main = 'he'"]]
f0 --> v1
f1[["not "]]
subgraph f1e0["Exists Clause"]
e0f0[["?label_cat = 'he'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v2("?item"):::projected
e0v1("?label_cat"):::projected
end
f1--EXISTS--> f1e0
f1 --> v2
f1 --> v3
f1 --> c2
f2[["?label_cat = 'he'"]]
f2 --> v2
v3 --"rdfs:label"--> v2
v3 --"wdt:P31"--> c4
v3 --"wdt:P301"--> v4
v4 --"rdfs:label"--> v1