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

@Sequence attributes do not interpret namespaces #204

Closed
ledsoft opened this issue Sep 20, 2023 · 0 comments · Fixed by #205
Closed

@Sequence attributes do not interpret namespaces #204

ledsoft opened this issue Sep 20, 2023 · 0 comments · Fixed by #205
Labels

Comments

@ledsoft
Copy link
Contributor

ledsoft commented Sep 20, 2023

When custom IRIs are declared in a @Sequence annotation, using namespaces (even properly declared using @Namespace) is not possible.

For example:

@Sequence(type = SequenceType.referenced, ObjectPropertyHasNextIRI = "rdf:rest", ObjectPropertyHasContentsIRI = "rdf:first")
    @OWLObjectProperty(iri = Vocabulary.P_HAS_REFERENCED_LIST, fetch = FetchType.EAGER)
    private List<OWLClassA> referencedList;

leads to the repository containing IRIs rdf:first and rdf:rest instead of http://www.w3.org/1999/02/22-rdf-syntax-ns#first and http://www.w3.org/1999/02/22-rdf-syntax-ns#rest.

Prefixed IRIs in the @Sequence annotation should be interpreted just like IRIs in property mapping.

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