OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

in knowledge graph, can we rename openenergy-platform.org to openenergyplatform.org? #1661

Closed wingechr closed 1 month ago

wingechr commented 1 month ago

I wanted to change all references of openenergy-platform.org to openenergyplatform.org, but I am not sure if I can.

in oeo_viewer/management/commands/build_oeo_viewer.py and factsheet/oekg/namespaces.py, the namespaces are defined like so:

OEO = Namespace("http://openenergy-platform.org/ontology/oeo/")

If we change this, will it break the data in the knowledge graph?

Or do we have to change it in the knowledge graph database (fuseki) as well?

Or what shall we do here?

adelmemariani commented 1 month ago

This namespace is used in OEO, for the IRIs of the classes. For example: model has the IRI : http://openenergy-platform.org/ontology/oeo/OEO_00020352.

Because these IRIs are inside the OEO, we do not need to change the namespaces, and we should not change it, because, in the OEO, the prefix for the class IRIs is http://openenergy-platform.org/ontology/oeo/. As long as the redirect is enabled, clicking the class IRIs will be redirected to http://openenergyplatform.org/... and the OEP page will be shown.

wingechr commented 1 month ago

I know we dont HAVE to, but CAN we?

adelmemariani commented 1 month ago

I know we dont HAVE to, but CAN we?

We should not do that unless we intend to replace all the IRIs inside the OEO with openenergyplatform.org

wingechr commented 1 month ago

got it. thanks