When you create a relationship between an object and an entity (or between any type of items and any other), it is possible (and indeed very useful!) to specify the relationship between the two, that is, to define several possible types of relationships between an entity and an object, or between an entity of type “Instructor” and an entity of type “Student” for example.
To do so, go to MANAGE > ADMINISTRATION > RELATIONSHIP TYPE > then choose "entity ⇔ entity relationships" or "entity ⇔ collection relationships", or "object lot ⇔ entity relationships", or "object ⇔ entity relationships" (depending of how you consider the archive made by student). So, choose one, and you'll see which kinds of relationship already exist between items. Suppose that the archives made by your students are type "object", you'll have to look the "object ⇔ entity relationships"; there, you can create a new relationship:
Relationship names
Typename (forward sense): work created by
Typename (reverse sense): creates
Relationship type code: created-by
and you can add some type restriction if needed. (Type restriction for "right" side of relationship could be "Student")
You can create another one, for example between entity "Instructors" and object, like:
Relationship names
Typename (forward sense): work supervised by
Typename (reverse sense): supervises
Relationship type code: supervised-by
(Type restriction for "right" side of relationship could be "Instructor")
Save.
Now, when you create a relationship, you can choose the good one. You can define one or more students, and one or more instructors linked to an object...
Note that the "Relationship type code" is important because you'll need it to display relationships by types in Pawtucket part.
To display these relationships in the Pawtucket part, you need to edit the detail page of object (ca_objects_default_html.php), and add somewhere:
{{{<ifcount code="ca_entities" restrictToRelationshipTypes="created-by" min="1" max="1"><H6>Related student:</H6></ifcount>}}}
{{{<ifcount code="ca_entities" restrictToRelationshipTypes="created-by" min="2"><H6>Related students:</H6></ifcount>}}}
{{{<unit relativeTo="ca_entities" delimiter="; " restrictToRelationshipTypes="created-by"><l>^ca_entities.preferred_labels</l></unit>}}}
{{{<ifcount code="ca_entities" restrictToRelationshipTypes="supervised-by" min="1" max="1"><H6>Related instructor:</H6></ifcount>}}}
{{{<ifcount code="ca_entities" restrictToRelationshipTypes="supervised-by" min="2"><H6>Related instructors:</H6></ifcount>}}}
{{{<unit relativeTo="ca_entities" delimiter="; " restrictToRelationshipTypes="supervised-by"><l>^ca_entities.preferred_labels</l></unit>}}}
If you want to display a relationship between two entities (instructor and student, for example), do the same thing, but add ".related" when you invoque relativeTo="ca_entities.related", because you display a link from entity to another entity.
I hope, it's clear for you!