[Developers] MQL newbie question
John Giannandrea
jg at metaweb.com
Tue Sep 11 05:41:59 UTC 2007
Kavitha Srinivas wrote:
> in the query editor. I do get a response, but its not one I expected.
> Here's what I get -- notice the lack of information about awards, or
> about performances, both of which have entries when I pull up this
> object in the web page. What am I doing wrong? Thanks
Hi
There were two problems here, we had a second film which was
not the right one, which I have removed.
To se the performances and awards, you have to look one ply
out into the 'compound value types' that model these things.
For example:
{
"query":[{
"*":[{}],
"name":"The Usual Suspects",
"type":"/film/film"
}]
}
The schema for a film performance is here:
http://www.freebase.com/view/schema/film/performance
So to get a list of those, something like this would work:
{
"query":[{
"name":"The Usual Suspects",
"starring":[{
"actor":null,
"part":null
}],
"type":"/film/film"
}]
}
-jg
More information about the Developers
mailing list