Web Ontology Language OWL is modeling language used to author ontologies.

OWL is used for building ontologies, whereas LinkML is a schema language. Nevertheless, it can be useful to render Schemas as OWL (and in fact many semantic web schemas such as PROV have an OWL or RDFS rendering)

See also

The linkml-owl maps between LinkML data and OWL


The OWL is rendered as RDF/turtle. We recommend the suffix .owl.ttl to distinguish from the direct RDF mapping


  • Each LinkML class maps to an OWL class

  • Each LinkML slot maps to an OWL property

    • if the range of the slot is class, then an ObjectProperty is used

    • otherwise DataProperty is used

    • Exception to the above: if type_objects is set then ObjectProperties are always used

  • OWL restrictions are used for cardinality and range constraints

    • only (universal restrictions) is used for ranges

    • If a slot is not multivalued then a max 1 cardinality restrictions are used

    • required non-multivalued slots have an exactly 1 cardinality restriction

    • required multivalued slots have a min 1 cardinality restriction

    • it should be understood that OWL follows the Open World Assumption, thus OWL reasoners enforce a weaker model

  • Each LinkML element is rendered as an instance of the relevant metamodel class

    • This means punning is used

    • Set metaclass=False if you do not want this behavior


The current default settings for metaclasses and type_objects may change in the future


Command Line