Question

Context: I am geek but brand new to the Freebase APIs.

I found this page describing Given Name type on Freebase and have tried to query it and am meeting with frustration. I have tried:

[{
   "domain": "/base/givennames",
   "given_name": null
}]

which gives a "Type /type/object does not have property domain" error and

[{
   "type": "/givennames",
   "given_name": null
}]

which gives an "Unable to load schema for /givennames" error.

I am guessing that I am missing something important on the page describing the type. Any assistance is appreciated.

Matthew

Was it helpful?

Solution

The "Build Query" menu option on the far right hand side of the schema page is a good way to get started with queries. In this case you want something like this:

[{
  "id": null,
  "name": null,
  "type": "/base/givennames/given_name"
}]
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top