chdl-0009
Top 25 Works at CH
Ever wonder what the most popular works are at Carnegie Hall?
- Click a work title to see it’s CH performance history
- Click a composer’s name to see their Wikidata item
Lab Report
EXPERIMENT LABEL/TITLE
Top 25 Works at CH
TL;DR
Create a query to show the 25 most often performed works at Carnegie Hall, and create a user-friendly display.
-verbose
METHODS
We created a SPARQL query to return the composer name (plus their Wikidata Item ID), work title, and performance count of each work. By asking the query engine to sort the results in descending order and limiting the result set to the first 25 pattern matches, we can show the top 25 most often performed works:
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT DISTINCT ?composerName ?wikidataLink ?workTitle (COUNT(DISTINCT ?workPerf) AS ?numberOfPerformances)
WHERE {
?work dcterms:creator ?composer ;
rdfs:label ?workTitle .
?composer foaf:name ?composerName .
?event event:product ?workPerf .
?workPerf event:product ?work .
MINUS { ?composer foaf:name "Anonymous" . }
OPTIONAL { ?composer skos:exactMatch ?wikidataLink .
filter contains(str(?wikidataLink), "wikidata")}
}
GROUP BY ?composerName ?workTitle ?wikidataLink
ORDER BY DESC(?numberOfPerformances)
LIMIT 25
Note that for many earlier events, program listings were sometimes vague, or, since our archives weren’t established until 1986, we may have incomplete information, or may be missing the information altogether. Because of this, our database has many event records where works had to be recorded with “Anonymous” as the composer and work titles like “Unknown selection”. In order to filter out the relatively high number of such entries, we included a MINUS
pattern:
MINUS { ?composer foaf:name "Anonymous" . }
In fairness, the “high” number of Anonymous/Unknown selection entries is relative only to the kinds of numbers we see with often-performed works. When viewed in the context of ~100,000 musical works performed across 50,000+ events over 130 years, 500 or so instances of an unknown work is actually not very high, especially considering how often we aren’t in control of the quality of event information to which we have access.
CONCLUSIONS
what we learned
News flash: Chopin, Beethoven, and Brahms are popular 🙃! That Richard Wagner places so high might surprise modern audiences, since his works are not so often performed outside of the opera house anymore, but they were very popular during the first 50 years (1891 through the early 1940s) of the Hall’s history. That Tchaikovsky doesn’t appear until No. 22 is surprising, in some ways – but in other ways this shows us how the popularity of some composers (Wagner, Tchaikovsky) ebbs and flows more than others (Chopin, Beethoven, Brahms) whose popularity seems consistently high througout the years.
further investigation
It would be interesting to dig more deeply into the details to examine the year-by-year waxing and waning of the popularity of certain composers and works.