-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add ontology language #304
Comments
@jonquet and/or @syphax-bouazzouni - do I understand correctly that in AgroPortal you chose to store ontology language in the naturalLanguage metadata attribute? |
Yes, exactly, you can see the values here: https://data.agroportal.lirmm.fr/submissions?display=naturalLanguage&disaply_links=false&display_context=false&apikey=1de0a270-29c5-4dda-b043-7c3580628cd5 |
Thank you @syphax-bouazzouni , though I'm wondering why this attribute was chosen instead of using the hasRepresentationLanguage attribute from MOD? |
Hello @jvendetti So, to encode the natural language of the ontology, OMV originally proposed omv:naturalLanguage property (OMV def: The language of the content of the ontology, i.e. English, French, etc.). This is still the one we use today. Note that OMV also proposed omv:hasOntologyLanguage property (OMD def: OMV: The ontology language) which was already there in BioPortal to encode the "format" (I don't really like this word and OMV did not too and used 2 properties: one for the representation language and one for the syntax.. but BioPortal used only one at Natasha's time). (I will reply on the notion of "compliance with MOD" in your other issuehttps://github.com/ncbo/ontologies_linked_data/issues/192) |
OK, thank you @jonquet for the historical perspective. This clears things up for me. I suppose for the sake of expediency, we should proceed with storing the language tags that @caufieldjh curated in the naturalLanguage attribute on the OntologySubmission class. My presumption is that we'd need to do that programmatically on the latest "ready" submission object for each ontology. A possible issue with this attribute sticking - we don't expose a way in the Rails application for users to choose the natural language of their ontology when they manually create new submissions. |
Indeed, this is a property we added to the submission model. The UI developped in https://github.com/ontoportal-lirmm/bioportal_web_ui (untill v2.4) shall be useful: Note that we don't recommend iso639-3 any more (too much values, no one use them)... we do recommend (and rely in the multilingual support code on iso639-1 values ... still from Lexvo. |
@caufieldjh - all of the necessary modifications have been implemented / released to production to accommodate addition of the language tags that you curated. I think it would be easiest for me to do this programmatically on my end since you need to have admin privileges on ontologies in order to edit their latest submissions. Is this agreeable to you? |
Sure, I think that should be OK. |
A sub-issue of #296.
I have curated language tags for all Bioportal ontologies as of today (Feb 12 2024) - just need a place to include them in each ontology entry.
Out of 1107 ontologies (may be a few duplicates in there):
1092 are in English (but some are bilingual),
11 in French,
5 in Chinese,
3 in Japanese,
3 in Spanish,
2 in Persian,
and 1 in German.
The text was updated successfully, but these errors were encountered: