A tool to generate the Linked Data dataset for ISDN
Project description
Linked Data for ISDN
ISDN (International Standard Dojin Numbering) の書誌情報を Linked Data (RDFデータセット) に変換する。
Installation
pip install isdn-ld
Usage
Convert
事前準備: ISDN-Python で書誌情報XMLファイルをダウンロードしておく。
isdnld convert /path/to/xml_files/ /path/to/output/isdnld.nq
Schema
isdn.jp が提供する書誌情報の XML Schema: https://isdn.jp/schemas/0.1/isdn.xsd
このXMLから少し意味的に理解を加えて設計した RDF モデルへマッピングしている。
Vocabulary
Schema.org の語彙をベースとしつつ、必要に応じて以下の名前空間で独自の語彙を定義している。
- 独自語彙の名前空間:
http://metadata.moe/ns/isdn/
Application Profile
DCTAP (DC Tabular Application Profiles) でアプリケーションプロファイルを記述している。
Convert DCTAP to SHACL:
tap2shacl -c ./dctap/dctap.yml \
-a ./dctap/about.csv \
-ns ./dctap/namespaces.csv \
-s ./dctap/shapes.csv \
./dctap/tap.csv
Graph URIs
quads形式で変換すると、コンテンツのレーティングに応じてグラフURIを分ける。
- デフォルトグラフ : 一般
http://metadata.moe/isdn/graph/ageRestricted15: 15禁http://metadata.moe/isdn/graph/ageRestricted18: 18禁
Resource URI
http://metadata.moe/isdn/res/{ISDN}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file isdn_ld-0.1.0.tar.gz.
File metadata
- Download URL: isdn_ld-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.1 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31e08e25b54d0f799e6a8242d88a4a657a9722f1a05cf869469287be690152ea
|
|
| MD5 |
cff3f1a3df4366e65872f1e5f50d720a
|
|
| BLAKE2b-256 |
abbc279d7b8fdafd918cea6f354842ec15597bdce62f2f3701357ed89a92f8fd
|
File details
Details for the file isdn_ld-0.1.0-py3-none-any.whl.
File metadata
- Download URL: isdn_ld-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.1 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8efbfc881356c4cb899f891e2284076b5cb26e1dc88b91fe59fb4c3426071b25
|
|
| MD5 |
631f1c2ae5d10f080fd703930a4e1788
|
|
| BLAKE2b-256 |
2c0d67cddfa211171892d61be1c8acea55f0d2599cf09d0cf09023b3f9e292c8
|