Page 95 - JOURNAL OF LIBRARY SCIENCE IN CHINA 2018 Vol. 42
P. 95
094 Journal of Library Science in China, Vol. 8, 2016
API and conduct the conversion between two chronologies by simply register an API Key on the
website. The following is the API invocation method of inputting Ming dynasty and returning to
the starting year of Ming Dynasty:
http://data.library.sh.cn/time/data/明?key=yourAPIKey,返回数据为:“1368-1644”
In addition, the “Geographical Name Glossary” describes the family’s living place name and the
“Organizations Directory” locates the collection organizations of the genealogy. These data in The
General Catalog of Chinese Genealogies are taken as the paper reference index with vocabulary
only. For the purpose of making better use of this geographical information, we made a further
supplement. For example, for the word “Shanghai”, we added information such as “country”,
“administrative region” and its “longitude & latitude”. Moreover, we added “full name” ,
“abbreviation” and “address” for its collection organization. Thus the function of locating it on the
map can be realized and the associated relationship between data in terms of geographic latitude
will be enriched. To better realize the purpose of openness and association of data on the internet,
these datasets are released to the public in the form of linked open data.
3.2 Open access to genealogy data
The data in the genealogy knowledge services platform are differentiated by the entities such
as surname, ancestor or celebrity, clan temple title, family’s living place name, collection
organization, genealogy bibliographic data (such as title, creator, compiling time, edition
information, and collection information) . Among them, place name and collection organization
are extracted from metadata and released as public datasets after standardization and supplement.
These data depend on the genealogy knowledge services platform and are based on The General
Catalog of Chinese Genealogies. They take in the knowledge from experts in this field and update
constantly. These updated and recognized data by experts will manifest themselves in the open data
in real time. Moreover, these data can be shared and used by the whole society and new service can
be created without invading personal privacy and violating laws and regulations.
The open access to genealogy data is through the website “http://data.library.sh.cn” and is based
on technologies such as Http URI content negotiation, Restful API, Sqarql Endpoint. Developers
can attain the genealogy data on the platform by using Http URI content negotiation and Restful
API. Arbitrary combination of title, author, surname, ancestor’s name, the family’s living place
name, clan temple title, collection organization name, creation time, key words in abstract are taken
as input parameters, and all the matching RDF data of documents will be returned and RDF data
related to these entities through the linked URI of surname, person, place, time, and orgnization
also can be accessed to with the content negotiation function. RDF data will be outputted in the
standard form of JSON-LD recommended by W3C and this will facilitate the programming for
developers. The following is the Restful invocation method of accessing all the Xia’s genealogy