Ontology Pipelines with ROBOT and SPARQL¶
Warning¶
These materials are under construction and may be incomplete.
Prerequisites¶
- Install ROBOT so you can use it outside of Docker (scroll down to the end of the ROBOT page to find the Windows instructions)
- Optional Install ODK. The ODK includes ROBOT. In the more advanced parts of the course, you will need the ODK installed for some of the other dependencies it includes, and for Windows users it is often easier to follow the tutorials from inside the docker container rather than the Windows CMD.
- Familiarise yourself with the ROBOT documentation, to the point that you are aware of the various commands that exist.
Tutorials¶
- Complete the ROBOT Mini-Tutorial 1 to learn your first ROBOT commands:
convert
,extract
andtemplate
- Complete the ROBOT Mini-Tutorial 2 to learn about
annotate
,merge
,reason
anddiff
- Complete Running Basic SPARQL Queries tutorial (~45 minutes - 1 hour)
What is delivered as part of the course¶
There are two basic ways to edit an ontology: 1. Manually, using tools such as Protege, or 2. Using computational tools such as ROBOT.
Both have their advantages and disadvantages: manual curation is often more practical when the required ontology change follows a non-standard pattern, such as adding a textual definition or a synonym, while automated approaches are usually much more scalable (ensure that all axioms in the ontology are consistent, or that imported terms from external ontologies are up-to-date or that all labels start with a lower-case letter).
Here, we will do a first dive into the "computational tools" side of the edit process. We strongly believe that the modern ontology curator should have a basic set of computational tools in their Semantic Engineering toolbox, and many of the lessons in this course should apply to this role of the modern ontology curator.
ROBOT is one of the most important tools in the Semantic Engineering Toolbox. For a bit more background on the tool, please refer to the paper ROBOT: A Tool for Automating Ontology Workflows.
We also recommend to get a basic familiarity with SPARQL, the query language of the semantic web, that can be a powerful combination with ROBOT to perform changes and quality control checks on your ontology.