Skip to content

A VOWL view on the Apprenticeship model

Two crowds look at the same business domain and draw it differently. Fact modellers draw sentences: "Student 'Peter Johnson' lives in City 'Delft'." Ontologists draw classes and properties, and they have a notation for it — VOWL 2, the one WebVOWL renders when you drop an OWL file on it.

The picture below is the Apprenticeship model you know, said in their language. Nothing was converted, exported or re-modelled: it is the same repository, drawn on the Ontology tab next to the Fact Model, the UML classes and the ERD.

apprenticeship vowl2

Reading the picture

Blue ellipses are classes. Student, Apprenticeship, City, Graduate — the object types of the fact model. A darker blue marks a class that comes from another vocabulary, grey one that has been deprecated.

Yellow rectangles are datatypes, one per property, the way VOWL prescribes: char(5), integer, date. Not one shared "string" node with a dozen arrows into it, but a box per property, so each arrow is readable on its own.

Green labels are datatype properties — the fact types that tie an object type to a value. firstname, city_name, Graduation Date.

Blue labels are object properties — the fact types between two object types. lives in, Apprenticeship City, Student Buddy.

(functional) under a property means each subject has at most one value. It is not a separate modelling act: it is the uniqueness constraint that was already on that role. (inverse functional) is the same statement read the other way — the value identifies the subject.

The dotted grey "Subclass of" arrows are the subtype roles. Graduate and Alumni are Students, and they say so in the fact model already.

The dashed line marked ⊥ says those subclasses are disjoint — nobody is both at once. In the fact model that is the exclusion between the two subtype roles; ontologists write it as owl:disjointWith.

Why this matters

A conceptual model earns its keep by being understood by the people who own the subject matter. That is why fact models verbalise: a domain expert can read a sentence and say "no, a student can have three preferences" without learning a notation first.

But the model rarely stops at the conceptual layer. It goes to a database, to an API, to a data catalogue — and increasingly to a knowledge graph, where the audience is not the domain expert but the semantic-web engineer. That engineer does not read fact sentences. They read classes, properties, domains, ranges and cardinalities, and they expect the picture to look like the ones in the OWL literature.

So give them that picture, from the same model. No second model to keep in sync, no translation step that drifts. Switch a tab.

It goes both ways

The same mapping runs in reverse. A Turtle (.ttl) file — an ontology, a SKOS vocabulary — imports straight into a repository:

In the ontologyIn the fact model
owl:Class object type / concept
owl:DatatypeProperty fact type with a value type
owl:ObjectProperty binary fact type between two object types
a pair joined by owl:inverseOf one fact type with two readings
a property from a class to itself a ring fact type, with its ring constraint
rdfs:subClassOf subtype role
owl:unionOf as a domain or range a generalised object type "A or B"
skos:broader / narrower generalisation between concepts
SHACL sh:minCount / sh:maxCount totality and uniqueness constraints

The predicate's own name lands on the roles, so the model reads the way the ontology stated it, and every statement the fact model has no slot for — version info, creators, licences, source rules, deprecation notes — is kept as an attribute on the element it belonged to. What genuinely has no place in the model is listed in the import log rather than silently dropped.

Export the result and you get your ontology back: classes, properties, owl:unionOf for the generalisations, SHACL shapes for the constraints.

The catch worth knowing

VOWL shows an ontology's structure. It does not show everything a fact model knows, and it is not meant to: population, verbalisations, the objectified fact types drawn as first-class citizens, subset and value constraints in their full form. When the fact model says "the apprenticeship assigned to a student must be one of the three the student listed", VOWL has no arrow for that, and nothing is gained by inventing one.

Use it for what it is: the view that lets someone from the ontology world look at your model and recognise it immediately — and the sanity check that your model still says what you meant after a round trip through OWL.


The model in this article — apprenticeship.ig and its exports — is part of the CaseTalk example models, CC BY 4.0. Open it, press the Ontology tab, and the picture above is what you get.