[Developers] Getting text language when reflecting

Philip Kendall philip-freebase at shadowmagic.org.uk
Mon Jul 20 09:07:18 UTC 2009


On Sun, Jul 19, 2009 at 09:22:24PM +0100, Philip Kendall wrote:
> 
> I think I can do what I'm after with two clauses, one with
> "type":"/type/text" and one with "type":{"id":"/type/text",
> optional":"forbidden"} if there's no better way.

Or maybe not...

{
  "id": "/en/philip_kendall",
  "/type/reflect/any_value": [{
    "type": {
      "id":       "/type/text",
      "optional": "forbidden"
    }
  }]
}

Response:

"message": "value field 'type' must be null or a value"

Is the only way to do this to filter the results post-MQL?

Cheers,

Phil

-- 
  Philip Kendall <philip at shadowmagic.org.uk>
  http://www.shadowmagic.org.uk/


More information about the Developers mailing list