[Developers] query for empty properties?
Kurt Bollacker
kurt at metaweb.com
Thu Aug 21 04:37:40 UTC 2008
On Wed, Aug 20, 2008 at 08:55:49PM -0700, Jason Douglas wrote:
> I want to get only the objects that don't have a specific property
> filled in (expected type is an object). Is there a way to do that?
>
> e.g., "property" : {"id" : null} limits to only those that *do* have a
> link for that property... but I want the opposite set.
Not with a single MQL query. You have to get all of the objects and
then (external to MQL) filter out the ones that have the property you
want to exclude.
You can directly query for objects that have a property with a value
not equal to a given value, but this is different than what you need.
Kurt :-)
> -jason
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list