[Developers] Incremental download

Sumit shah.sumit at gmail.com
Wed Jan 28 14:27:23 UTC 2009


Thanks Michele.
I see how one can apply the timestamp property as a condition. However when
I try the query below in query editor, I dont get any results.

Btw, will the timestamp condition apply to only new records i.e. topics
applied after the given timestamp, OR to records that were updated after the
timestamp as well?

Thanks again.
Sumit




On Tue, Jan 27, 2009 at 10:11 AM, Michele Berg <michele.r.berg at gmail.com>wrote:

> Hi Sumit,
>
> Below is a query that uses timestamp to limit the return values.  It's
> querying links from Cookie Monster, but it does demonstrate this usage of
> timestamp.  :)
>
> hth,
>
> Michele
>
> [
>   {
>     "creator" : null,
>     "master_property" : null,
>     "operation" : null,
>     "source" : {
>       "guid" : "#9202a8c04000641f8000000000099dce",
>       "timestamp" : null,
>       "type" : "/people/person"
>     },
>     "target" : {
>       "id" : null,
>       "optional" : true,
>       "type" : []
>     },
>     "target_value" : null,
>     "timestamp" : null,
>     "timestamp>=" : "2008-10-23T22:23:00.000Z",
>     "type" : "/type/link",
>     "valid" : null
>   }
> ]
>
>
> On Tue, Jan 27, 2009 at 8:59 AM, Sumit <shah.sumit at gmail.com> wrote:
>
>> Hi Freebasers,We have built a simple utility that downloads movies,
>> tv_shows, etc. from by a simple mql query. Now we need to update the info we
>> already have.
>> Can I specify a timestamp in MQL, as in, download all movies added or
>> updated after Jan 1st 2009? So that our simple tool will not have to
>> downloading all topics under movies again and check for the differential?
>>
>> Sumit
>>
>>
>>
>> _______________________________________________
>> 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/20090128/3b880faa/attachment-0001.htm 


More information about the Developers mailing list