5

I am using the python library rdflib to query Freebase for topics.

I found that the data returned by Freebase for topics are not complete. For instance, when I query:

http://rdf.freebase.com/rdf/en.barack_obama

The result does not contain data about place_of_birth although I can verify that the data exists when I use MQL to query for that property.

My question is: Can I rely on a query to the RDF service to return all the rdf triples for a given topic?

If not, is there a way to ensure I get all the triples?

Peter O.
  • 32,158
  • 14
  • 82
  • 96
user1748083
  • 137
  • 6

1 Answers1

4

Unfortunately the answer is no. Certain topics link to thousands of other topics in Freebase and our APIs would timeout if we didn't impose a limit on the number of triples returned. We're going to be releasing a complete RDF dump of Freebase in the near future. That will be the best way to get all the RDF data.

Shawn Simister
  • 4,613
  • 1
  • 26
  • 31
  • 1
    Take this as an authoritative answer: Shawn works @ Google / Freebase! Thanks, Shawn, for all that is you do on fb. – mjv Oct 19 '12 at 01:11
  • Thank you Shawn! Do you have an idea when the RDF dump will be available? In the meantime, would you recommend using MQL or the Topic API instead? Thanks. – user1748083 Oct 19 '12 at 01:24