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

getAnnotations() #10

Closed
loopasam opened this issue Apr 9, 2013 · 3 comments
Closed

getAnnotations() #10

loopasam opened this issue Apr 9, 2013 · 3 comments
Assignees

Comments

@loopasam
Copy link
Owner

loopasam commented Apr 9, 2013

Request to be able to retrieve the array of annotations

@dosumis
Copy link

dosumis commented Nov 29, 2013

Related request:

getAnnotation() currently returns a string. When there are multiple annotations using the same annotationProperty, this string consists of one of the annotationProperty chosen seemingly at random. Given that it is always possible for an OWLEntity to be annotated with multiple annotationProperty axioms using the same annotationProperty, getAnnotation() should return an array.

@dosumis
Copy link

dosumis commented Mar 6, 2014

Wondering if you could make fixing this one a high priority, as it is blocking adoption by GO for basic scripting.

@loopasam loopasam self-assigned this Mar 7, 2014
@loopasam
Copy link
Owner Author

loopasam commented Mar 7, 2014

A new method was created to retrieve the value of all annotations: getAnnotations("entity", "annotationProperty"). The feature is part of the release 1.5.1. More info in the documentation.

@loopasam loopasam closed this as completed Mar 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants