-
Notifications
You must be signed in to change notification settings - Fork 0
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
Enhance SKOS parsing and handling in BioPortal / AgroPortal #20
Comments
En quoi cela consiste exactement ? @msalvadores pointed us to where the SKOS parser code is: [1] https://github.com/ncbo/owlapi_wrapper C'est l'endroit qu'il faut regarder pour debugger. |
(switch to English to share this with NCBO) Observed probems with SKOS in AgroPortal or BioPortal:
|
Dans le cas d'un fichier qui utilise à la fois OWL et SKOS, et si le fichier est chargé dans le portail au format OWL, les propriétés skos sont ignorées. |
Among the question is : how does BioPOrtal handles multiple skos:ConceptScheme ? |
J'ai fait un test avec deux "conceptScheme" définis au sein du même vocabulaire. Dans l'UI, les "TopConcept" figurent au sommet de l'arborescence, quel que soit le "conceptScheme" auxquels ils appartiennent. C'est dans l'onglet "details" que l'on retrouve plus d'infos : pour chaque concept, la notion d'appartenance à un "conceptScheme" apparait dans la propriété "inSheme" (ou "is in Scheme" si on a fait un import skos dans le fichier). Et on a bien l'URI du conceptScheme correspondant. |
One new idea:
|
One old idea (not done yet!):
|
|
I'm not sure what behavior one should expect with a mixed "SKOS/OWL" ontology. In OWL ontologies, the terms of interest are generally managed as classes. While I can imagine some use cases for mixing classes and individuals, I can't imagine them both having equal status as "first-class concepts" to be managed. In particular, vocabularies that try to mix the two would be very difficult to use semantically. (In general, combining SKOS and OWL via mappings is awkward for this reason; mapping classes to individuals is a bit messy.) In SKOS ontologies, terms of interest are necessarily individuals. As Jennifer pointed out to me,
So as I read this, if you declare your ontology is SKOS, you must declare the concepts within it as skos:Concept. The other OWL declarations are not relevant from a SKOS perspective. BioPortal manages SKOS content by requiring that the content be identified as SKOS in the metadata, then (if I am not mistaken) treating the Concepts as classes (which makes them countable). You can't change the type of the resource to a non-SKOS ontology—if you do, then none of the Concepts are found. (Thanks for the citation above from Manuel about the handling in https://github.com/ncbo/ontologies_linked_data/blob/master/lib/ontologies_linked_data/models/ontology_format.rb.) |
Yes you are right @graybeal on all these aspects related to SKOS. Indeed there no classes in SKOS. A lot of développers mix the two into semantic resources called RTO (resource termino-ontologique) e.g. Transmat or Biorefinery in AgroPortal. But when they make it to the portal they are usually treated a OWL ontologies. |
Seems also that the Annotator semantic expansion with is-a hierarchy does not work with SKOS vocabularies.
|
Nor should it, semantically speaking? These are instances, so there should not be any is_a relation. If you mean the more general hierarchy relation (broader/narrower in SKOS), conceivably that should be mapped for annotator purposes, but is not actually implemented. If you can verify this, please consider that a bug and file a corresponding ticket in the BioPortal project. Thanks! |
For memory, we need to aloso to fix agroportal/agroportal_web_ui#125 when fixing SKOS handling in AgroPortal. |
Co-assigning @syphax-bouazzouni as we are re-opening SKOS handling questions in AgroPortal. |
current state see: https://www.bioontology.org/wiki/SKOSSupport |
@jonquet I let you close this issue if you think it is done. Else extract relevant information in a new issue that references this one for clarity. |
Most of the aspect related to SKOS are handled in the AgroPortal 2.4 release. I think we only need to capture the bug related to Annotator semantic expansion somewhere else (I will do), then we are good to close this. Done => ontoportal-lirmm/ncbo_annotator#26 |
No description provided.
The text was updated successfully, but these errors were encountered: