Hello,
Suppose I want to establish multiple relationships between two entity types
as follows:
Entities:
- Publication
- Person
Relationships:
- isAuthorOfPublication
- isEditorOfPublication
- isAdvisorOfPublication
I set up the entities/relationships configuration like this:
<type>
<leftType>Publication</leftType>
<rightType>Person</rightType>
<leftwardType>isAuthorOfPublication</leftwardType>
<rightwardType>isPublicationOfAuthor</rightwardType>
<leftCardinality>
<min>0</min>
</leftCardinality>
<rightCardinality>
<min>0</min>
</rightCardinality>
<copyToLeft>true</copyToLeft>
</type>
<type>
<leftType>Publication</leftType>
<rightType>Person</rightType>
<leftwardType>isEditorOfPublication</leftwardType>
<rightwardType>isPublicationOfEditor</rightwardType>
<leftCardinality>
<min>0</min>
</leftCardinality>
<rightCardinality>
<min>0</min>
</rightCardinality>
<copyToLeft>true</copyToLeft>
</type>
<type>
<leftType>Publication</leftType>
<rightType>Person</rightType>
<leftwardType>isAdvisorOfPublication</leftwardType>
<rightwardType>isPublicationOfAdvisor</rightwardType>
<leftCardinality>
<min>0</min>
</leftCardinality>
<rightCardinality>
<min>0</min>
</rightCardinality>
<copyToLeft>true</copyToLeft>
</type>
This approach allows me to inject virtual metadata into specific fields of
a publication entity (e.g., dc.contributor.author, dc.contributor.editor,
dc.contributor.advisor).
On the Edit Item page under the Relationship tab for a publication, I can
see relevant headings such as (without translation):
- relationships.isAuthorOf.Person
- relationships.isEditorOf.Person
- relationships.isAdvisorOf.Person
These headings are useful for setting up user-friendly labels that help
create specific relationships between a publication and a person. However,
on the analogous page for a person entity, I only see the same three
headings:
- relationships.isPublicationOf
- relationships.isPublicationOf
- relationships.isPublicationOf
There’s no clear distinction in the relationship type (i.e.,
contributorship type). Thus, when creating a relationship from the person’s
Edit Item page, it’s not immediately clear which specific relationship is
being initiated.
I’m wondering if this is due to a glitch in my relationship configuration
or if it’s the expected behavior. I’ve tried setting up the relationships
differently, but this only resulted in creating new relationships with the
same issue persisting — just reversed (in publications rather than persons).
Thanks
Peter
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/83a368cc-6d28-47b9-8e07-cbb49fb5ef64n%40googlegroups.com.