[Developers] MQL link history for primitives_live

Jason Douglas jason at metaweb.com
Sat Jul 4 22:05:25 UTC 2009


I think the easiest route is to just use the as_of_time query envelope  
parameter (in the Envelope tab at the bottom of query editor):

	http://tinyurl.com/lcuu4t

30K since June 1... not bad.  :-)

-jason



On Jul 4, 2009, at 1:49 PM, Iain Sproat wrote:

> I'm trying to get the history of user primitive count. I've got the  
> below query which gets my current primitive count, if the value of  
> timestamp is null.
> My guess with specifying a timestamp value doesn't seem to work.
> How do go about tweaking this to get my primitive count as_of a  
> month ago?
>
> [{
>   "type":          "/type/link",
>   "master_property": "/freebase/user_activity/primitives_live",
>   "source": {
>     "type": "/freebase/user_activity",
>     "user": {
>       "id": "/user/sprocketonline"
>     }
>   },
>   "target_value": {
>     "type":  null,
>     "value": null
>   },
>   "filter:target_value>": 1000,
>   "timestamp":    {"value":"2009-06-04T00:00:00.000Z"}
> }]
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers



More information about the Developers mailing list