Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/database/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google api 为什么GoogleKnowledgeGraphAPI不返回我知道有GoogleKnowledgePanel的企业?_Google Api_Google Knowledge Graph - Fatal编程技术网

Google api 为什么GoogleKnowledgeGraphAPI不返回我知道有GoogleKnowledgePanel的企业?

Google api 为什么GoogleKnowledgeGraphAPI不返回我知道有GoogleKnowledgePanel的企业?,google-api,google-knowledge-graph,Google Api,Google Knowledge Graph,我试图通过编程来确定某家公司是否有谷歌知识面板。例如,当我在谷歌搜索“Aeronaut Brewing company”公司时,我会看到一个侧边栏,显示该公司的相关信息。这称为知识面板。Google的knowledge graph api应该会返回这些信息,对于aeronaut来说,它会: 然而,我注意到很多拥有知识面板的公司并没有出现在google知识图api中。例如: Affton Chamber of Commerce在google()上有一个侧栏,但google知识图搜索返回时只显示以

我试图通过编程来确定某家公司是否有谷歌知识面板。例如,当我在谷歌搜索“Aeronaut Brewing company”公司时,我会看到一个侧边栏,显示该公司的相关信息。这称为知识面板。Google的knowledge graph api应该会返回这些信息,对于aeronaut来说,它会:

然而,我注意到很多拥有知识面板的公司并没有出现在google知识图api中。例如:

Affton Chamber of Commerce在google()上有一个侧栏,但google知识图搜索返回时只显示以下JSON(基本上是空的):

发生什么事了?google knowledge graph API不应该包含所有在google上有知识面板的东西吗?

Affton商会的MID(机器生成的标识符,也称为google knowledge graph ID)是
/g/1hg4ww6pq
()。与源于Freebase的以
/m/
开头的实体不同,
/g/
实体是Google的内部实体,不会通过知识图API公开

@context    
@vocab  "http://schema.org/"
goog    "http://schema.googleapis.com/"
EntitySearchResult  "goog:EntitySearchResult"
detailedDescription "goog:detailedDescription"
kg  "http://g.co/kg"
@type   "ItemList"
itemListElement []