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

Support reading of AnnotationProperties for OntologyClasses #315

Open
pablo-de-andres opened this issue Jun 22, 2020 · 12 comments
Open

Support reading of AnnotationProperties for OntologyClasses #315

pablo-de-andres opened this issue Jun 22, 2020 · 12 comments
Assignees
Labels
API details 🌱 new feature Solving the issue involves the incorporation of a new feature. 💬 discussion The idea is not mature enough to result in an implementation, and needs further discussion.

Comments

@pablo-de-andres
Copy link
Member

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.

@pablo-de-andres pablo-de-andres added API details 💬 discussion The idea is not mature enough to result in an implementation, and needs further discussion. feature request labels Jun 22, 2020
@pablo-de-andres
Copy link
Member Author

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?

@pablo-de-andres
Copy link
Member Author

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?

@pablo-de-andres
Copy link
Member Author

In GitLab by @urbanmatthias on Jun 3, 2020, 17:03

yes, more or less

@pablo-de-andres
Copy link
Member Author

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).

@pablo-de-andres
Copy link
Member Author

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.

@yoavnash
Copy link
Member

What do you guys think about this issue? Would be quite helpful for me.
Is this feature supported in OWL?

@aaronAB1993 @urbanmatthias

@urbanmatthias
Copy link
Member

urbanmatthias commented Aug 19, 2020

There are AnnotationProperties in owl and as far as I understand, that's what you would need:

  1. A way to add annotations to a YAML Class --> Update the YAML parser and validator
  2. 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.

@yoavnash
Copy link
Member

Thanks. Definitely not urgent.

@urbanmatthias urbanmatthias changed the title Support oclass attributes Support reading of AnnotationProperties for OntologyClasses Mar 17, 2021
@urbanmatthias
Copy link
Member

I renamed it

@yoavnash
Copy link
Member

Is this in the docs or is there an example? If so, can you provide a link?

@urbanmatthias
Copy link
Member

This is not supported yet, and therefore the is no link.

@urbanmatthias
Copy link
Member

This is the relevant OWL documentation https://www.w3.org/TR/owl2-syntax/#Annotation_Properties

@kysrpex kysrpex changed the title Support reading of AnnotationProperties for OntologyClasses Support reading and writing of AnnotationProperties for OntologyClasses May 11, 2021
@kysrpex kysrpex changed the title Support reading and writing of AnnotationProperties for OntologyClasses Support reading of AnnotationProperties for OntologyClasses May 14, 2021
@kysrpex kysrpex added 🌱 new feature Solving the issue involves the incorporation of a new feature. and removed 💡 feature request labels Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API details 🌱 new feature Solving the issue involves the incorporation of a new feature. 💬 discussion The idea is not mature enough to result in an implementation, and needs further discussion.
Projects
None yet
Development

No branches or pull requests

5 participants