Skip to content

Ontology

The ontology can be browsed at https://eclipse-dataspace-cap.github.io/cap-ontology

The full ontology can be downloaded in:

Visualisation

A 3rd-party visualisation tool is available here.

Image webVOWL

For Developer

How to load the ontology

Using rdflib

import rdflib  # rdflib==7.1.1
g= rdflib.Graph()
g.parse("ontology.owl.ttl")
for s, p, o in g:
    print(s, p, o)

Using owlready2

from owlready2 import get_ontology  # owlready2==0.47
onto = get_ontology("file://ontology.owl.xml").load()
for classe in onto.classes():
    print(classe, classe.iri)