Overview
For creating RDF data, I prototyped a Python library that converts data created in Excel to RDF data. It is still a work in progress, but here are my notes.
Notebook
You can try it from the following notebook.
https://colab.research.google.com/github/nakamura196/ndl_ocr/blob/main/ExcelからRDFデータを作成する.ipynb
Source Excel Data
Create an Excel file like the following.
https://docs.google.com/spreadsheets/d/16SufG69_aZP0u0Kez8bisImGvVb4-z990AEPesdVxLo/edit#gid=0
In the above example, the prefix information used is organized in a sheet named “prefix.”
The actual data is entered in a sheet named “target.” Referencing the specifications of Omeka S’s Bulk Import, language labels like “@ja” and types like “^^uri” are specified.
I plan to prepare a separate explanatory page for how to create the above data.
Conversion Process
Please refer to the above notebook. Specify the sheet containing prefix information and the sheet containing the data to be processed, and execute the conversion to RDF data.
Summary
There are likely many existing tools that address similar needs, but I hope this is helpful as a reference.