Vocabularies are a collection of published RDF metadata Classes and Properties for describing a Resource. These exist and are created externally to Omeka, and can be imported (with some limitations) into Omeka S for use throughout the Installation. The most-used Vocabulary is Dublin Core Terms (dcterms:).
Global and Site Administrators can manage their installation’s vocabularies from the Vocabularies tab on the left hand navigation of the Admin Dashboard. OmekaS comes pre-loaded with the following vocabularies: Dublin Core; Dublin Core Type; Bibliographic Ontology; and Friend of a Friend.
The main view of the Vocabularies tab in the Admin Dashboard displays the existing vocabularies for the Omeka S install.
Vocabularies are displayed in a table with headings for Label (name of vocabulary), Prefix (used by the database), Classes (number of classes in the vocabulary), and Properties (number of properties in the vocabulary). You can sort vocabularies by these columns using the up and down arrows at the right end of each column.
You can use the icons at the right of the Label field to manage individual vocabularies. The edit icon (pencil) takes you to the edit page for that vocabulary, the delete icon (trash can) opens a sidebar to delete the vocabulary, and the details icon (ellipses) opens a sidebar with information about the vocabulary.
When editing a vocabulary, you can make changes to the label and add comments.
Adding a vocabulary
New vocabularies must be imported from an existing metadata standard source. In order to import a new vocabulary, you must have a vocabulary file (RDF/XML with an .rdf extension).
After selecting the vocabulary file to upload using your browser’s file chooser, enter the follow values for the vocabulary:
- prefix (required): This will display before the property, indicating which vocabulary (the prefix for Dublin Core is dcterms);
- namespace uri (required): this should be provided by the vocabulary;
- label (required): the display name for the vocabulary in lists (ex "Dublin Core," "Friend of a Friend"
- and any comments you have (optional).
Note that you may have to research in order to find the prefix, namespace uri, and label for the vocabulary, as these are not standardized. In addition to the vocabulary's website, you might consult http://lov.okfn.org/dataset/lov/vocabs.
After you have imported a vocabulary, you can use the Edit function to modify the vocabulary's Label and Comment, and to upload an updated vocabulary RDF file.
Editing a vocabulary
You can edit existing vocabularies by clicking the edit button (pencil icon) on the table of vocabularies.
While editing, you can change the label and comment, or upload a new vocabulary file as an update.
If you decide you do not wish to save your changes, or click on the edit button by mistake, you can click the Cancel button next to the Save button.
Omeka S will import properly formatted vocabularies/ontologies. rdfs:Class and rdfs:Property data will be available.
For Web Ontology Language (OWL) data, Omeka S will store only the RDF/S super-Properties and -Classes. Omeka S does not enforce any declaration or inferencing rules from OWL. Thus, for example, an owl:Class is treated in Omeka S like an rdfs:Class.
Similarly, the following are all treated only as rdfs:Property. OWL domains and ranges are also not enforced or stored.
For example, an imported ontology with an owl:ObjectProperty is not restricted to having objects that are URI’s: Omeka S will accept a Literal value without complaint.
It is up to the person entering metadata to adhere to the standards as best they can.
Deleting a vocabulary
With the exception of Dublin Core and Dublin Core Type, you can delete any vocabulary from your Omeka S installation, either from the Vocabulary browse or the Vocabulary edit page.
From the Vocabulary browse page, click the trash can/delete icon in the row for the vocabulary you want to delete (1). A drawer will open on the right side of the browser asking you to confirm that you want to delete the vocabulary (2). To delete, click the Confirm delete button, and to cancel, simply close the drawer.
From the edit vocabulary page, you can click the large red Delete button in the upper right-hand corner of the page. This will open a drawer which will ask you to confirm the deletion. To delete, click the Confirm delete button, and to cancel, simply close the drawer.