4

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?

6

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 Aug 20 '17 at 7:27
  • @pir, I have updated my answer. – Stanislav Kralin Aug 20 '17 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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