query-6137e2f051175287b239bdbcdb509993
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 ?item ?itemLabel ?calligrapherLabel
WHERE {
?item wdt:P31 wd:Q87167 ;
wdt:P6819 ?calligrapher .
?calligrapher wdt:P31 wd:Q5 .
MINUS { ?calligrapher wdt:P106 wd:Q916292 } .
MINUS { ?calligrapher wdt:P106 wd:Q3303330 } .
MINUS { ?calligrapher wdt:P106 wd:Q3997704 } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?calligrapher")
v2("?item"):::projected
v1("?itemLabel"):::projected
c2(["wd:Q87167"]):::iri
c10(["bd:serviceParam"]):::iri
c7(["wd:Q3303330"]):::iri
c4(["wd:Q5"]):::iri
c8(["wd:Q3997704"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c6(["wd:Q916292"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P6819"--> v3
v3 --"wdt:P31"--> c4
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P106"--> c6
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P106"--> c7
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P106"--> c8
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end