Strategy to version PaNET mappings and semantic relations

Open
#503 1 comment 0 reactions 2 assignees View on GitHub

@paulmillar is already working on this.

Since Oct 2, 2026.

Assessment

This issue has not been assessed yet.

Description

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
Dominant language
Python
Stars
13
Forks
10
Avg merge
9d 10h
Merged PRs (30d)
3

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pan-ontologies/PaNET

All issues in pan-ontologies/PaNET

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.