Inverse Properties

The Inverse Properties module allows administrators to define inverse properties between resources (items, item sets, and media) so that property values can be concretely linked in both directions.

To install Inverse Properties, follow the instructions for Installing Modules on the Modules documentation.

Assigning Inverse Properties in Resource Templates

To use Inverse Properties, you must already have at least one resource template that has properties using the default or resource data types. Once the module is installed, it should appear in the left-hand navigation. When you select Inverse Properties, you will be taken to a table of available resource templates. In addition to label and owner, there is a column indicating each template’s inverse property count. To add inverse properties to a resource template, click edit (pencil icon).

Edit existing resource template to add inverse properties.

To assign an inverse property, select an inverse for that property from the dropdown menu. You can either scroll through the list of options or use the search bar to jump to a specific property. You can select a property from any vocabulary. A property cannot be the inverse of itself.

Select inverse property from dropdown menu.

Once you have selected all the inverse properties for that resource template, click « Submit » in the upper right corner to save your changes.

Inverse Properties In Action

When adding or editing an item, select a resource template that has inverse properties. Then, in a property that has an inverse property, click « Omeka resource ». Then, click « Item » and select the item you wish to add from the drawer. After selecting the item, be sure to click « Select resource » at the bottom of the drawer to add the item to the metadata field.

Add inverse property to item.

Once you have finished editing the item, click « Save ». The item you added as a linked resource should now appear on the item’s show page.

Saved inverse property.

If you click on the resource you just linked, you should see that the inverse property value was created automatically.

Inverse property on linked property item show page.