query-1f93ad6594579ee3cb3c76cb0fd9524f
TODO
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?award ?awardLabel {
?item wdt:P31 wd:Q5;
wdt:P21 wd:Q6581072;
wdt:P166 ?award .
FILTER( !ISBLANK( ?award ) ) .
MINUS { ?item ^schema:about/schema:inLanguage 'en' } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } .
} ORDER BY ?award
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?award"):::projected
v2("?item"):::projected
a1((" "))
c10(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c8(["en"]):::literal
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q6581072"]):::iri
f0[["not isBlank(?award)"]]
f0 --> v1
v2 --"wdt:P31"--> c2
v2 --"wdt:P21"--> c4
v2 --"wdt:P166"--> v1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
a1 --"schema:about"--> v2
a1 --"schema:inLanguage"--> c8
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end