Skip to content

Commit

Permalink
generate ontology documentation, part of #3
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradHoeffner committed Nov 27, 2023
1 parent 5ad6bfe commit 5d8df4d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Generate and Publish Ontology Documentation

on:
workflow_dispatch:
push:
branches:
- master

jobs:
doc:
runs-on: ubuntu-latest
env:
WIDOCO_DOWNLOAD_URL: https://github.com/dgarijo/Widoco/releases/download/v1.4.20/widoco-1.4.20-jar-with-dependencies_JDK-17.jar
steps:
- uses: actions/checkout@v4
- name: Cache Widoco
uses: actions/cache@v3
with:
path: jar
key: ${{ env.WIDOCO_DOWNLOAD_URL }}

- name: Download Widoco if it doesn't exist
# wget --no-clobber has exit code 1
run: |
mkdir -p jar
if test -f jar/widoco.jar; then echo "Widoco already exists, skipping download."; exit 0; fi
wget $WIDOCO_DOWNLOAD_URL --progress=dot:giga --output-document=jar/widoco.jar
- name: Run Widoco
run: java -jar jar/widoco.jar -ontFile annodc.owl -rewriteAll -uniteSections -getOntologyMetadata -outFolder .

- name: Rename index-en.html to index.html
run: mv doc/index-en.html doc/index.html

- name: Deploy Documentation to gh-pages branch
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: doc
single-commit: true
1 change: 1 addition & 0 deletions annodc.owl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<dct:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2023-08-24</dct:created>
<bibo:status rdf:resource="http://purl.org/ontology/bibo/status/published"/>
<rdfs:seeAlso rdf:resource="https://zenodo.org/record/8380382"/>
<rdfs:seeAlso rdf:resource="https://ols.imise.uni-leipzig.de/ontologies/anno"/>
<rdfs:label xml:lang="en">Anthropological Notation Ontology</rdfs:label>
<dct:abstract xml:lang="en">The Anthropological Notation Ontology (ANNO) allows the systematic and standardized classification of recovered bone finds into the skeletal system, the description of the skeletal pieces, and the definition of functions for the derivation of different phenotypes of humans in forensic and historical anthropology. ANNO consists of two components: ANNOdc, a domain-core ontology providing core entities such as basic anatomical categories, and ANNOds, a domain-specific ontology used for annotating structures of the human skeleton. ANNO is integrated into AnthroWorks3D, a photogrammetry pipeline and application for the creation and analysis of 3D-models of human skeletal remains. The integration is based on the three-ontology method with the General Formal Ontology as the top-level ontology, ANNOdc as the task ontology and ANNOds as the domain ontology. Thus, AnthroWorks3D only needs to implement access to the entities (classes and properties) of the task ontology, whereas the entities of the corresponding domain ontology are imported dynamically. ANNO supports the analysis of skeletal and bone finds in forensic and historical anthropology, facilitating the standardization of data annotation and ensuring accurate preservation of information for posterity.</dct:abstract>
<dct:description xml:lang="en">The Anthropological Notation Ontology (ANNO) allows the systematic and standardized classification of recovered bone finds into the skeletal system, the description of the skeletal pieces, and the definition of functions for the derivation of different phenotypes of humans in forensic and historical anthropology.</dct:description>
Expand Down

0 comments on commit 5d8df4d

Please sign in to comment.