[Developers] More information on '/type/reflect'
Sumit
shah.sumit at gmail.com
Wed May 7 19:05:48 UTC 2008
Hi,
Where can I find more reference on the '/type/reflect' properties i.e.
/type/reflect/any_master, /type/reflect/any_reverse and
/type/reflect/any_value. I see it being used in discussions and mailing
lists but was not able to find any info on these topics in the MQL tutorial
or the architecture/data model notes.
Here is a case/problem that I am trying to solve
- Given a person's name and related information like country of birth,
profession, etc. find its freebase id.
- The query should not rely on specific types like /location/country as the
place associated with a persons name could be a state or city or county too.
Same with profession, employers, etc.
After poking around into lists and discussions I tried the following query
which works, at least I think it is working. However I need to read up more
on the '/type/reflect' to be confident.
{
"query" : [
{
"/type/reflect/any_master" : [
{
"name" : "new zealand"
}
],
"id" : [],
"name" : "peter jackson",
"type" : "/people/person"
}
]
}
Thanks.
Sumit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080507/f87e22b8/attachment-0001.htm
More information about the Developers
mailing list