Freebase Google数据转储搜索所有电影 [英] Freebase Google data dumps searching for all films
问题描述
我正在尝试使用Freebase数据转储。我试图通过搜索以film.film开头的谓词来获得电影ID。但是就这样,我得到了很多无关的物品。
这是一个例子:
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
film.film_character.portrayed_in_films_dubbed..film.dubbing_performance.film
这会带来此网址的ID:
which brings Id of this url:
这不是电影,而是电影中的角色。
有人可以帮我吗???
which is not a movie but a character in a movie. Can anybody help me please???
推荐答案
如果你做前缀搜索,你会得到任何与前缀匹配的内容。
If you do a prefix search, you're going to get anything which matches the prefix.
如果您需要IMDB ID,就像您的其他问题一样,您可以搜索:
If you want IMDB ids, like your other question, you could search for:
ns:type.object.key\t"/authority/imdb/title
如果您想要film类型的所有主题ID,您可以搜索:
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.
这篇关于Freebase Google数据转储搜索所有电影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!