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

Reintroduce fedora:hasParent #1

Open
jcreel opened this issue Sep 18, 2023 · 0 comments
Open

Reintroduce fedora:hasParent #1

jcreel opened this issue Sep 18, 2023 · 0 comments
Assignees

Comments

@jcreel
Copy link
Member

jcreel commented Sep 18, 2023

The ResourceTripleService (https://github.com/fcrepo/fcrepo/blob/main/fcrepo-kernel-impl/src/main/java/org/fcrepo/kernel/impl/services/ResourceTripleServiceImpl.java) is responsible for adding the system generated triples. This is the place to inject the fedora:hasParent triple. The FedoraResource has a getParentId method that should provide the parent URI in order to build the triple.

Also, we need to re-add the fedora:hasParent predicate to the RdfLexicon (https://github.com/fcrepo/fcrepo/blob/main/fcrepo-kernel-api/src/main/java/org/fcrepo/kernel/api/RdfLexicon.java)

@jcreel jcreel changed the title reintroduce fedora:hasParent Reintroduce fedora:hasParent Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants