Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request/Idea:Implement mechanism to support integration with OntoPortal #9276

Open
2 tasks
jonquet opened this issue Jan 11, 2023 · 4 comments
Open
2 tasks
Labels
Feature: Controlled Vocabulary Includes both Internal and external controlled vocabularies Feature: External Tool Feature: Metadata Type: Feature a feature request User Role: Depositor Creates datasets, uploads data, etc.

Comments

@jonquet
Copy link

jonquet commented Jan 11, 2023

Overview of the Feature Request

This issue is a connection to the correspondent issue in the OntoPortal repo: ontoportal/ontoportal-project#16

We would like a way to ease the selection of vocabulary/ontology term in Dataverse using OntoPortal instances.
(e.g., BioPortal or AgroPortal)
For the moment the current interface requires 4 fields (example from DataINRAE):

image

In Data INRAE we can replace the fields above with only one, the concept search below:

image

What existing behavior do you want changed?

  • Implement a mechanism to change the 4 fields above by only one field with autocompletion with selected vocabularies hosted in an OntoPortal instance
  • Implement a mechanism to call the correspondant OntoPortal Annotator on the title/abstract fields of the dataset to pre-propose some ontology/vocabulary terms in the UI that the user can only keep or discard.

What kind of user is the feature intended for?
Depositor
The key idea is to ease depositon going from n*4 fields for n terms to only one field with autocompletion

What inspired the request?
Tons of request for this.
This is being done in the context of Horizon Europe project FAIR-IMPACT T4.5

Any related open or closed issues to this feature request?
ontoportal/ontoportal-project#16

@jonquet
Copy link
Author

jonquet commented Jan 11, 2023

Colleagues on OntoPortal side: @syphax-bouazzouni and Dataverse (at INRAE side) @DS-INRA

@qqmyers
Copy link
Member

qqmyers commented Jan 11, 2023

I'd suggest developing an external vocabulary script for this. The compoundDemo field in the examples there seems to be close to what you want - retrieving values from a Skosmos server rather than OntoPortal but it shows the user one field and fills in the four required by Dataverse.

@pdurbin pdurbin added Type: Feature a feature request Feature: Metadata User Role: Depositor Creates datasets, uploads data, etc. Feature: External Tool Feature: Controlled Vocabulary Includes both Internal and external controlled vocabularies labels Oct 8, 2023
@DS-INRA DS-INRA added this to Planned Development in Recherche Data Gouv (formerly Data INRAE) Oct 12, 2023
@luddaniel
Copy link
Contributor

luddaniel commented Nov 28, 2023

Hi everyone, as we started to work on implementing Ontoportal support for external controlled vocabulary, here is a list of points that we need to face to succeed

  • Having the capability to use an apikey on backend side (registerExternalTerm function)
    Handling 2 service urls for api search and user interface exploration
    Both under PR CVOC 9276 Initializing integration of ontoportal #10145
  • Create a POC on dataverse-external-vocab-support for Javascript implentation : Done here poc_ontoportal branch
  • Finalize ontoportal.js :
  • the POC does not display each vocabularies (aka. ontologies) maybe be we should make this configurable (either select an ontology before search or search on all configured ontologies)
  • allow to not use term search by allowing to type on each of child fields of keyword (a bit more complexe than "allow-free-text": true)
  • Handling languages of Ontoportal API : complicated to estimate at the moment because Ontoportal software are just starting to deploy lang metadata in API results
  • Indexing in SOLR documents synonyms and terms of all languages :
    On Dataverse v5.12.1 it was possible to just add a retrieval-filtering field in cvoc.json but since PR Iqss/9150 handle fundreg reqs for ext cvv #9402 (v5.14) only 2 fields are indexed (key.equals("termName") || key.equals("personName")).
    An idea would be to enlarge the indexing support using a attribute like "indexed": true.
    It is complicated to make the code generic here because Ontoportal unlike Skomos does not have at the moment a JSON Object with value and lang attribute for each terms.
  • Not mandatory for this feature, but it would be great to think about what is shared inside export format of the dataset's metadata.
  • Import subject : what will happen of CVOC feature under SPA Dataverse architecture ?

@DS-INRA DS-INRA moved this from 🕒 Planned Development to 🚧 Dev by Recherche Data Gouv in Recherche Data Gouv (formerly Data INRAE) Nov 29, 2023
@pdurbin
Copy link
Member

pdurbin commented Nov 29, 2023

Import subject : what will happen of CVOC feature under SPA Dataverse architecture ?

I checked with @GPortas. @DS-INRA please go ahead and create an issue at https://github.com/IQSS/dataverse-frontend when you get a chance. I'm sure @4tikhonov (and many others) will be interested! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Controlled Vocabulary Includes both Internal and external controlled vocabularies Feature: External Tool Feature: Metadata Type: Feature a feature request User Role: Depositor Creates datasets, uploads data, etc.
Projects
Recherche Data Gouv (formerly Data IN...
  
🚧 Dev by Recherche Data Gouv
Development

No branches or pull requests

4 participants