query-b68942fe64782e30ec6af9297261a851
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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?include ?includeLabel
WHERE {
VALUES ?exclude {
wd:Q3101398
wd:Q2505245
} .
wd:Q36322 wdt:P3373 ?include .
MINUS { wd:Q36322 wdt:P3373 ?exclude } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?exclude")
v2("?include"):::projected
c1(["wd:Q36322"]):::iri
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?exclude/]
bind0-->v1
bind00(["wd:Q3101398"])
bind00 --> bind0
bind01(["wd:Q2505245"])
bind01 --> bind0
c1 --"wdt:P3373"--> v2
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
c1 --"wdt:P3373"--> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end