[Developers] Query editor 2.0

David Huynh david at metaweb.com
Wed Apr 22 18:52:40 UTC 2009


Ah, populations are dated numbers. Try

[{
  "id": "/en/new_york",
  "/location/statistical_region/population": [{
    "number": null
  }]
}]​

BTW, I got there by first inserting {} in between [], then hitting Tab, 
and picking "number".

David

David Dennis wrote:
> Love the new feature ideas!!!
>
> Unfortunately, a trial query for finding the population of New York 
> gave me nothing...
>
> Query:
>
> [{
>   "id":            "/en/new_york",
>   "/location/statistical_region/population": []
> }]​
>
> Result:
>
> {
> "code": "/api/status/ok",
> "result": [{
> "/location/statistical_region/population": [
> null,
> null
> ],
> "id": "/en/new_york"
> }],
> "status": "200 OK",
> "transaction_id": "cache;cache02.p01.sjc1:8101;2009-04-22T18:44:01Z;0009"
> }
>
> Any help?
>
> On Wed, Apr 22, 2009 at 2:21 PM, David Huynh <david at metaweb.com 
> <mailto:david at metaweb.com>> wrote:
>
>     Hi all,
>
>     We are releasing version 2 of our MQL query editor, with a substantial
>     number of new features:
>
>        http://www.freebase.com/app/queryeditor
>
>     Screencast and documentation are highly recommended to get a sense of
>     the new features:
>
>        http://www.freebase.com/app/queryeditor/about
>
>     Please try it out and give us feedback!
>
>     Cheers,
>
>     David
>
>     _______________________________________________
>     Developers mailing list
>     Developers at freebase.com <mailto:Developers at freebase.com>
>     http://lists.freebase.com/mailman/listinfo/developers
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>   



More information about the Developers mailing list