How can I search Google Knowledge Graph for entries with a specific property?

旧街凉风 提交于 2019-12-04 13:28:59

问题


How should one formulate a search query for kgsearch.googleapis.com to find all entries in a given category? For example, if I wanted to search for things in the Schema.org category applicationCategory, how would I do it? Something like the following,

https://kgsearch.googleapis.com/v1/entities:search?query=c&types=applicationCategory&key=MYKEYHERE

results in an error ("Request contains an invalid argument"). Something like the following,

https://kgsearch.googleapis.com/v1/entities:search?query=c&types=Thing&key=MYKEYHERE

is not specific enough, and returns unrelated results.

来源:https://stackoverflow.com/questions/35326188/how-can-i-search-google-knowledge-graph-for-entries-with-a-specific-property

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!