Open jusa3 opened 4 days ago
@jusa3 They can be new tabs on the ontology Info widget: https://ts4nfdi.github.io/terminology-service-suite/comp/latest/?path=/docs/react_ontologyinfowidget--docs
Basically something like Metadata widget but for ontologies
@Pooya-Oladazimi Is it possible to add a feature to the graph view widget to use it without an IRI? To show the first or first few layers at the ontology page/ontology info widget as an overview, same as with the hierarchy?
@jusa3 well, graph for ontologies ... I am not sure. we can render the graph for roots for example but they would be like separated nodes. I am not sure. I can give it a try though to see how it looks.
on Tib ts is like: https://terminology.tib.eu/ts/ontologies/chebi
You're right, only showing the root nodes is lame. I had some fancy overview graph view for ontologies in mind but no idea how to create it.
@jusa3 we can show the entire graph for an ontology so that all ontology's terms are expanded (full graph) but the issue is at least ols does not have any direct endpoint for this and we need to build this by many calls (graph endpont for all terms) that make it slow.
Could be nice for small terminologies but very chaotic for large ontologies. Question is, what is the added value of a graph view compared to a hierarchy view? At the moment I don't see any, so I wouldn't pursue this idea any further and make the Graph view optional in this new widget.
Create a widget that combines the HierarchyWidget and GraphViewWidget into one widget. It should reuse both widgets so that we don't get code duplication!
Add a tab feature (optional) to show classes, properties and individuals for the hierarchy as shown here:
Do a query beforehand to get the classes/properties/individual amounts.