query-31c2a266dbd7b08643241fc03cdb3dd8

rq turtle/ttl

List of theatre (venue) items with a field of work (P101) statement statements should be removed from the venue items. They may be applied to the related corporate body items instead. (P101)field of work All

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   ?item 
         ?itemLabel
WHERE 
{
  ?item wdt:P31/wdt:P279* wd:Q24354.
  ?item wdt:P101 ?value.
  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("?item"):::projected v2("?value") a1((" ")) c3(["wd:Q24354"]):::iri c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P101"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end