API

Zhishi.me provides an online API which has 4 query modes as illustrated below. Users can query the knowledge graph by sending HTTP request executed using the GET method.The results will be given in a Json string.

Query all knowledge of a given entity

Query all knowledge from a specific online encyclopedia of a given entity

There are 3 encyclopedias available to inquiry, they are: baidubaike, hudongbaike and zhwiki(i.e. Chinese Wikipedia).

Query all knowledge of an entity's given property

There are 10 properties available to inquiry, they are listed as below:
property explanation
abstracts Abstractions of the entity from Baidubaike, Hudongbaike and Chinese Wikipedia
infobox Infobox properties in an entity's corresponding online encyclopedia pages
category Categories of the entity's corresponding articles in Baidubaike, Hudongbaike and Chinese Wikipedia
externalLink Links to web pages outside the original website in an entity's corresponding online encyclopedia article
internalLink Links to web pages inside the original website in an entity's corresponding online encyclopedia article
labels Labels of the entity
relatedImage Related images in an entiy's corresponding online encyclopedia pages in Baidubaike,Hudongbaike and Chinese wikipedia
relatedPage Related pages in an entiy's corresponding online encyclopedia pages in Baidubaike,Hudongbaike and Chinese wikipedia
foaf:page The foaf:page of an entiy in Baidubaike,Hudongbaike and Chinese wikipedia
pageRedirects Redirects of the entity's corresponding pages in zhishi.me

Query all knowledge from a specific online encyclopedia of entity's given property

This query mode just combines the above three modes.



Last Modification: 2017-06-04