agroportal / project-management

Repository used to consolidate documentation about the AgroPortal project and track content related issues.
http://agroportal.lirmm.fr
7 stars 0 forks source link

Display Crop Ontology following TDv5 format allowing to distinguish the compsoition of a variable. #501

Open jonquet opened 3 months ago

jonquet commented 3 months ago

Crop Ontology has adopted the TDv5 format for years that represent Variable as a composition of a Trait, a Method and a Scale. When browsing/searching the ontologies users need to be able to the related variables of a given trait, method or scale ... and the other way arround, they need to see, when browsing a variable, the 3 component of that variable.

If we take C0_356 as an example For some reason, we have an issue related to OWL parsing that "prevent" the OWL restriction statments to be flatten. So inour case the relation is lost: https://github.com/agroportal/project-management/issues/499

Assuming this is fixed (i.e., the flatten relation appears), this issue is about improving and customizing the UI for the Crop Ontology (more than 30 resources in AgroPortal and another 10 waiting).

For variable https://agroportal.lirmm.fr/ontologies/CO_356?p=classes&conceptid=https%3A%2F%2Fcropontology.org%2Frdf%2FCO_356%3A1000013

This is how Protégé does

Capture d’écran 2024-03-13 à 17 36 48

(this assume issue 499 above is completly fixed and we have the RDF restriction)

And the Variable somehow appear under the Trait (or Method or Scale) in the tree:

Capture d’écran 2024-03-13 à 17 38 11

The desired UI is the one from URGI browser: https://urgi.versailles.inra.fr/ephesis/ephesis/ontologyportal.do

Capture d’écran 2024-03-13 à 17 38 57

Where for a given Variable (discovered thru the Trait only) one cleary see the Trait, Method and Scale involved.

jonquet commented 3 months ago

To address this FR we need to :

To be refine

jonquet commented 3 months ago

For information, this is how it looks on Cropontology.org: https://cropontology.org/term/CO_356:3000142

Capture d’écran 2024-03-13 à 18 04 03
syphax-bouazzouni commented 20 hours ago

is this not specific to AgroPortal how to make it generic for ontoportal? @jonquet

jonquet commented 18 hours ago

This issue and the TDv5 format is speciifc to AgroPortal. I would suggest we start answering this need , then connect that activity to the intern work related to scientific variables. Ultimaly OntoPortal shall be able to handle multiple scientific variable formats: https://docs.google.com/document/d/e/2PACX-1vR9xHLwDmL_bz13huU-cuudYixMnS1y8QDIz-m_tO3_jMct9nv8hqJZ8fJrUXtk3umUUulxk9zhN6Zm/pub