simphony-osp
simphony-osp copied to clipboard
Support reading of AnnotationProperties for OntologyClasses
In GitLab by @yoavnash on Jun 2, 2020, 14:44
Currently only cuds objects could attribute, however sometimes we would like to have an attribute associated with an oclass.
In GitLab by @urbanmatthias on Jun 2, 2020, 14:46
Can you give an example? Should this attribute be defined in the ontology? Do you want to change its value on runtime?
In GitLab by @yoavnash on Jun 3, 2020, 15:44
An example would be a translation to German of an oclass name. In OIE, I would like to use it as a 'nickname' for an oclass.
It should be defined in the ontology, and change it during runtime, I imagine would require to introduce an ontology-editing functionality to osp-core, correct?
In GitLab by @urbanmatthias on Jun 3, 2020, 17:03
yes, more or less
In GitLab by @yoavnash on Jun 4, 2020, 11:55
I'm sorry, I didn't complete the sentence. I meant, changing it during runtime is not required, as it will add more complexity and the functionality is not really needed (currently).
In GitLab by @yoavnash on Jun 4, 2020, 11:55
Another example of how this is useful is to have a list of synonyms of an oclass name.
What do you guys think about this issue? Would be quite helpful for me. Is this feature supported in OWL?
@aaronAB1993 @urbanmatthias
There are AnnotationProperties in owl and as far as I understand, that's what you would need:
- A way to add annotations to a YAML Class --> Update the YAML parser and validator
- We investigate how these AnnotationProperties are represented in RDF and add the ability to access these from python code.
I've assigned it to @aaronAB1993 for now. But as you know he's on vacation, so if it is more urgent, please comment and reassign.
Thanks. Definitely not urgent.
I renamed it
Is this in the docs or is there an example? If so, can you provide a link?
This is not supported yet, and therefore the is no link.
This is the relevant OWL documentation https://www.w3.org/TR/owl2-syntax/#Annotation_Properties