[Developers] Freebase users on Google Maps: Better MQL?
Kurt Bollacker
kurt at metaweb.com
Fri May 11 18:53:52 UTC 2007
On Fri, May 11, 2007 at 04:33:33PM +0200, Will Moffat wrote:
> Next question: Is there a way to match an empty field?
>
> I can match user profiles with a geolocation with the query below. But
> how could I match users _without_ a geolocation? I could query all
> users and post-process but it seems like it would be more efficient if
> there was a MQL construct like "geolocation":undefined
You are asking for a general NOT operator, which MQL currently does
not have. This is not to say we won't add such a feature at some
point in the future. However, for now your best bet is to filter as
you suggest.
Kurt :-)
> thanks for your help,
> --Will
>
> Query to show users '*fi*' and their geolocation:
> [{
> "id":null,
> "limit":10,
> "location":[{
> "geolocation":{
> "latitude":null,
> "longitude":null
> },
> "name":null
> }],
> "name":null,
> "name~=":"*fi*",
> "type":"/freebase/user_profile"
> }]
More information about the Developers
mailing list