Strategy to version PaNET mappings and semantic relations

オープン
#503 コメント 1 件 リアクション 0 件 担当者 2 名 GitHub で見る

@paulmillar がすでに取り組んでいます。

2026年10月2日 から。

評価

この issue はまだ評価されていません。

説明

discussion required enhancement mappings

We are working on connecting PaNET to other semantic artifact by mappings or other types of semantic relations (MSR).

Aim

  • Make MSR available as artifacts.
  • Highlight changes in MSR by providing different versions.

Problem

Currently, the MSR hosted in a folder in the main PaNET repository (PaNET core), which means that the release of PaNET core and the individual MSR is coupled. However, PaNET core and its MSR will develop at different rates. Therefore a decoupling is desired.

Solution

During the PaNET maintenance meeting on 2026-10-02, we agreed to create a new repository to host the MSR. The community sees PaNET core as independent from the MSR as they are not changing the reasoning of PaNET core and none of its current applications. This also provides the advantage of having different user groups for those different topics.

This is only a part solution, as the main problem remains: different evolving rates (for the different MSR).

In the PaNET maintenance meeting, several approaches were discussed. I will try to summarize them here.

1. Individual Repo for each MSR
Advantages
  • individual versioning for each MSR is simple
Disadvantages
  • massive overhead
2. Versioning with Releases (Rolf)
  • publishing artifacts with releases
  • versioning of releases
  • release provides artifacts for the collection of MSR
  • release notes: which mappings have been updated?
  • version of collection would determine URL to access the file
    • individual version numbers of mappings → you could access those versions with different URLs
Disadvantages

consider a MSR mapping1.csv

  • release v2 of mapping1.csv can be identical with v1, no intuitive for the user
Open Question
  • which version would the MSR have? of release or individual version?
3. Versioning with Tags (Paul)
  • 2-part tag: file name and version number → version specific tags for a file
  • use w3id to map a URL to the requested file and version
  • explain method in README
  • access to mappings with git not desired, but only via IRI
Disadvantages
  • unintuitive names
  • metadata in filenames vs using a dedicated namespace
  • introducing namespaces with tags (not intended by git).
Advantage
  • new version of a mapping (collection) without actual changes on the (individual) mapping
  • guarantee: v2 is different from v1

Misc

  • currently wikipedia/wikidata used directly in PaNET.csv
    • should be an independent mapping as discussed in #414
  • not including mappings means that we NEED to include our own definitions for all terms
    • many members consider this an important and reasonable step: PaNET should be an authoritative source
  • mapping release requires to check if other vocabularies have changed
主要言語
Python
スター
13
フォーク
10
平均マージ
9日 10時間
マージ済み PR(30日)
3

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pan-ontologies/PaNET のほかの issue

pan-ontologies/PaNET の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。