OWL Ontology, with its documentation website, for the EURAKNOS and EUREKA projects.
Access the Euraknos ontology documentation at https://maastrichtu-ids.github.io/euraknos-ontology ๐
The documentation website will be updated automatically when a change is made to the euraknos-ontology.owl file on the master
branch ๐
Install Ontospy:
pip install ontospy[FULL]
See Ontospy official documentation for more details.
Clone the repository:
git clone https://github.com/MaastrichtU-IDS/euraknos-ontology.git
cd euraknos-ontology
We are generating 4 differents types of documentation/visualization in subfolders of the docs/
folder. The folder where the documentation will be generated needs to exist:
mkdir -p docs/summary
ontospy gendocs -o docs/summary --type 1 --nobrowser euraknos-ontology.owl
mkdir -p docs/browse
ontospy gendocs -o docs/browse --type 2 --nobrowser euraknos-ontology.owl
mkdir -p docs/classtree
ontospy gendocs -o docs/classtree --type 4 --nobrowser euraknos-ontology.owl
mkdir -p docs/graph
ontospy gendocs -o docs/graph --type 10 --nobrowser euraknos-ontology.owl
# Try a new visualization
mkdir -p docs/new
ontospy gendocs -o docs/new --nobrowser euraknos-ontology.owl
See the source code for more details on parameters.
The Graph visualisation can be improved at:
- https://github.com/lambdamusic/Ontospy/blob/master/ontospy/ontodocs/viz/viz_html_multi.py
- https://github.com/lambdamusic/Ontospy/blob/master/ontospy/ontodocs/media/templates/misc/sigmajs.html
WebVOWL, d3.js graph viewer: