[Developers] Bulk download from freebase
Colin Evans
colin at metaweb.com
Fri Oct 12 21:03:32 UTC 2007
Hi Kavitha,
Congratulations on getting this to work.
The major thing that you are missing are the literal values, which you
can get with these query clauses:
---
"t:/type/reflect/any_value":[{
"lang":null,
"link":{
"creator":null,
"master_property":null,
"timestamp":null
},
"optional":true,
"type":"/type/text",
"value":null
}],
"v:/type/reflect/any_value":[{
"link":{
"creator":null,
"master_property":null,
"timestamp":null
},
"optional":true,
"type":null,
"value":null
}]
---
Note that the first clause returns text strings and their languages, and
the second clause returns every literal (but no languages).
You may also want keys from the graph:
---
"/type/object/key":[{
"link":{
"creator":null,
"timestamp":null
},
"namespace":null,
"optional":true,
"value":null
}]
---
Good luck!
Colin
Kavitha Srinivas wrote:
> Hello
> We issued the following 2 queries -- one to get all the guids (guid
> query) and one to get all the links for a guid (per-guid query) and
> converted it into about 19 million RDF triples. We have about 35 HTTP
> 500 errors. Is it plausible that we have most of the dataset in
> Freebase? Or are we missing large chunks? Thanks!
>
> Kavitha
>
> /guid query:/
>
> [{ "guid":null }]
>
> /per-guid query: /
>
> [{ "/type/reflect/any_master":
> [{
> "guid":null,
> "link":{"master_property":
> {"name":null}
> },
> "optional":true
> }],
> "*":[],
> "guid": <guid>
> }]
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20071012/ff6da767/attachment.htm
More information about the Developers
mailing list