Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.17 KB

README.md

File metadata and controls

56 lines (36 loc) · 2.17 KB

Generate documentation

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 🔃

Generate docs locally

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:

See also

WebVOWL, d3.js graph viewer:

http://www.visualdataweb.de/webvowl/#iri=https://raw.githubusercontent.com/MaastrichtU-IDS/euraknos-ontology/master/euraknos-ontology.owl