|
Technical description - OWL for Reference data development
|
The OWL language has many capabilities. This section is a brief overview of the subset of the OWL language used for defining the PLCS Reference Data and does not attempt to cover the entire language. OWL is an XML application layered over RDF (Resource Description Framework) each adding specific capabilities:
OWL then pulls together the bits from these other W3C standards and adds more powerful concepts for defining vocabularies, set theory concepts, individuals and the rest. Because of this layering, the XML Namespaces associated with these other standards appear in OWL XML documents.
As a kind of conformance class or to allow levels of implementation, there are three kinds of OWL specified in the standard: OWL Lite, OWL DL and OWL Full. OWL DL builds on OWL Lite, and OWL Full builds on OWL Full. For the purposes of created Reference Data, OWL DL is the kind of OWL we would like to use. The “DL” in OWL DL is “Description Logic”. There are reasoners and inference engines that understand DL but far fewer understand OWL Full. Therefore, the decision to use OWL DL is a purely practical choice. The software tools supporting OWL can report whether the ontology is DL or not.
The core concepts in OWL used for specifying the PLCS Reference Data are:
This section explains how to specify some typical modeling concepts using OWL. While OWL is similar in nature to other languages such as EXPRESS or UML, it has its own focus. Therefore, every concept modelers use in those languages is not necessarily available in OWL.
<owl:Class rdf:about="#HumanBeing">
<owl:equivalentClass>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="#MalePerson"/>
<owl:Class rdf:about="#FemalePerson"/>
</owl:unionOf>
</owl:Class>
</owl:equivalentClass>
</owl:Class>
<owl:Class rdf:about="#MalePerson">
<rdfs:subClassOf rdf:resource="#HumanBeing"/>
<owl:disjointWith rdf:resource="#FemalePerson"/>
</owl:Class>
<owl:Class rdf:about="#FemalePerson">
<rdfs:subClassOf rdf:resource="#HumanBeing"/>
<owl:disjointWith rdf:resource="#MalePerson"/>
</owl:Class>
OWL Web Ontology Language Guide (http://www.w3.org/TR/owl-guide/)
OWL Web Ontology Language Reference Guide (http://www.w3.org/TR/owl-ref/)
OWL Web Ontology Language Overview (http://www.w3.org/TR/owl-features/)