This repository contains everything related to the EMO BON ontology
Update: semantic artefacts are now maintained at https://github.com/emo-bon/ns
+/data/
: Directory where EMO BON data translated to RDF (turtle syntax) is stored+/exampleData
: This where example data that are used by EMO BON is store. This is for information purpose and is not actually used.+/ontology
: This where the EMO BON ontology is created. The ontology is created using Protege and stored as RDF/XML syntax. For ontologies RDF/XML is preferred to Turtle syntax since some OWL axioms cannot be stored in Turtle syntax.+/ontology/dependencies
: This is where dependent ontologies on which the EMO BON ontology is based are stored. This is mostly for information purposes. That is the EMO BON ontology does not import these ontologies, but just use relevant classes and properties directly by referring to the appropriate IRI. The/ontology/dependencies/envo
directory is used to create an extract of the ENVO ontology.+/ontology/extracts
: Currently the only extract is from the ENVO ontology. This is used to validate biome data.+/queries
: Here example SPARQL queries are provided to illustrate how data can be queries.+/shacl
: The SHACL shapes for validating the data is provided here.+/shacl-validator
: Unfortunately the GraphDB workbench does not provide an easy why to update SHACL shapes. This directory contains minimal Java code to enable updates of the SHACL shapes graph in GraphDB.+/uml
: A conceptual model of the EMO BON data model is provided as a UML class diagram.
The current steps assume the use of Ontotext Graph DB. Steps on how to update GraphDB with SHACL shapes etc are given here.
- Load ontologies into their own named graph, i.e. https://www.embrc.eu/emobon/ontology using the GraphDB workbench
- ./ontology/extracts/envo-module.owl
- ./ontology/EmoBonOntology.rdf
- Load SHACL shapes. See update SHACL shape
- Load data using GraphDB workbench.
Pre-requisite: Ensure that ROBOT is installed.
- Change directory to where copy of ENVO is kept:
cd ./ontology/dependencies/envo
- Dowload latest ENVO:
wget http://purl.obolibrary.org/obo/envo.owl
- Change directory to where ENVO extract is kept:
cd ./ontology/extracts
- Run extraction script:
generateExtracts.sh
- You should now have a new
envo-module.owl
in./ontology/extracts/
that can be imported into your RDF triple store.