[Developers] sort by count
Christine Weibel
xtine at metaweb.com
Mon Aug 11 17:25:41 UTC 2008
Nope - there's currently a bug open on it. MQL-56.
----- Original Message -----
From: "Jack Alves" <jack.alves at gmail.com>
To: developers at freebase.com
Sent: Sunday, August 10, 2008 5:28:20 PM (GMT-0800) America/Los_Angeles
Subject: [Developers] sort by count
Is there a way to sort by count? I tried using return even though it
is not legal to sort by directive,
"sort" : "film.return"
I am only interested in the top 10 counts. I would query all then copy
to a spreadsheet for counting but the query returns more than 1000
results. I am able to get a result if I specify an
initial_release_date greater than 1940.
Here's my query,
[
{
"film" : [
{
"film" : [
{
"awards_won" : [
{
"award" : [
{
"name" : null,
"name~=" : "*academy award*"
}
]
}
],
"name" : null,
"type" : "/award/award_winning_work"
}
],
"return" : "count",
"type" : "/film/performance"
}
],
"name" : null, "limit":1000,
"type" : "/film/actor"
}
]
_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list