ontoportal-lirmm / ontologies_linked_data

Models and serializers for ontologies and related artifacts backed by 4store
Other
0 stars 6 forks source link

Extract metadata process does not work for ontologies that imports other ontolgies #57

Closed syphax-bouazzouni closed 10 months ago

syphax-bouazzouni commented 1 year ago

Issue

When an ontology imports other ontologies, at the parsing step we materialize the imports (imports all the statements of the imported ontology in the master ontology).

This materialization mix between the ontology annotations with the imported ontologies ones (e.g SKOS, RDFS,...).

So the metadata extraction does not always work because it doesn't make difference between the original annotation with the imported ones

Image

Solution

syphax-bouazzouni commented 1 year ago

There is a specific issue with INRAETHE and for all submissions that have multiple ontologies defined in the file (multiple <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>) , their annotation will still get mixed.

syphax-bouazzouni commented 10 months ago

fixed by https://github.com/ontoportal-lirmm/owlapi_wrapper/issues/3