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

Serving OEO classes: Readable by humans and machines #763

Open l-emele opened 3 years ago

l-emele commented 3 years ago

Via the OEO DEV mailing list we got the following feedback for the OEO:

Unfortunately the OEO is still not usable (for Linked Data). Just have a look at http://openenergy-platform.org/ontology/oeo/OEO_00230002 - nothing there. I hope you now understand that it is crucial, to return sth. machine and human readable for every OEO id in order to be recognized and accepted as an ontology and you now also understand the direct practical reasons for it when it comes to actually using the ontology when using this "human-incomprehensible" IDs.

So it basically this asks that the class IRIs resolve to some kind of webpages for the specific pages and not just serving the content of http://openenergy-platform.org/ontology/oeo/

We discussed that today in the OEO DEV meeting. This is not a problem of the ontology itself, but if we want to have the functionality of serving the classes it would be a topic for the OEP. This should be discussed at the OEP DEV and/or the LOD_GEOSS meetings.

l-emele commented 3 years ago

@christian-rli : I assigned this issue to you are both the bridge between the OEO and OEP and the bridge between SIROP and LOD_GEOSS.

christian-rli commented 3 years ago

@Adel-Mem this is the issue we talked about in the OEP-DEV meeting. See how far you can get and we'll talk about it in the next meeting. Thank you for volunteering :)

adelmemariani commented 3 years ago

I added the functionality to display sub/super classes for a given class. I think we should add the names for the classes. Also if it is needed, I can work on a new user interface to show the classes in a tree or graph view.

l-emele commented 3 years ago

A tree or graph view would be imho great!

han-f commented 3 years ago

I agree with @l-emele, a tree or graph view would be a great value added!

han-f commented 3 years ago

Is this the correct issue to post the ideas we had in yesterdays (28/07/21) SIROP Jour Fixe when @adelmemariani showed us the progress that he has made on displaying OEOs terms on the OEP (great value added!)? Here are the ideas from yesterday:

adelmemariani commented 3 years ago

Based on the new oeo_viewer project and the above commits, I think we can have two views: 1- Text-based folding menus. 2- Graph and tree views. As it is shown in the following image, if we use the class ID in the URL, the viewers specifically, show the requested class. In case some classes do not have enough description or editor notes, the user can use the 'Parent' button to see the parent and read the parent's description. The 'shrink' and 'expand' buttons help the user to navigate the ontology classes.

Viewer
stap-m commented 3 years ago

It would be great if alternative terms would also be shown under the defitition and would be searchable in the search bar. Is that doable @adelmemariani ?

adelmemariani commented 3 years ago

It would be great if alternative terms would also be shown under the defitition and would be searchable in the search bar. Is that doable @adelmemariani ?

Yes, it is doable. Basically, with this tool, everything can be searchable because of its underlying structure. Also, example usage should be there. I will work on it after I finish my current tasks. So it would not be available for the next release in October...

adelmemariani commented 2 years ago

Some updates:

1- On the first page, we see the energy class instead of the entity. 2- New nodes are circles (not rectangles anymore) and we can zoom better (it scales more smoothly). 3- A toggle button is added to the actions where we can switch between hierarchical mode and the other one (circular view). 4- A new button is added to show the entire ontology along with the selected class.

oeo-viewer-screenshot-1

adelmemariani commented 2 years ago

A new clickable layout for the sub-class relations in the OEO:

Screenshot 2022-04-01 at 17 48 56

l-emele commented 2 years ago

I cannot imagine how such a radar will look, once also the inferred classes will be shown and the structure is not mono-hierarchically any more.

adelmemariani commented 2 years ago

@l-emele you are right. That was also my concern. The layout only works for hierarchical relations i.e., sub-classes. I am still thinking about a new layout for relations that are not hierarchical. Inferred classes as they are shown in the tree-view of the Protégé can be viewed as some sort of hierarchy but relations such as 'has part' and 'is about' I think can not be viewed as hierarchical relations.

jh-RLI commented 8 months ago

With the oep release version, I have made some basic revisions to the oeo pages. The descriptions are now visible and the structure of the page is more consistent with the OEP & clearer. In addition, the navigation between the pages or between the OEO classes is now a little easier. There is still more room for improvement here.

There is another PR that will improve the user experience by improving the initial page response and indicating that something is loading.

This issue is now a collection of many ideas, we should endeavour to create issues that tackle parts of it, otherwise things get lost in the void.

Also see: https://github.com/OpenEnergyPlatform/oeplatform/issues/1496