Freebase Google data dumps searching for all films

匿名 (未验证) 提交于 2019-12-03 01:08:02

问题:

I am trying to work with Freebase data dumps. I try to get only the films Ids by searching the predicates that starts with "film.film". But like that I got alot of unrelated items. this is a predicate for example:

film.film_character.portrayed_in_films_dubbed..film.dubbing_performance.film

which brings Id of this url:

http://www.freebase.com/m/0pc731y

which is not a movie but a character in a movie. Can anybody help me please???

回答1:

If you do a prefix search, you're going to get anything which matches the prefix.

If you want IMDB ids, like your other question, you could search for:

ns:type.object.key\t"/authority/imdb/title

If you want all subject IDs of type film, you could search for:

rdf:type\tns:film\.film\.$

In other words, make your search expression match what you're trying to find.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!