Matthew Nichols
Matthew Nichols

Reputation: 5035

How to search freebase for given names

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

Upvotes: 0

Views: 211

Answers (1)

Tom Morris
Tom Morris

Reputation: 10540

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"
}]

Upvotes: 1

Related Questions