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}
Metadata
Release files for isdn-ld 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| isdn_ld-0.1.0.tar.gz | 6.7 kB | Without provenance | Details for isdn_ld-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| isdn_ld-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for isdn_ld-0.1.0-py3-none-any.whl |
Total release size: 15.2 kB
Release files / isdn_ld-0.1.0.tar.gz
| Download URL | isdn_ld-0.1.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31e08e25b54d0f799e6a8242d88a4a657a9722f1a05cf869469287be690152ea
|
|
BLAKE2b-256 checksum How to use checksums |
abbc279d7b8fdafd918cea6f354842ec15597bdce62f2f3701357ed89a92f8fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.1 Linux/6.11.0-1018-azure
|
Release files / isdn_ld-0.1.0-py3-none-any.whl
| Download URL | isdn_ld-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8efbfc881356c4cb899f891e2284076b5cb26e1dc88b91fe59fb4c3426071b25
|
|
BLAKE2b-256 checksum How to use checksums |
2c0d67cddfa211171892d61be1c8acea55f0d2599cf09d0cf09023b3f9e292c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.1 Linux/6.11.0-1018-azure
|
Security for isdn-ld 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.