[Developers] MQL link history for primitives_live
John Giannandrea
jg at metaweb.com
Sun Jul 5 00:25:21 UTC 2009
> 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.
The problem is that the links with the older timestamp were replaced
with the latest one.
So you need to specify valid:false to see the older ones:
{
"type": "/freebase/user_activity",
"user": "/user/sprocketonline",
"primitives_live": null,
"old:primitives_live": {
"value": null,
"link": {
"valid": false,
"timestamp>": "2009-06-04",
"timestamp": null
},
"limit": 1
}
}
-jg
More information about the Developers
mailing list