[Developers] Getting text language when reflecting

Philip Kendall philip-freebase at shadowmagic.org.uk
Sun Jul 19 18:08:43 UTC 2009


Hi.

I've got a query, an example of which looks something like:

{
  "id": "/guid/9202a8c04000641f800000000af4880f",
  "/type/reflect/any_value": [{
    "value": null,
    "link": {
      "master_property": {
        "id":       null,
        "schema|=": [
	  "/book/book_edition"
	]
      }
    }
  }]
}

That returns one property, /book/book_edition/ISBN and a value of
"1588467961". Is there any way I can simply extend the query to get the
language of that value as well?

In the general case there would be multiple schemas in the schema|=
clause, so I can't do the obvious type:"whatever","*":null.

(As an aside, perhaps more relevant on the data-modeling list, why is
the ISBN an internationalised string?)

Cheers,

Phil

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


More information about the Developers mailing list