Open sebplorenz opened 2 years ago
FYI: If we update the base-URI in line 7 to include a version number, we must also do this for the base-prefix in line 1.
@sebplorenz for the implementation of versioning in the ontology we followed the best practices according to this guideline
We have this versioning information in the owl:versionInfo
tag, in different serializations, in the complete ontology available here Ontology Documentation
Could you please indicate me what do you think about this approach? Or do you think we still need to include the owl:versionInfo
tag in each component of the model, e.g. Participant.ttl, Artifact.ttl, etc.
@lcomet I'm not an ontology expert, but I thought that this
should be
@prefix ids: <https://w3id.org/idsa/core/4.2.2> .
Shouldn't it?
@sebplorenz Thank you for your reply.
As far as I understand, it is discouraged to include the versioning information in the URI as it is going to affect the ontology interoperability. Therefore we include the versioning information in the metadata, i.e. in the owl:versionInfo
tag.
@JohannesLipp Do you have any comments about this issue? I referenced the document about best practices in the versioning of ontologies, please see the link in my previous comment. More specifically, I refer to this portion of information: "the version IRI is independent of the URI of the ontology (“https://w3id.org/example#”). It is discouraged to include version numbers as part of the ontology URI, as it would deeply affect the interoperability of its instances." An example is given in section 2.4 (page 4) of the document.
The problem here, I think, is that in the different components of the ontology, e.g. Participant.ttl has no information about the specific version. That information is in resulting the Ontology after importing all the components of the model, i.e https://github.com/International-Data-Spaces-Association/InformationModel/blob/develop/Ontology.ttl, and which is independent of the documentation.
OK. That means, as a "user" of the Infomodel I create an SD of a Participant (with the latest changes), with a reference
@prefix ids: <https://w3id.org/idsa/core/4.2.0>
in my participant SD, right?
After a discussion with @PHochmann and @clange , we agreed on the following:
https://w3id.org/idsa/core-300#Participant
and https://w3id.org/idsa/core-400#Participant
would become completely different things even though they are (nearly) the same).https://w3id.org/idsa/core/XXX
with https://w3id.org/idsa/core-400/XXX
to access the particular version, if needed.modelVersion
that allows manual specification of IM version numbers, where needed. @lcomet please relax the domain of that property from ids:Message
to the most general concept possible (e.g., rdfs:Class
). @changqin26 please tell us the most general thing that CodeGen supports, thanks!
The correct version number is often missing for ids or idsc namespace in the .ttl files. E.g. the Participant.ttl has been changed several times recently but still refers to the default namespace, as can be seen here:
https://github.com/International-Data-Spaces-Association/InformationModel/blob/5293315deaf69cc7fa6559a291ffd52ba73dc7dc/model/participant/Participant.ttl#L8
Expected behaviour: a specific version of the model should be referenced in the namespace of the .ttl files when they are updated.