8 - Assign URN
Each ontology that is imported from an OWL file will have an unique identifier that identifies it and all of its classes.
OWL files do not have any information about Uniform Resource Name (URN) which is used in DEXlib to identify classes.
User can assign URN to any ontology imported from OWL files. Each ontology can only have one URN assigned to it. But different ontology objects can have the same assigned URN.
For example, ontology "http://docs.oasis-open.org/plcs/plcs-arm-lf-express" can have assigned URN urn:plcs:rdl:std.
Assignment of URN can be done through the "Translate names" dialog. The dialog is represented in Figure 8, and it can be opened by using "Tools" → "Ontologies..." from the main menu.
Figure 8 "Translate names" dialog
The dialog contains a table where all of the ontology objects from the current RDL data are listed. Column "Uri" represents URI (or URL) of each ontology and column "Urn" represents the assigned URN, this column can be empty.
To assign an URN to a selected ontology, the user needs to input the value into the "Urn" column in corresponding table row. More than one URN value can be assigned.
To store changes user needs to click "Save" button. The dialog can be closed by clicking "Close" button.