OpenEnergyPlatform / ontology

Repository for the Open Energy Ontology (OEO)
Creative Commons Zero v1.0 Universal
106 stars 23 forks source link

OEO viewer does not show class `model factsheet` #1750

Closed l-emele closed 10 months ago

l-emele commented 10 months ago

We have in the OEO a class model factsheet (OEO:00000277): grafik

However the OEO viewer does not show this class: grafik

adelmemariani commented 10 months ago

Thank you @l-emele for highlighting this. I checked the related part of the code. The oeo_viewer looks at the Sub class relations in the oeo-full.owl file. The following is the query that is in use:

SELECT DISTINCT ?s ?o WHERE { ?s rdfs:subClassOf ?o filter(!isBlank(?o)) }

However, by looking at the Protégé, I observed that the related axiom for the model factsheet is a bit different from the axioms for study factsheet, framework factsheet, and scenario factsheet:

factsheet_axioms

The following is the related part of the oeo-full.owl file:

factsheet_owl

I wonder if it is intended or not. If the axiom for the Model factsheet follows the same pattern as the other factsheets, then the Model factsheet is going to be populated by the oeo_viewer and is going to be shown.

l-emele commented 10 months ago

Yes, you are right. It is an implementation error in the OEO. Thus I move the issue in the OEO repo and will fix this.