amds-ldeo / Vocabulary

Apache License 2.0
1 stars 1 forks source link

GeochemAnalyticalMethod.ttl: Error loading with Protege (skos: already exists, inconsistency) #5

Open SArndt-TIB opened 4 hours ago

SArndt-TIB commented 4 hours ago

Hi everyone,

I was trying to use Analytical methods for geochemistry within Protege but it could not open the vocabulary due to an error [1]*, which was summed up as Ontology already exists. OntologyID(OntologyIRI(<http://www.w3.org/2004/02/skos/core>) VersionIRI(<null>)) Apparently, the vocabulary tries to import skos and also contains skos axioms itself. It could not be loaded with Protege.

To proceed, I downloaded the file and removed the import statement in the local copy. Protege was able to load the remaining statements, but then there is an inconsistency in the skos axioms which seems to result from defining skos:inScheme as a subproperty of skos:member in the skos axioms that are hardcoded into the file. These skos data hardcoded into the file also differ from the data loaded from the SKOS namespace by the import statement. Seems like this was not intended.

Also, I saw that the metadata get mixed up in the "active ontology tab" of Protege, when two items declare to be an owl:Ontology. This is a bit confusing.

All of these three things can be resolved by getting all skos statements with owl:imports instead of hardcoding these axioms into the Analytical methods for geochemistry vocabulary, I'd say.

We would very much appreciate if you could look into this and hopefully fix it here at the source.

Thank you and all the best

Susanne

[1]

smrgeoinfo commented 3 hours ago

Thanks for the alert. I've removed the SKOS definitions from the ttl file, and it opens in protege for me here. Its updated in ARDC RVA and in the github. Hopefully that fixes the problem.