Skip to content

UUDigitalHumanitieslab/edpop-collection-ontology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDPOP collection ontology

DOI

This repository describes an OWL ontology that is used in the EDPOP VRE.

Introduction

In the EDPOP VRE, users can create collections of resources and annotate them. This ontology describes the vocabulary and relationships that is used to manage collections and annotations.

The collection ontology is agnostic to the type of resources that are being collected and annotated. The EDPOP VRE allows users to collect and annotate records in bibliographical catalogues, you could use this vocabulary to describe collections of any linked data resources.

This means that this ontology does not describe the structure of bibliographical data used in EDPOP - that is described in the EDPOP record ontology.

Related vocabularies

The ontology relies heavily on existing vocabularies. It is recommended that you familiarise yourself with these specifications before building implementations on the EDPOP collection ontology.

Content

Repository contents

This repository contains:

  • ontology.ttl: A formal, machine-readable description of the ontology
  • guidelines: A lengthy description of how the ontology can be used in a research environment.
  • example.ttl: An small graph that implements the ontology.
  • test_validate.py: A python test that verifies the turtle files in the repository are valid.

File formats

The ontology.ttl and example.ttl are Turtle files. They describe RDF graphs.

Tests are written as Python scripts (more detail below).

Unit tests

The repository contains tests written in Python. These verify that the turtle files can be parsed without errors, which is useful for detecting typos. The tests do not verify the semantics of the ontology, such as whether it implements OWL correctly.

Tests are implemented in pytest and located in the tests directory.

Python 3.8 or higher is required. You will also need pip to install packages. You can install packages with

pip install tests/requirements.txt

After that, run tests with

pytest

Licence

This work is licensed under a Creative Commons 4.0 Attribution Licence. See LICENCE.

Citation

If you wish to cite this ontology, please use the metadata provided in CITATION.cff.