[Developers] Having trouble with a query

Dae Park daepark at metaweb.com
Sat Jun 16 03:00:38 UTC 2007


When your using the constraints syntax (~=, <, >, <=, and >=  
operators) you must also ask for the thing that your constraining on.  
Try:

{
   "query":[{
     "/business/retail_location/hours":[{
       "hour_end":null,
       "hour_end>=":"15:00",
       "weekday_start":"Saturday"
     }],
     "limit":4,
     "name":null,
     "sort":"name"
   }]
}

For more help on pattern matching and constraints:

http://www.freebase.com/view/documentation/ch03.html#id2614666


-dae


On Jun 15, 2007, at 7:44 PM, Norbauer Alan wrote:

> {
>    "query":[{
>      "/business/retail_location/hours":[{
>        "hour_end>=":"15:00",
>        "weekday_start":"Saturday"
>      }],
>      "limit":4,
>      "name":null,
>      "sort":"name"
>    }]
> }



More information about the Developers mailing list