Does anyone know the best way of getting Actor Ids from Freebase data dumps, and later on getting the IMDB ids and biographies from the Freebase API?
相关问题
- Google places autocomplete suggestion without coun
- Karate API Testing - Access variable value across
- How to verify laravel passport api token in node /
- Converting byte array output into Blob corrupts fi
- How to handle “App is temporarily blocked from log
相关文章
- 我用scrapy写了一个蛮简单的爬虫怎么封装成一个api啊
- 后端给前端的API接口是怎么用代码写的
- Convert C# Object to Json Object
- Android camera2 API get focus distance in AF mode
- Getting all listing images from an Etsy shop
- Is there an API to get statictics on Google Play d
- How to search specific user's tracks by tag wi
- Django REST Framework - OAuth2 Consumer API from e
Actors will have the type /film/actor and look like this in the dump:
You can find them all in a few minutes from the compressed dump with a simple grep:
This will generate a list of MIDs in the form
m.010q36
which represents the MID/m/010q36
.Using the list of MIDs, look for all lines which have that MID in the first column, one of your desired properties in the second. You could do this using Python, grep, or the tool/language of your choice. Of course if you're using a programming language like Python, you could roll the initial search.
Wikipedia and IMDB IDs are stored as what Freebase calls keys and look like this (MusicBrainz & Netflix included too):
Keys may be encoded (like the Wikipedia key above). You can find documentation on the Freebase wiki on how to deal with them.