query-a2bfbfc4b0fc130a33416e64b363239d

rq turtle/ttl

TODO

Use at

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 {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  VALUES ?occupation { wd:Q916292 wd:Q3303330 wd:Q3997704 }
  ?item wdt:P31 wd:Q87167 ;
        wdt:P6819 ?calligrapher .
  ?calligrapher wdt:P31 wd:Q5 .
  FILTER NOT EXISTS { ?calligrapher wdt:P106 ?occupation }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?calligrapher") v3("?item"):::projected v3("?occupation") c3(["bd:serviceParam"]):::iri c7(["wd:Q87167"]):::iri c9(["wd:Q5"]):::iri c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P106"--> e0v2 e0v1("?calligrapher"):::projected e0v2("?occupation"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v3 v1 --"wdt:P106"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end bind1[/VALUES ?occupation/] bind1-->v3 bind10(["wd:Q916292"]) bind10 --> bind1 bind11(["wd:Q3303330"]) bind11 --> bind1 bind12(["wd:Q3997704"]) bind12 --> bind1 v3 --"wdt:P31"--> c7 v3 --"wdt:P6819"--> v1 v1 --"wdt:P31"--> c9