[Developers] how to get geolocation for /business/company/headquarters?

Rob Warren solastyear at gmail.com
Sat Jan 10 03:58:52 UTC 2009


Hi there,

I am trying to get the geolocation for companies in
/base/bioventurist/science_or_technology_company.

With the mql query editor, I have been writing a query like this:

{
  "headquarters" : [
    {
      "*" : null,
      "optional" : true
    }
  ],

  "name" : "Amgen",
  "type" : "/business/company"
}

This query is not returning any of the /location/location properties, even
though the schema shows that /location/location is an inherited type.
What do i need to add/change in my mql query to access the geolocation
property and all it's subsequent values (lat, long etc.)?

Any suggestions as to what is wrong here would be greatly appreciated.

thx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20090109/0fb85491/attachment.htm 


More information about the Developers mailing list