[Developers] Incremental download
Faye Harris
faye at metaweb.com
Wed Jan 28 19:13:28 UTC 2009
Sumit wrote:
> 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.
Please retry the query without the following constraint:
"type" : "/people/person"
Cookie Monster is not a /people/person, but a
/fictional_universe/fictional_character. Once the mistyping was fixed,
the condition as specified in the query no longer held. Thus you got no
results.
-- Faye
>
> 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 <mailto: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
> <mailto: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 <mailto: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
>
More information about the Developers
mailing list