[Freebase-discuss] advanced top-level link query question
augusto callejas
acallejas at appliedminds.com
Mon Apr 5 17:32:16 UTC 2010
hi-
in the query below, i'm querying the "/people/person/children" property in my "source" query node:
===
[{
"type": "/type/link",
"source": {
"timestamp": null,
"id": "/en/tom_cruise",
"/people/person/children": []
},
"operation": null,
"master_property": null,
"timestamp": null,
"sort": "timestamp"
}]
===
results below indicate that the "source" results are queried as of now:
===
[
{
"master_property": "/type/object/permission",
"operation": "insert",
"source": {
"/people/person/children": [
"Suri Cruise",
"Isabella Jane Cruise",
"Connor Antony Cruise",
"Connor Anthony Cruise"
],
"id": "/en/tom_cruise",
"timestamp": "2006-10-22T09:28:09.0070Z"
},
"timestamp": "2006-10-22T09:28:09.0071Z",
"type": "/type/link"
}
]
===
is there a way for the results of "source" to be the state of the database as of the time of the link's timestamp?
there is the "as_of_time" envelope parameter, that wouldn't work in this case because "as_of_time" applies for
the entire query and i want it to be as of the time of each link's timestamp.
thanks,
augusto.
More information about the Freebase-discuss
mailing list