[Developers] How do you ask MQL to get a count of the number of available results?

Coral Link corallink at gmail.com
Sat Jan 5 22:47:34 UTC 2008


Hi, we're trying to ask freebase how many topics of a particular type exist.
Below is what we tried, but it doesn't work - is this even available?

{
  "query" : [
    {
      "count" : null,
      "type" : "/user/corallink/default_domain/underwater_location"
    }
  ]
}

The workaround would be be to query and then count on the client side, but
that can potentially be wasteful from a bandwidth point of view.

Thanks,
Indy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080105/22b13c7b/attachment.htm 


More information about the Developers mailing list