Overview

This is a continuation of the following article.

I will prototype a package that performs CWRC entity-lookup using the Japan Search utilization schema.

Demo

You can try it on the following page.

https://nakamura196.github.io/nuxt3-demo/entity-lookup/

Entity-lookup is performed against JPS, Wikidata, and VIAF for each type such as Person, Place, and Organization.

Library

It is published at the following location.

https://github.com/nakamura196/jps-entity-lookup

Based on the repository https://github.com/cwrc/wikidata-entity-lookup already published by CWRC, I mainly modified the following file to match the Japan Search utilization schema.

https://github.com/nakamura196/jps-entity-lookup/blob/main/src/index.js

Installation Method

The following was helpful as a reference.

https://qiita.com/pure-adachi/items/ba82b03dba3ebabc6312

During Development

When installing a library under development, I installed it as follows.

pnpmi/Users/nakamura/xxx/jps-entity-lookup

From GitHub

Install from GitHub as follows.

pnpminakamura196/jps-entity-lookup

Summary

I hope this serves as a useful reference.