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

Enhance display of reified properties, e.g. definitions #240

Open saubin78 opened 2 years ago

saubin78 commented 2 years ago

Some thesauri like http://agroportal.lirmm.fr/ontologies/DATA4CPLUS include definitions (skos:definition) that are structured in

  <skos:definition xml:lang="en" **rdf:parseType="Resource"**>
        <dcterms:source  xml:lang="en">Authors Data4C+; Emde, D., Hannam, K.D., Most, I., Nelson, L.M., Jones, M.D., 2021. Soil organic carbon in irrigated agricultural systems: A meta-analysis. Global Change Biology 27, 3898–3910. </dcterms:source>
        <dcterms:source>https://doi.org/10.1111/gcb.15680</dcterms:source>
                <rdf:value>Water management in annual and perennial croplands involves the management of water inputs through irrigation and water removals through drainage. Irrigation practices may increase soil carbon stocks (Emde et al. 2021). </rdf:value>
     </skos:definition>

This is good practices to cite sources (and we warmly recommend it) but it prevents from the definitions to be displayed in Agroportal. How this should be dealt ? at the resource level or at the Agroportal level ?

jonquet commented 2 years ago

Related to #217. Such definitions, although valid in SKOS, generate blank node that are explicitly ignored by AgroPortal (i.e. not loaded at all in the triple store).

jonquet commented 1 year ago

The strategy to handle this will be generic by looking up any triples related to the URI concerned (i.e., URI of the definition) assuming we have one. Similar to what was done for SKOS-XL labels.

Blank nodes will be handled similarly but this is another issue => https://github.com/agroportal/project-management/issues/217 As for the moment the blank nodes do not even show up in the UI because it's not in the triplestore.

image

syphax-bouazzouni commented 5 months ago

Dans les search results, quand la définition d'un concept e.g. "area closurs" dans AGROVOC est un SKOS-XL, on devrait améliorer l"'affichage pour que ce soit la valeur de cette definition refifiée qui s'affiche pas l'URI | Search | Improvement Feedback | Clement / 20-11-23 Source @jonquet in https://docs.google.com/spreadsheets/d/1lEdrxJKKOJYbSYH_Ptzu2dUliHAKcFTirrw8vs9Hcuk/edit#gid=713725591