[Developers] Difference between 2 querys

Scott Meyer sm at metaweb.com
Mon Dec 10 22:14:57 UTC 2007


Sebastian Kurt wrote:
> What I want is, category/domain of topics with "Art" in the name.

How's this:

{
  "query" : [
    {
      "name" : null,
      "name~=" : "art*",
      "type" : [],
      "type|=" : [
        "/freebase/domain_category",
        "/type/domain"
      ]
    }
  ]
}

|= is explained in section 3.2.20.1 in:

http://www.freebase.com/view/9202a8c04000641f800000000544e13e#id2616378

-Scott


More information about the Developers mailing list