[Developers] MQL newbie question
Kavitha Srinivas
ksrinivs at gmail.com
Tue Sep 11 03:25:35 UTC 2007
Hi,
I'm experimenting with MQL, and decided to try the query:
{
"qname": {
"query": [{
"type":"/film/film",
"name~=":"The Usual Suspects",
"*":null
}]
}
}
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
Kavitha
------------------------------------------------------------------------
----------------------------------
({
"status": "200 OK",
"code": "/api/status/ok",
"qname": {
"code": "/api/status/ok",
"result": [
{
"personal_appearances": [],
"rating": [],
"key": [
"167857",
"The_Usual_Suspects",
"Usual_Suspects",
"Verbal_Kint",
"Roger_Kint",
"the_usual_suspects",
"The_Usual_Suspects_$0028film$0029"
],
"creator": "/user/metaweb",
"locations": [],
"guid": "#9202a8c04000641f80000000001337ab",
"id": "/topic/en/the_usual_suspects",
"film_format": [],
"produced_by": [
"Michael McDonnell",
"Bryan Singer"
],
"name": "The Usual Suspects",
"cinematography": [],
"subjects": [],
"music": [
"John Ottman"
],
"poster": [
null
],
"type": "/film/film",
"edited_by": [],
"initial_release_date": [
"1995-08-16"
],
"permission": "/boot/all_permission",
"timestamp": "2006-10-22T12:35:48.0011Z",
"sequel": [],
"imdb_id": [
"http://www.imdb.com/title/tt0114814"
],
"soundtrack": [],
"estimated_budget": [
null
],
"awards": [
null
],
"written_by": [
"Christopher McQuarrie"
],
"starring": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"genre": [
"Crime",
"Mystery",
"Thriller"
],
"story_by": [],
"featured_film_locations": [],
"film_series": [],
"language": [
"English"
],
"country": [],
"dubbing_performances": [],
"directed_by": [
"Bryan Singer"
],
"film_collections": [],
"nominations": [],
"runtime": [
null
],
"prequel": []
},
{
"personal_appearances": [],
"rating": [],
"key": [],
"creator": "/user/cg",
"locations": [],
"guid": "#9202a8c04000641f80000000042b08bd",
"id": "#9202a8c04000641f80000000042b08bd",
"film_format": [],
"produced_by": [],
"name": "the usual suspects",
"cinematography": [],
"subjects": [],
"music": [],
"poster": [],
"type": "/film/film",
"edited_by": [],
"initial_release_date": [],
"permission": "/boot/all_permission",
"timestamp": "2007-03-14T22:48:08.0000Z",
"sequel": [],
"imdb_id": [],
"soundtrack": [],
"estimated_budget": [],
"awards": [],
"written_by": [],
"starring": [],
"genre": [],
"story_by": [],
"featured_film_locations": [],
"film_series": [],
"language": [],
"country": [],
"dubbing_performances": [],
"directed_by": [],
"film_collections": [],
"nominations": [],
"runtime": [],
"prequel": []
}
]
}
})
More information about the Developers
mailing list