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 1


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')

Try it!

Related queries

  • This sounds perfect! Is there something similar to MusicBrainz for authors/movie actors?
    – pir
    Commented Aug 20, 2017 at 7:27
  • @pir, I have updated my answer. Commented Aug 20, 2017 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.