[Developers] Bulk download from freebase
Kavitha Srinivas
ksrinivs at gmail.com
Mon Oct 15 14:01:40 UTC 2007
Hi Colin,
Could you tell us precisely what literals we are missing. Compared to
our "*":[], itseems like the only additional information these suggested
clauses ought to get is the language associated with text strings, but
perhaps we are misunderstanding something about the query language?
Thanks!
Kavitha
On Oct 12, 2007, at 5:03 PM, Colin Evans wrote:
> 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
>>
>
> _______________________________________________
> 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/20071015/e9048ba5/attachment-0001.htm
More information about the Developers
mailing list