query-d350b198130da35014d7b3a3b58a3d4e
Schauspielhaus Productions without a “based on” statement). download the Schauspielhaus Repertoire in Excel format, which contains information about the author of the work (Repertoire of Schauspielhaus ZürichUse the example query below to identify performing arts productions which do not have a "based on" statement to indicate the literary work they were based on. Complement the statement based on the Hint: as its source.Repertoire of Schauspielhaus ZürichWhen adding the "based on" statement, make sure that you indicate the For advanced learners:Can you track the advancement of the work of your colleagues? – Run your query at different points in time and report the item count over time (create a small table below the sample queries).
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
WHERE
{
?item wdt:P31/wdt:P279* wd:Q43099500. # performing arts production
?item wdt:P276 wd:Q39918282. # location: Main stage of Schauspielhaus Zürich
MINUS { ?item wdt:P144 [] } # exclude if there is a "based on" statement
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,de,fr,it". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a2((" "))
a1((" "))
c3(["wd:Q43099500"]):::iri
c5(["wd:Q39918282"]):::iri
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en,de,fr,it"]):::literal
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P276"--> c5
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P144"--> a2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end