Context: I would like to query premier performances of Beethoven’s compositions using WikiData. I have the individual pieces, but can’t seem to put them together correctly.
Pieces: The id for Beethoven is Q255. The id for all his works is Q24953042. There is a property called date of first performance (P1191), as seen here for Symphony #9 Symphony No. 9 - Wikidata.
First, I tried querying just the compositions of Beethoven with:
SELECT ?composition
WHERE {?composition wdt:P31 wd:Q24953042 .
SERVICE wikibase:label {
bd:serviceParam wikibase:language “en” .
}
}
However, that returned no results.
Then I noticed that compositions by Beethoven are their own category, so I tried
SELECT ?composition
WHERE {?composition wdt:P31 wd:Q7132900 .
SERVICE wikibase:label {
bd:serviceParam wikibase:language “en” .
}
}
which also didn’t return any results.
Can someone point out what I am doing wrong? Thanks!