HajoRijgersberg / OM

Ontology of units of Measure
90 stars 23 forks source link

OM not indexing on OLS #71

Open henrietteharmse opened 2 years ago

henrietteharmse commented 2 years ago

We have noticed currently OM is not indexing on OLS. To investigate why this is the case, we have tried to edit the OM RDF file. However, making even a trivial change (like changing the name of the ontology), result in Protege not being able to save OM.

Can you please provide a file that we can edit via Protege?

Some context as to why we want to edit OM. To be clear, this is mainly for isolating the problematic construct in OM that OLS cannot index successfully currently. The idea is to keep on removing concepts, individuals, axioms etc from the ontology until we are able to identify the problematic construct. Depending on the construct, we can hopefully devise a plan to enable OLS to process it, or, if this is not possible, we can give an indication of the change to OM to enable processing on OLS.

henrietteharmse commented 2 years ago

Ah! The ontology is in OWL/XML format even though it is saved as .rdf file. I incorrectly assumed it is RDF/XML, which can be saved and edited in Protege.

HajoRijgersberg commented 2 years ago

making even a trivial change (like changing the name of the ontology), result in Protege not being able to save OM.

Strange. But I would not recommend to change OM through an ontology editor. OM is maintained and extended manually.

Can you please provide a file that we can edit via Protege?

Good question, but also a difficult question, as unfortunately I would not know why Protégé can not edit OM... :/ Perhaps you could copy all text from the file and paste it in a new file, because perhaps it has to do with text file headers that we can't immediately see in normal editors. I have once encountered, long long time ago, such an issue.

this is mainly for isolating the problematic construct in OM that OLS cannot index successfully currently. The idea is to keep on removing concepts, individuals, axioms etc from the ontology until we are able to identify the problematic construct. Depending on the construct, we can hopefully devise a plan to enable OLS to process it, or, if this is not possible, we can give an indication of the change to OM to enable processing on OLS.

Thanx so much for your effort. If I could help I would definitely do that. Unfortunately I do not have a clear clou at the moment...

HajoRijgersberg commented 2 years ago

Ah! The ontology is in OWL/XML format even though it is saved as .rdf file.

Ah, that was the problem, you mean?

I incorrectly assumed it is RDF/XML, which can be saved and edited in Protege.

Ah, I would expect that also OWL can be edited in Protégé, but it's a long time ago that I have done that.