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

Simple literal setting does not work for annotation properties #171

Closed
ledsoft opened this issue Jun 6, 2023 · 0 comments · Fixed by #173
Closed

Simple literal setting does not work for annotation properties #171

ledsoft opened this issue Jun 6, 2023 · 0 comments · Fixed by #173
Labels

Comments

@ledsoft
Copy link
Contributor

ledsoft commented Jun 6, 2023

Setting simpleLiteral=true has no effect when used in OWLAnnotationProperty, JOPA will still attempt to resolve whether the value is an IRI or a literal value, which can lead to unexpected results (#167 ).

@OWLAnnotationProperty(iri = RDFS.LABEL, simpleLiteral=true)
protected String name;

should ensure that the value is always stored as a simple literal.

@ledsoft ledsoft added the bug label Jun 6, 2023
ledsoft added a commit that referenced this issue Jun 7, 2023
ledsoft added a commit that referenced this issue Jun 7, 2023
ledsoft added a commit that referenced this issue Jun 7, 2023
@ledsoft ledsoft closed this as completed Jun 7, 2023
@ledsoft ledsoft linked a pull request Jun 7, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant