I need to find a dataset of the twitter handles for as many artists, bands and movie stars as I can find. These twitter accounts do not have to be super famous. The most important thing is just that I can obtain the handles. Associated with the handles should be the name of the artist/band. For instance, it could be 'Justin Bieber = @justinbieber'. Does anyone know of a dataset like this?
1 Answer
Wikidata contains about 90 000 entries with Twitter username.
Also, Wikidata contains about 130 000 entries with MusicBrainz artist ID.
Intersecting these sets, one could retrieve about 17 000 twitter accounts of artists, bands etc.
SELECT ?agent ?agent_name ?twitter_username ?twitter WHERE {
?agent wdt:P2002 ?twitter_username .
?agent wdt:P434 ?musicbrainz_id .
?agent rdfs:label ?agent_name .
BIND (IRI(CONCAT('https://twitter.com/', ?twitter_username)) AS ?twitter)
FILTER (lang(?agent_name) = 'en')
}
Related queries
- Authors (wd:Q482980) with Twitter account: 20 000 results.
- Actors (wd:33999) with Twitter account: 23 000 results.
- Entities with IMDb ID (wdt:P345) and with Twitter account: 18 000 results.
-
This sounds perfect! Is there something similar to MusicBrainz for authors/movie actors?– pirAug 20, 2017 at 7:27
-