[Developers] <= broken?

David Flanagan david at davidflanagan.com
Thu Apr 24 19:27:31 UTC 2008


Christine Weibel wrote:
> Hi, Arthur.  I think your properties need labels.
> 
> this query:
> {
>   "query" : [
>     {
>       "a:popularity" : null,
>       "b:popularity>=" : 99,
>       "c:popularity<=" : 100,
>       "id" : null,
>       "name" : null,
>       "type" : "/user/cotton/default_domain/editorial_comment"
>     }
>   ]
> }

This seems like a bug to me.  My understanding of property prefixes is 
that they are purely a way to sidestep the requirement that an object 
cannot have two properties of the same name.  Since popularity, 
popularity>= and popularity<= are all different, I can't see why the 
query should behave differently with and without prefixes.

If this is not a bug, then I need to echo Arthur's question--"what are 
the semantics"--so that I can document this.

	David

> did return two results:
> {
>   "code" : "/api/status/ok",
>   "result" : [
>     {
>       "a:popularity" : 100,
>       "id" : "/guid/9202a8c04000641f8000000007419ec6",
>       "name" : "ZSI on Amplify SD",
>       "type" : "/user/cotton/default_domain/editorial_comment"
>     },
>     {
>       "a:popularity" : 100,
>       "id" : "/guid/9202a8c04000641f80000000076e046a",
>       "name" : "ZSI on Best of YouTube",
>       "type" : "/user/cotton/default_domain/editorial_comment"
>     }
>   ]
> }
> 
> 
> ----- Original Message -----
> From: "Arthur van Hoff" <AVH at zing.net>
> To: "For discussions about MQL, Freebase API and apps built on Freebase" <developers at freebase.com>
> Sent: Wednesday, April 23, 2008 10:23:26 PM (GMT-0800) America/Los_Angeles
> Subject: [Developers] <= broken?
> 
> _______________________________________________
> Developers mailing list
> 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