query-a25595fb51880166d6b6a0c78a43e3b2
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 ?imdb {
{ SELECT ?item ?imdb WHERE {
?item wdt:P345 ?imdb.
?item wdt:P31 wd:Q5.
} limit 200000 } filter not exists { ?item rdfs:label ?lang_label. FILTER(LANG(?lang_label) = "en")}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?imdb"):::projected
v2("?item"):::projected
v1("?lang_label")
c5(["wd:Q5"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?lang_label = 'en'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v2("?item"):::projected
e0v1("?lang_label"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?lang_label = 'en'"]]
f1 --> v1
v2 --"rdfs:label"--> v1
v2 --"wdt:P345"--> v3
v2 --"wdt:P31"--> c5