Create Symmetric Relations
Create Symmetric Relations
This section contains a short guide on how to create a symmetric relations in a custom ontology.
The Symmetric relation expresses a relationship between two concepts where the same property is used in both directions, similar to the skos:related
property.
Creating a symmetric relation follows the process outlined here: Create Custom Relations
In the Add Relations dialogue once you have selected 'Symmetric' in the relation type drop down (1) only the Domain Class selection is active (2).
You have the following options:
Enter the name of the relation. (mandatory)
The URI will be filled with the URI pattern defined creating your custom ontology. The pattern is greyed out per default and will be extended by the specified name which will be used without spaces. You can double-click into the URI field to make it active and define a specific URI if needed.
In drop downs, to the left and the right of the relation type selection drop down, represent Domain and Range, respectively. You can select classes that have to be Domain and Range for the defined symmetric relation.
You can select from all classes available in the ontology.
In addition the SKOS classes 'Concept' and 'Concept Scheme' are available.
Finally selecting 'No restriction' (default) allows you to use the relation, regardless of the classes you assigned to the resources between which the relation is created.
You have to click Add to make a selection.
The example below allows to create a symmetric relation between two resources that have the class 'Cocktail' assigned, indicating that those cocktails are variants of each other:
Below you can find the owl statements created for a symmetric relation. As you can see symmetric relations are created as owl:SymmetricProperty
. Besides that all definitions are equal to the creation of all other relations.
<http://doku.poolparty.biz/cocktail-ontology/variantOf> a owl:SymmetricProperty; rdfs:domain <http://doku.poolparty.biz/cocktail-ontology/Cocktail>; rdfs:label "variantOf"; rdfs:range <http://doku.poolparty.biz/cocktail-ontology/Cocktail> .