Libove Blog

Personal Blog about anything - mostly programming, cooking and random thoughts

Re: Wikipedia to follow new album releases

Reply to: https://jamesg.blog/2025/07/15/brainstorming-a-tool-to-follow-new-album-releases-with-wikipedia

You don't need to parse the data from the Wikipedia page, it is also available in Wikidata. However the data is not (always?) the same as in Wikipedia. For the example below the latest album was not linked yet (fixed now).

Example for Rise Against

SELECT ?album ?performerLabel ?albumLabel ?publication_date WHERE {
  VALUES ?performer {
      wd:Q246352
    }
   ?album wdt:P175 ?performer .
   ?album wdt:P31 wd:Q482994 .
   ?album wdt:P577 ?publication_date
   SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}