Thursday, 27 June 2019

What schema.org types does google knowledge graph api support?

I am trying to run a query on the Google Knowledge Graph API to find the Python programming language and am having trouble specifying a type of ComputerLanguage or programmingLanguage. These are both valid schema.org types, but I receive a 400 error:

{
  "error": {
    "code": 400,
    "message": "Request contains an invalid argument.",
    "status": "INVALID_ARGUMENT"
  }
}

I can't find any list of the types that Google Knowledge Graph API accepts. Am I specifying the type wrong, and is there a list of valid types somewhere?

Thanks!



from What schema.org types does google knowledge graph api support?

No comments:

Post a Comment