You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3608 lines
136 KiB
3608 lines
136 KiB
<?xml version="1.0" encoding="iso-8859-1" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>OWL Web Ontology Language XML Presentation Syntax</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<link href="owl-xml.css" rel="stylesheet" type="text/css" />
|
|
<link href="http://www.w3.org/StyleSheets/TR/W3C-NOTE"
|
|
rel="stylesheet" type="text/css" />
|
|
</head>
|
|
|
|
<body>
|
|
<div class="head"><a href="http://www.w3.org/"><img height="48"
|
|
width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home" /></a>
|
|
|
|
<h1>OWL Web Ontology Language <br/> XML Presentation Syntax</h1>
|
|
|
|
<h2>W3C Note 11 June 2003</h2>
|
|
|
|
<div id="owl_2_notice" style="border: solid black 1px; padding: 0.5em; background: #FFB;">
|
|
|
|
<p style="margin-top: 0; font-weight: bold;">New Version
|
|
Available: OWL 2 <span style="padding-left: 2em;"></span>
|
|
(Document Status Update, 12 November 2009)</p>
|
|
|
|
<p style="margin-bottom: 0;">The OWL Working Group has produced
|
|
a W3C Recommendation for a new version of OWL which adds
|
|
features to this 2004 version, while remaining compatible.
|
|
Please see <a href="http://www.w3.org/TR/owl2-overview">OWL 2
|
|
Document Overview</a> for an introduction to OWL 2 and a guide
|
|
to the OWL 2 document set.</p>
|
|
|
|
</div>
|
|
|
|
<dl>
|
|
<dt>This version:</dt>
|
|
<dd><a href="http://www.w3.org/TR/2003/NOTE-owl-xmlsyntax-20030611/">http://www.w3.org/TR/2003/NOTE-owl-xmlsyntax-20030611/</a></dd>
|
|
|
|
<dt>Latest version:</dt>
|
|
<dd><a href="http://www.w3.org/TR/owl-xmlsyntax/">http://www.w3.org/TR/owl-xmlsyntax/</a></dd>
|
|
|
|
<!--
|
|
<dt>Previous version:</dt>
|
|
<dd><a href="http://www.w3.org/TR/2003/NOTE-owl-xmlsyntax-20030611/">http://www.w3.org/TR/2003/NOTE-owl-xmlsyntax-20030611/</a></dd>
|
|
-->
|
|
|
|
<dt>Authors:</dt>
|
|
<dd><a href="mailto:horim@res.kutc.kansai-u.ac.jp">Masahiro Hori</a>,
|
|
Kansai University (formerly IBM Tokyo Research)
|
|
</dd>
|
|
<dd><a href="mailto:Jerome.Euzenat@inrialpes.fr">Jérôme Euzenat</a>,
|
|
INRIA Rhône-Alpes
|
|
</dd>
|
|
<dd><a href="mailto:pfps@research.bell-labs.com">Peter F. Patel-Schneider</a>,
|
|
Bell Labs Research, Lucent Technologies
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"> Copyright</a> © 2003 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.lcs.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>, <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</a> rules apply.</p>
|
|
|
|
<hr />
|
|
</div>
|
|
|
|
<!-- ================================================================== -->
|
|
<h2>Abstract</h2>
|
|
<p>
|
|
This document specifies XML presentation syntax for OWL,
|
|
which is defined as a dialect similar to OWL Abstract Syntax
|
|
[<a href="apd-others.html#OWL-Semantics">OWL Semantics</a>].
|
|
It is not intended to be a normative specification. Instead,
|
|
it represents a suggestion of one possible XML presentation
|
|
syntax for OWL.</p>
|
|
|
|
|
|
<div class="status">
|
|
<h2>Status of This Document</h2>
|
|
|
|
<p><i>This section describes the status of this document at the time of its
|
|
publication. Other documents may supersede this document. The latest status
|
|
of this document series is maintained at the W3C.</i></p>
|
|
|
|
<p>This document has been produced as part of the
|
|
<a href="http://www.w3.org/2001/sw/">W3C Semantic Web Activity</a>
|
|
(<a href="http://www.w3.org/2001/sw/Activity">Activity Statement</a>)
|
|
following the procedures set out for the
|
|
<a href="http://www.w3.org/Consortium/Process/Process-19991111/">W3C
|
|
Process</a>. The goals of the Web Ontology working group are
|
|
discussed in the
|
|
<a href="http://www.w3.org/2001/sw/WebOnt/charter">Web Ontology
|
|
Working Group charter</a>.
|
|
</p>
|
|
|
|
<p>This version is based on the Working Drafts dated on 31 March:
|
|
<a href="http://www.w3.org/TR/2003/WD-owl-semantics-20030331/">
|
|
OWL Web Ontology Language Semantics and Abstract Syntax</a>,
|
|
<a href="http://www.w3.org/TR/2003/WD-owl-ref-20030331/">
|
|
OWL Web Ontology Language Reference</a>, and
|
|
<a href="http://www.w3.org/TR/2003/WD-owl-guide-20030331/">
|
|
OWL Web Ontology Language Guide</a>.
|
|
<!--
|
|
With respect to XML Schema, the current Schema is based on the
|
|
<a href="http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/">RDF Model and
|
|
Syntax Specification</a> and the <a
|
|
href="http://www.w3.org/TR/rdf-schema/">RDF Schema Candidate Recommendation
|
|
dated 27th March 2000</a>.
|
|
-->
|
|
</p>
|
|
|
|
<p>There are no <a href="http://www.w3.org/2001/sw/WebOnt/discl"
|
|
rel="disclosure">patent disclosures related to this work</a> at
|
|
the time of this writing.</p>
|
|
|
|
<p>The authors welcome comments on this document, but does not guarantee
|
|
a reply or any further action. Please send comments on this draft to
|
|
<a href="mailto:public-webont-comments@w3.org">public-webont-comments@w3.org</a>;
|
|
<a href="http://lists.w3.org/Archives/Public/public-webont-comments/">public
|
|
archives</a> are available. This document may be updated or added to based
|
|
on implementation experience, but no commitment is made by the W3C, or
|
|
any of its members, regarding future updates.</p>
|
|
|
|
<p>This document is a NOTE made available by the W3C for discussion only.
|
|
Publication of this Note by W3C indicates no endorsement by W3C or the
|
|
W3C Team, or any W3C Members. A list of current W3C technical reports
|
|
and publications, including Working Drafts and Notes, can be found at
|
|
<a href="http://www.w3.org/TR/">http://www.w3.org/TR/</a>.</p>
|
|
</div>
|
|
|
|
|
|
<h2 id="toc">Table of Contents</h2>
|
|
<ul class="toc">
|
|
<li>1. <a href="#sec-intro">Introduction</a>
|
|
<ul class="toc">
|
|
<li>1.1 <a href="#subsec-struc">OWL Document Structure</a></li>
|
|
<li>1.2 <a href="#subsec-notation">Notational Conventions</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>2. <a href="#sec-elements">Element Reference</a>
|
|
<ul class="toc">
|
|
<li>2.1 <a href="#sec-root">The Root Element</a></li>
|
|
<li>2.2 <a href="#sec-header">Header Elements</a></li>
|
|
<li>2.3 <a href="#sec-class">Classes</a>
|
|
<ul class="toc">
|
|
<li>2.3.1 <a href="#subsec-classDesc">Class descriptions</a></li>
|
|
<li>2.3.2 <a href="#subsec-propRest">Property restrictions</a></li>
|
|
<li>2.3.3 <a href="#subsec-enumObject">Enumeration of individuals</a></li>
|
|
<li>2.3.4 <a href="#subsec-boolComb">Boolean combination</a></li>
|
|
<li>2.3.5 <a href="#subsec-classRel">Class relationship</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>2.4 <a href="#sec-prop">Properties</a></li>
|
|
<li>2.5 <a href="#sec-indiv">Individuals</a>
|
|
<ul class="toc">
|
|
<li>2.5.1 <a href="#indivAxiom">Individual axioms</a></li>
|
|
<li>2.5.2 <a href="#indivIdentity">Individual identity</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>2.6 <a href="#sec-datatypes">Datatypes</a>
|
|
<ul class="toc">
|
|
<li>2.6.1 <a href="#subsec-dataValue">Data value</a></li>
|
|
<li>2.6.2 <a href="#subsec-enumData">Enumeration of data values</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>3. <a href="#sec-terms">Element Index and Cross Reference</a>
|
|
<ul class="toc">
|
|
<li>3.1 <a href="#subsec-index">Element Index</a></li>
|
|
<li>3.2 <a href="#subsec-cross">Cross Reference</a></li>
|
|
</ul>
|
|
<p></p>
|
|
</li>
|
|
<li>Appendix A. <a href="apd-schema.html">XML Schemas</a></li>
|
|
<li>Appendix B. <a href="apd-example.html">OWL Examples in XML Syntax</a></li>
|
|
<li>Appendix C. <a href="apd-others.html">Transformation to OWL in RDF/XML</a></li>
|
|
<li>Appendix D. <a href="apd-others.html#ack">Acknowledgements</a></li>
|
|
<li>Appendix E. <a href="apd-others.html#bibl">References</a></li>
|
|
<li>Appendix F. <a href="apd-others.html#log">Change Log</a></li>
|
|
</ul>
|
|
|
|
<hr />
|
|
|
|
<!-- ================================================================== -->
|
|
<h2 id="sec-intro">1 Introduction</h2>
|
|
|
|
<p>This document specifies XML presentation syntax for OWL,
|
|
which is defined as a dialect similar to OWL Abstract Syntax
|
|
[<a href="apd-others.html#OWL-Semantics">OWL Semantics</a>].
|
|
The OWL language provides three increasingly expressive
|
|
sublanguages: OWL Lite, OWL DL, and OWL Full.
|
|
This document provides XML Schemas for XML presentation
|
|
syntax corresponding to the three sublanguages. Each of the
|
|
sublanguages is an extension of its simpler predecessor,
|
|
and the following relations hold but the inverses do not.</p>
|
|
<ul>
|
|
<li>Every document valid against the XML Schema of OWL Lite
|
|
is valid against the XML Schema of OWL DL.</li>
|
|
<li>Every document valid against the XML Schema of OWL DL
|
|
is valid against the XML Schema of OWL Full.</li>
|
|
</ul>
|
|
|
|
<p>Three Schemas are defined for the sublanguages: OWL Lite
|
|
(owl1-lite.xsd), OWL DL (owl1-dl.xsd), and OWL Full
|
|
(owl1-full.xsd). The definitions of these Schemas are
|
|
given in <a href="apd-schema.html">Appendix A</a>.</p>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h3 id="subsec-struc">1.1 OWL Document Structure</h3>
|
|
|
|
<p>The root element of OWL documents for the XML presentation
|
|
syntax must be <b><tt>Ontology</tt></b> element
|
|
(<a href="#sec-root">2.1</a>), and an OWL document further consists
|
|
of optional header elements (<a href="#sec-header">2.2</a>)
|
|
as well as any number of classes (<a href="#sec-class">2.3</a>),
|
|
properties (<a href="#sec-prop">2.4</a>), and individuals
|
|
(<a href="#sec-indiv">2.5</a>).</p>
|
|
|
|
<div class="egLabel" id="eg1_1-1">
|
|
<b>Example 1_1-1</b> (L,D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<?xml version="1.0"?>
|
|
<!DOCTYPE Ontology [
|
|
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
|
|
]>
|
|
<owlx:Ontology owlx:name="http://www.example.org/wine"
|
|
xmlns:owlx="http://www.w3.org/2003/05/owl-xml">
|
|
|
|
<!--
|
|
<i>Contains optional <a href="#sec-header">header elements</a> as well as
|
|
any number of <a href="#sec-class">classes</a>, <a href="#sec-prop">properties</a>, and <a href="#sec-indiv">individuals</a>.</i>
|
|
-->
|
|
|
|
</owlx:Ontology>
|
|
</pre>
|
|
|
|
<p>Attribute values are frequently used for referring to identifiers
|
|
in OWL. Since attribute values are not namespace sensitive, they
|
|
may be written down in their fully expanded form (e.g.,
|
|
<tt>http://www.example.org/owl/wine#merlot</tt>). Alternatively,
|
|
XML entities can be used as abbreviations. In the XML presentation
|
|
syntax, XML Schema datatypes (<a href="#sec-datatypes">2.6</a>) are
|
|
referred to by <tt>owlx:datatype</tt> attributes, and an XML entity
|
|
<tt>&xsd;</tt> can be used for readability.</p>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h3 id="subsec-notation">1.2 Notational Conventions</h3>
|
|
|
|
<p>A number of namespace prefixes are used in this document
|
|
as listed below. Note that the choice of any namespace prefix
|
|
is arbitrary, and not semantically significant.</p>
|
|
|
|
<table cellspacing="0" cellpadding="3" border="1">
|
|
<tbody>
|
|
<tr>
|
|
<th>Prefix</th> <th>Namespace</th> <th>Notes</th>
|
|
</tr>
|
|
<tr>
|
|
<td>owlx</td>
|
|
<td>"http://www.w3.org/2003/05/owl-xml"</td>
|
|
<td>The namespace of the XML presentation syntax of
|
|
OWL defined by this document</td>
|
|
</tr>
|
|
<tr>
|
|
<td>owl</td>
|
|
<td>"http://www.w3.org/2002/07/owl"</td>
|
|
<td>The namespace of OWL in RDF/XML syntax </td>
|
|
</tr>
|
|
<tr>
|
|
<td>xsd</td>
|
|
<td>"http://www.w3.org/2001/XMLSchema"</td>
|
|
<td>The namespace of the XML Schema
|
|
<a href="apd-others.html#XMLSchema-1">[XMLSchema-1]</a> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h2 id="sec-elements">2. Element Reference</h2>
|
|
|
|
<p>All the elements and their attributes and element contents in
|
|
the XML syntax are listed in this section. In order to indicate
|
|
partial availability for OWL sublanguages, subscript enclosed
|
|
within parentheses [e.g., <tt>(L)</tt> and <tt>(D,F)</tt>] may
|
|
be appended to either element names, attribute names, or labels
|
|
for element contents (i.e., <tt><i>Content:</i></tt>).
|
|
For example, <tt>EnumeratedClass<sub>(D,F)</sub></tt> means
|
|
that <tt>EnumeratedClass</tt> element is only available for
|
|
OWL DL and OWL Full.
|
|
Note that all the elements, attributes, and element contents
|
|
without subscript in parentheses means that those constructs
|
|
are available for all the three OWL sublanguages.
|
|
</p>
|
|
|
|
<p>Examples and their brief explanations of OWL statements
|
|
in this section are derived from the Reference document
|
|
[<a href="apd-others.html#OWL-Reference">OWL Reference</a>],
|
|
and more examples in <a href="apd-example.html">Appendix B</a>
|
|
are created on the basis of the Guide document
|
|
[<a href="apd-others.html#OWL-Guide">OWL Guide</a>].
|
|
In addition, element index (<a href="#subsec-index">3.1</a>)
|
|
gives an alphabetical list of elements in the XML presentation
|
|
syntax, and cross reference (<a href="#subsec-cross">3.2</a>)
|
|
shows the correspondence between constructs in RDF/XML syntax
|
|
and elements of XML presentation syntax.
|
|
In <a href="apd-others.html">Appendix C</a>, an XSLT stylesheet
|
|
is given for the transformation from the XML presentation syntax
|
|
toward RDF/XML syntax of OWL.</p>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h3 id="sec-root">2.1 The Root Element</h3>
|
|
|
|
<div class="exampleOuter" id="owls_Ontology">
|
|
<div class="exampleHeader">
|
|
element <b>Ontology</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><Ontology
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content:</i> (<a href="#owls_VersionInfo">VersionInfo</a> | <a href="#owls_PriorVersion">PriorVersion</a> | <a href="#owls_BackwardCompatibleWith">BackwardCompatibleWith</a> |
|
|
<a href="#owls_IncompatibleWith">IncompatibleWith</a> | <a href="#owls_Imports">Imports</a> | <a href="#owls_Annotation">Annotation</a> |
|
|
<a href="#owls_ClassAxiom">Class</a><span class="sup">[axiom]</span> | <a href="#owls_EnumeratedClass">EnumeratedClass</a><span class="sub">(D,F)</span> |
|
|
<a href="#owls_SubClassOf">SubClassOf</a><span class="sub">(D,F)</span> | <a href="#owls_EquivalentClasses">EquivalentClasses</a> | <a href="#owls_DisjointClasses">DisjointClasses</a><span class="sub">(D,F)</span> |
|
|
<a href="#owls_DatatypeProperty">DatatypeProperty</a> | <a href="#owls_ObjectProperty">ObjectProperty</a> |
|
|
<a href="#owls_SubPropertyOf">SubPropertyOf</a> | <a href="#owls_EquivalentProperties">EquivalentProperties</a> |
|
|
<a href="#owls_Individual">Individual</a><span class="sup">[axiom]</span> | <a href="#owls_SameIndividual">SameIndividual</a> | <a href="#owls_DifferentIndividuals">DifferentIndividuals</a>)*
|
|
</Ontology></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - refers to a name of this ontology, which
|
|
is the base URI of this element.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This is the root element of OWL documents in the XML presentation
|
|
syntax, while <tt>rdf:RDF</tt> is used as the document root for
|
|
OWL in RDF/XML.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#Ontology-def">owl:Ontology</a>
|
|
used as a construct for the
|
|
<a href="http://www.w3.org/TR/owl-ref/#Header">header component</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h3 id="sec-header">2.2 Header Elements</h3>
|
|
|
|
<p>The root element <tt>Ontology</tt> may optionally contain,
|
|
in any order, any number of header elements for versioning import
|
|
and/or annotation statements. In the presentation syntax, there is
|
|
no header element in contrast to the RDF/XML syntax in which
|
|
<tt><a href="http://www.w3.org/TR/owl-ref/#Ontology-def">owl:Ontology</a></tt>
|
|
is provided as a construct for the header component.</p>
|
|
|
|
<p>A sample ontology header could look like this (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#Header">3</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_2-1">
|
|
<b>Example 2_2-1</b> (L,D,F)
|
|
</div>
|
|
<!-- owl-ref.xml -->
|
|
<pre class="egOwl">
|
|
<owlx:VersionInfo>2003/02/24 22:37:39</owlx:VersionInfo>
|
|
<owlx:Annotation>
|
|
<owlx:Documentation>An example OWL ontology</owlx:Documentation>
|
|
</owlx:Annotation>
|
|
<owlx:PriorVersion owlx:ontology="http://www.example.org/wine-112102.owl" />
|
|
<owlx:Imports owlx:ontology="http://www.example.org/food.owl"/>
|
|
<owlx:Annotation>
|
|
<owlx:Label>Wine Ontology</owlx:Label>
|
|
</owlx:Annotation>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_VersionInfo">
|
|
<div class="exampleHeader">
|
|
element <b>VersionInfo</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><VersionInfo>
|
|
<i>Content:</i> (#CDATA)
|
|
</VersionInfo></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element contains a string giving information about
|
|
this version such as RCS/CVS keywords.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#versionInfo-def">owl:versionInfo</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_PriorVersion">
|
|
<div class="exampleHeader">
|
|
element <b>PriorVersion</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><PriorVersion
|
|
ontology = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> (##empty)
|
|
</PriorVersion></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">ontology</b> - a reference to a prior ontology</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element contains a reference to another ontology that
|
|
identifies the specified ontology as a prior version of
|
|
the containing ontology.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#priorVersion-def">owl:priorVersion</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_BackwardCompatibleWith">
|
|
<div class="exampleHeader">
|
|
element <b>BackwardCompatibleWith</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><BackwardCompatibleWith
|
|
ontology = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> (##empty)
|
|
</BackwardCompatibleWith></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">ontology</b> - a reference to a backward compatible ontology</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element contains a reference to another ontology that
|
|
identifies the specified ontology as a prior version of
|
|
the containing ontology, and further indicates that it is
|
|
backward compatible with it.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#backwardCompatibleWith-def">owl:backwardCompatibleWith</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_IncompatibleWith">
|
|
<div class="exampleHeader">
|
|
element <b>IncompatibleWith</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><IncompatibleWith
|
|
ontology = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> (##empty)
|
|
</IncompatibleWith></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">ontology</b> - a reference to an incompatible ontology</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element contains a reference to another ontology that indicates
|
|
that the containing ontology is a later version of the referenced
|
|
ontology, but is not backward compatible with it.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#incompatibleWith-def">owl:incompatibleWith</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_Imports">
|
|
<div class="exampleHeader">
|
|
element <b>Imports</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><Imports
|
|
ontology = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> (##empty)
|
|
</Imports></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">ontology</b> - a reference to another ontology</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element refers to another OWL ontology containing definitions,
|
|
whose meaning is considered to be part of the meaning of the
|
|
importing ontology.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#imports-def">owl:imports</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_Annotation">
|
|
<div class="exampleHeader">
|
|
element <b>Annotation</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><Annotation>
|
|
<i>Content:</i> (<a href="#owls_Label">Label</a> | <a href="#owls_Documentation">Documentation</a> | <a href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#declare-openness">xsd:any</a> )*
|
|
</Annotation></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt>,
|
|
<tt><a href="#owls_ClassAxiom">Class</a><sup>[axiom]</sup></tt>,
|
|
<tt><a href="#owls_EnumeratedClass">EnumeratedClass</a><sub>(D,F)</sub></tt>,
|
|
<tt><a href="#owls_DatatypeProperty">DatatypeProperty</a></tt>, <tt><a href="#owls_ObjectProperty">ObjectProperty</a></tt>,
|
|
<tt><a href="#owls_Individual">Individual</a><sup>[axiom]</sup></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element is provided as a place holder for various ways of
|
|
annotations such as <tt>Label</tt> and <tt>Documentation</tt>.
|
|
In particular, this element can take a wildcard element
|
|
(<tt>xsd:any</tt>), which can be in any namespace other than the
|
|
target namespace 'owlx' for the XML presentation syntax Schema
|
|
(http://www.w3.org/2003/05/owl-xml), since <tt>namespace</tt>
|
|
attribute value of the <tt>xsd:any</tt> element is specified as
|
|
<tt>##other</tt> in the Schema declaration.
|
|
In addition, according to the declaration <tt>processContents="lax"</tt>
|
|
in the <tt>xsd:any</tt>, the wildcard element allows an XML Schema
|
|
processor to validate elements for which it can find namespace
|
|
declarations and raise errors if they are invalid. However, the
|
|
processor will not report errors on the elements for which it does
|
|
not find declarations.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_Label">
|
|
<div class="exampleHeader">
|
|
element <b>Label</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><Label
|
|
<a href="http://www.w3.org/TR/REC-xml#sec-lang-tag">xml:lang</a> = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#language">xsd:language</a>
|
|
>
|
|
<i>Content:</i> (#CDATA)
|
|
</Label></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">xml:lang</b> - specifies the language used in the content</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Annotation">Annotation</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element provides a human-readable version name of an annotated
|
|
element. In RDF/XML syntax, this element is mapped to
|
|
<tt><a href="http://www.w3.org/TR/rdf-schema/#ch_label">rdfs:label</a></tt> in [<a href="apd-others.html#RDF_Schema">RDF Schema</a>].</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_Documentation">
|
|
<div class="exampleHeader">
|
|
element <b>Documentation</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><Documentation
|
|
<a href="http://www.w3.org/TR/REC-xml#sec-lang-tag">xml:lang</a> = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#language">xsd:language</a>
|
|
>
|
|
<i>Content:</i> (#CDATA)
|
|
</Documentation></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">xml:lang</b> - specifies the language used in the content</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Annotation">Annotation</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element provides a human-readable description of an annotated
|
|
element. In RDF/XML syntax, this element is mapped to
|
|
<tt><a href="http://www.w3.org/TR/rdf-schema/#ch_comment">rdfs:comment</a></tt> in [<a href="apd-others.html#RDF_Schema">RDF Schema</a>].</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h3 id="sec-class">2.3 Classes</h3>
|
|
|
|
<p>Classes provide an abstraction mechanism for grouping resources
|
|
with similar characteristics. OWL classes are described through
|
|
"class descriptions", which can be combined into "class axioms".
|
|
"Axiom" is a formal term, and may be called "definition" informally.</p>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_ClassAxiom">
|
|
<div class="exampleHeader">
|
|
element <b>Class</b><sup>[axiom]</sup>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><Class
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
complete = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a> {required}
|
|
deprecated = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
>
|
|
<i>Content:</i> (<a href="#owls_Annotation">Annotation</a>*, <i><a href="#owls_description">description</a></i>*)
|
|
</Class></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to a name of this Class<br/>
|
|
<b class="attr">complete</b> - the modality is complete if true, otherwise
|
|
partial. The default value is false.<br/>
|
|
<b class="attr">deprecated</b> - this class is deprecated if true</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element contains non-empty sequence of descriptions, which
|
|
are the basic building blocks of class axioms.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#Class-def">owl:Class</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h4 id="subsec-classDesc">2.3.1 Class descriptions</h4>
|
|
|
|
<p>A class description is the term used in
|
|
[<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
[<a href="apd-others.html#OWL-Semantics">OWL Semantics</a>], and
|
|
used as a basic building block of class axioms (or called
|
|
class definitions informally).</p>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_description">
|
|
<div class="exampleHeader">
|
|
Model group <b><i>description</i></b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre>
|
|
<i>Content:</i> (<a href="#owls_ClassID">Class</a><span class="sup">[ID]</span> | <a href="#owls_DataRestriction">DataRestriction</a> | <a href="#owls_ObjectRestriction">ObjectRestriction</a> | <a href="#owls_UnionOf">UnionOf</a><span class="sub">(D,F)</span> |
|
|
<a href="#owls_IntersectionOf">IntersectionOf</a><span class="sub">(D,F)</span> | <a href="#owls_ComplementOf">ComplementOf</a><span class="sub">(D,F)</span> | <a href="#owls_objOneOf">OneOf</a><span class="sup">[object]</span><span class="sub">(D,F)</span>)</pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_ClassAxiom">Class</a><sup>[axiom]</sup></tt>,
|
|
<tt><a href="#owls_EquivalentClasses">EquivalentClasses</a></tt>,
|
|
<tt><a href="#owls_DisjointClasses">DisjointClasses</a><sub>(D,F)</sub></tt>, <br />
|
|
<tt><a href="#owls_classSub">sub</a><sub>(D,F)</sub></tt>,
|
|
<tt><a href="#owls_classSuper">super</a><sub>(D,F)</sub></tt>,
|
|
<tt><a href="#owls_UnionOf">UnionOf</a><sub>(D,F)</sub></tt>,
|
|
<tt><a href="#owls_IntersectionOf">IntersectionOf</a><sub>(D,F)</sub></tt>,
|
|
<tt><a href="#owls_ComplementOf">ComplementOf</a><sub>(D,F)</sub></tt>, <br />
|
|
<tt><a href="#owls_domain">domain</a><sub>(D,F)</sub></tt>,
|
|
<tt>ObjectProperty/<a href="#owls_objPropRange">range</a><sub>(D,F)</sub></tt>, <br />
|
|
<tt>ObjectRestriction/<a href="#owls_objAllValuesFrom">allValuesFrom</a><sub>(D,F)</sub></tt>, <br />
|
|
<tt>ObjectRestriction/<a href="#owls_objSomeValuesFrom">someValuesFrom</a><sub>(D,F)</sub></tt>,
|
|
<tt><a href="#owls_type">type</a></tt>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>In the XML presentation syntax, a class description is represented
|
|
as a <a href="http://www.w3.org/TR/xmlschema-1/#cModel_Group_Definitions">model group definition</a> of XML Schema
|
|
[<a href="apd-others.html#XMLSchema-1">XMLSchema-1</a>],
|
|
which can be used as a reusable fragment of a content model.
|
|
This model group allows to not only describe a class through
|
|
a name (i.e., a class identifier), but also define an anonymous
|
|
class by means of property restriction, union, intersection,
|
|
complement, and enumeration.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#ClassDescription">4.1</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_ClassID">
|
|
<div class="exampleHeader">
|
|
element <b>Class</b><sup>[ID]</sup>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><Class
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> (##empty)
|
|
</Class></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to a class name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_description"><i>description</i></a></tt>,
|
|
<tt><a href="#owls_EquivalentClasses">EquivalentClasses</a><sub>(L)</sub></tt>,
|
|
<tt><a href="#owls_domain">domain</a><sub>(L)</sub></tt>,
|
|
<tt>ObjectProperty/<a href="#owls_objPropRange">range</a><sub>(L)</sub></tt> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element describes a class through a name.</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="egLabel" id="eg2_3-1">
|
|
<b>Example 2_3-1</b> (L,D,F)
|
|
</div>
|
|
<!-- example-lite.xml -->
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="Student" owlx:complete="false">
|
|
<owlx:Annotation>
|
|
<owlx:Label xml:lang="nl">student</owlx:Label>
|
|
<owlx:Label xml:lang="it">studente</owlx:Label>
|
|
<owlx:Label xml:lang="es">estudiante</owlx:Label>
|
|
<owlx:Documentation xml:lang="en">Undergraduates students</owlx:Documentation>
|
|
</owlx:Annotation>
|
|
<owlx:Class owlx:name="Person" />
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h4 id="subsec-propRest">2.3.2 Property restrictions</h4>
|
|
|
|
<p>A property restriction defines an anonymous class, namely a
|
|
class of all individuals that satisfy the restriction. The XML
|
|
syntax of OWL distinguishes two types of property restrictions:
|
|
<tt><a href="#owls_DataRestriction">DataRestriction</a></tt>
|
|
(restriction on properties for which the range value is a data literal)
|
|
and <tt><a href="#owls_ObjectRestriction">ObjectRestriction</a></tt>
|
|
(restriction on properties for which the range value is an
|
|
individual).</p>
|
|
|
|
<div class="egLabel" id="eg2_3-2">
|
|
<b>Example 2_3-2</b> (D,F)
|
|
</div>
|
|
<!-- example-dl.xml -->
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="Student" owlx:complete="false">
|
|
<owlx:Class owlx:name="Person" />
|
|
|
|
<owlx:<span class="boldnavy">DataRestriction</span> owlx:property="studentID">
|
|
<owlx:cardinality owlx:value="1" />
|
|
<owlx:allValuesFrom owlx:datatype="&xsd;integer" />
|
|
</owlx:DataRestriction>
|
|
|
|
<owlx:<span class="boldnavy">DataRestriction</span> owlx:property="grade">
|
|
<owlx:cardinality owlx:value="1" />
|
|
<owlx:allValuesFrom>
|
|
<owlx:OneOf>
|
|
<owlx:DataValue owlx:datatype="&xsd;integer">1</owlx:DataValue>
|
|
<owlx:DataValue owlx:datatype="&xsd;integer">2</owlx:DataValue>
|
|
<owlx:DataValue owlx:datatype="&xsd;integer">3</owlx:DataValue>
|
|
<owlx:DataValue owlx:datatype="&xsd;integer">4</owlx:DataValue>
|
|
</owlx:OneOf>
|
|
</owlx:allValuesFrom>
|
|
</owlx:DataRestriction>
|
|
|
|
<owlx:<span class="boldnavy">ObjectRestriction</span> owlx:property="schoolYear">
|
|
<owlx:cardinality owlx:value="1" />
|
|
<owlx:allValuesFrom>
|
|
<owlx:OneOf>
|
|
<owlx:Individual owlx:name="Freshman" />
|
|
<owlx:Individual owlx:name="Sophomore" />
|
|
<owlx:Individual owlx:name="Junior" />
|
|
<owlx:Individual owlx:name="Senior" />
|
|
</owlx:OneOf>
|
|
</owlx:allValuesFrom>
|
|
</owlx:ObjectRestriction>
|
|
|
|
<owlx:<span class="boldnavy">ObjectRestriction</span> owlx:property="advisor">
|
|
<owlx:minCardinality owlx:value="1" />
|
|
<owlx:allValuesFrom owlx:class="Person" />
|
|
<owlx:someValuesFrom>
|
|
<owlx:Class owlx:name="Professor" />
|
|
<owlx:Class owlx:name="AssociateProfessor" />
|
|
</owlx:someValuesFrom>
|
|
</owlx:ObjectRestriction>
|
|
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_DataRestriction">
|
|
<div class="exampleHeader">
|
|
element <b>DataRestriction</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><DataRestriction
|
|
property = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content</i><span class="sub">(L)</span><i>:</i> ( (<a href="#owls_minCardinality">minCardinality</a> | <a href="#owls_maxCardinality">maxCardinality</a> | <a href="#owls_cardinality">cardinality</a> |
|
|
<a href="#owls_dataAllValuesFrom">allValuesFrom</a> | <a href="#owls_dataSomeValuesFrom">someValuesFrom</a>) )
|
|
<i>Content</i><span class="sub">(D,F)</span><i>:</i> ( (<a href="#owls_minCardinality">minCardinality</a> | <a href="#owls_maxCardinality">maxCardinality</a> | <a href="#owls_cardinality">cardinality</a> |
|
|
<a href="#owls_dataAllValuesFrom">allValuesFrom</a> | <a href="#owls_dataSomeValuesFrom">someValuesFrom</a> | <a href="#owls_dataHasValue">hasValue</a>)+ )
|
|
</DataRestriction></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">property</b> - a reference to a property name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_description"><i>description</i></a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element declares restrictions on
|
|
<tt><a href="#owls_DatatypeProperty">DatatypeProperty</a></tt>
|
|
(properties for which the range value is a data literal).
|
|
The restrictions must have exactly one content element for
|
|
OWL Lite, while they must have at least one content element
|
|
for OWL DL and Full.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td>
|
|
<a href="http://www.w3.org/TR/owl-ref/#Restriction-def">owl:Restriction</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#minCardinality-def">owl:minCardinality</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#maxCardinality-def">owl:maxCardinality</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#cardinality-def">owl:cardinality</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#allValuesFrom-def">owl:allValuesFrom</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#someValuesFrom-def">owl:someValuesFrom</a>,
|
|
and <a href="http://www.w3.org/TR/owl-ref/#hasValue-def">owl:hasValue</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_minCardinality">
|
|
<div class="exampleHeader">
|
|
element <b>minCardinality</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><minCardinality
|
|
value<span class="sub">(L)</span> = either '0' or '1' {required}
|
|
value<span class="sub">(D,F)</span> = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#nonNegativeInteger">xsd:nonNegativeInteger</a> {required}
|
|
>
|
|
<i>Content:</i> ( ##empty )
|
|
</minCardinality></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">value</b> - a minimum cardinality value</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_DataRestriction">DataRestriction</a></tt>,
|
|
<tt><a href="#owls_ObjectRestriction">ObjectRestriction</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element declares restriction on a minimum cardinality value.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td>
|
|
<a href="http://www.w3.org/TR/owl-ref/#minCardinality-def">owl:minCardinality</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_maxCardinality">
|
|
<div class="exampleHeader">
|
|
element <b>maxCardinality</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><maxCardinality
|
|
value<span class="sub">(L)</span> = either '0' or '1' {required}
|
|
value<span class="sub">(D,F)</span> = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#nonNegativeInteger">xsd:nonNegativeInteger</a> {required}
|
|
>
|
|
<i>Content:</i> ( ##empty )
|
|
</maxCardinality></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">value</b> - a maximum cardinality value</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_DataRestriction">DataRestriction</a></tt>,
|
|
<tt><a href="#owls_ObjectRestriction">ObjectRestriction</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element declares restriction on a maximum cardinality value.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td>
|
|
<a href="http://www.w3.org/TR/owl-ref/#maxCardinality-def">owl:maxCardinality</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_cardinality">
|
|
<div class="exampleHeader">
|
|
element <b>cardinality</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><cardinality
|
|
value<span class="sub">(L)</span> = either '0' or '1' {required}
|
|
value<span class="sub">(D,F)</span> = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#nonNegativeInteger">xsd:nonNegativeInteger</a> {required}
|
|
>
|
|
<i>Content:</i> ( ##empty )
|
|
</cardinality></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">value</b> - a cardinality value</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_DataRestriction">DataRestriction</a></tt>,
|
|
<tt><a href="#owls_ObjectRestriction">ObjectRestriction</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element declares restriction on a cardinality value.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td>
|
|
<a href="http://www.w3.org/TR/owl-ref/#cardinality-def">owl:cardinality</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_dataAllValuesFrom">
|
|
<div class="exampleHeader">
|
|
element DataRestriction/<b>allValuesFrom</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><allValuesFrom
|
|
datatype = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content</i><span class="sub">(D,F)</span><i>:</i> ( <a href="#owls_dataOneOf">OneOf</a><span class="sup">[data]</span>? )
|
|
</allValuesFrom></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">datatype</b> - a reference to a <a href="#sec-datatypes">datatype</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_DataRestriction">DataRestriction</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies a class of all individuals for which all
|
|
range values of the property under consideration are data values
|
|
within the specified data range.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#allValuesFrom-def">owl:allValuesFrom</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_dataSomeValuesFrom">
|
|
<div class="exampleHeader">
|
|
element DataRestriction/<b>someValuesFrom</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><someValuesFrom
|
|
datatype = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content</i><span class="sub">(D,F)</span><i>:</i> ( <a href="#owls_dataOneOf">OneOf</a><span class="sup">[data]</span>? )
|
|
</someValuesFrom></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">datatype</b> - a reference to a <a href="#sec-datatypes">datatype</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_DataRestriction">DataRestriction</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies a class of all individuals for which
|
|
at least one value of the property concerned is a data value
|
|
in the data range.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#someValuesFrom-def">owl:someValuesFrom</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_dataHasValue">
|
|
<div class="exampleHeader">
|
|
element DataRestriction/<b>hasValue</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><hasValue>
|
|
<i>Content:</i> ( <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anySimpleType-component">xsd:anySimpleType</a> )
|
|
</hasValue></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_DataRestriction">DataRestriction</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies a type of data value for which
|
|
the property concerned has at least one value.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#hasValue-def">owl:hasValue</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_ObjectRestriction">
|
|
<div class="exampleHeader">
|
|
element <b>ObjectRestriction</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><ObjectRestriction
|
|
property = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content</i><span class="sub">(L)</span><i>:</i> ( (<a href="#owls_minCardinality">minCardinality</a> | <a href="#owls_maxCardinality">maxCardinality</a> | <a href="#owls_cardinality">cardinality</a> |
|
|
<a href="#owls_objAllValuesFrom">allValuesFrom</a> | <a href="#owls_objSomeValuesFrom">someValuesFrom</a>) )
|
|
<i>Content</i><span class="sub">(D,F)</span><i>:</i> ( (<a href="#owls_minCardinality">minCardinality</a> | <a href="#owls_maxCardinality">maxCardinality</a> | <a href="#owls_cardinality">cardinality</a> |
|
|
<a href="#owls_objAllValuesFrom">allValuesFrom</a> | <a href="#owls_objSomeValuesFrom">someValuesFrom</a> | <a href="#owls_objHasValue">hasValue</a>)+ )
|
|
</ObjectRestriction></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">property</b> - a reference to a property name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_description"><i>description</i></a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element declares restrictions on
|
|
<tt><a href="#owls_ObjectProperty">ObjectProperty</a></tt>
|
|
(properties for which the range value is an individual).
|
|
The restrictions must have exactly one content element for
|
|
OWL Lite, while they must have at least one content element
|
|
for OWL DL and Full.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td>
|
|
<a href="http://www.w3.org/TR/owl-ref/#Restriction-def">owl:Restriction</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#minCardinality-def">owl:minCardinality</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#maxCardinality-def">owl:maxCardinality</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#cardinality-def">owl:cardinality</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#allValuesFrom-def">owl:allValuesFrom</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#someValuesFrom-def">owl:someValuesFrom</a>,
|
|
and <a href="http://www.w3.org/TR/owl-ref/#hasValue-def">owl:hasValue</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="exampleOuter" id="owls_objAllValuesFrom">
|
|
<div class="exampleHeader">
|
|
element ObjectRestriction/<b>allValuesFrom</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><allValuesFrom
|
|
class = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content:</i> ( <i><a href="#owls_description">description</a></i><span class="sub">(D,F)</span>* )
|
|
</allValuesFrom></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">class</b> - a reference to a class name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_ObjectRestriction">ObjectRestriction</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies a class of all individuals for which all
|
|
range values of the property under consideration are members of
|
|
the class extension of the class description.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#allValuesFrom-def">owl:allValuesFrom</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>The example below describes a class of all individuals for which the
|
|
"hasParent" property only has range values of class "Human" (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#allValuesFrom-def">owl:allValuesFrom</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]).</p>
|
|
|
|
<div class="egLabel" id="eg2_3-3">
|
|
<b>Example 2_3-3</b> (L,D,F)
|
|
</div>
|
|
<!-- owl-ref.xml -->
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="Child1" owlx:complete="false">
|
|
<owlx:ObjectRestriction owlx:property="#hasParent">
|
|
<owlx:allValuesFrom owlx:class="#Human" />
|
|
</owlx:ObjectRestriction>
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_objSomeValuesFrom">
|
|
<div class="exampleHeader">
|
|
element ObjectRestriction/<b>someValuesFrom</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><someValuesFrom
|
|
class = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content:</i> ( <i><a href="#owls_description">description</a></i><span class="sub">(D,F)</span>* )
|
|
</someValuesFrom></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">class</b> - a reference to a class name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_ObjectRestriction">ObjectRestriction</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies a class of all individuals for which
|
|
at least one value of the property concerned is an instance
|
|
of the class description.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#someValuesFrom-def">owl:someValuesFrom</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>The following example defines a class of individuals which have
|
|
at least one parent who is a physician (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#someValuesFrom-def">owl:someValuesFrom</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_3-4">
|
|
<b>Example 2_3-4</b> (L,D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="Child2" owlx:complete="false">
|
|
<owlx:ObjectRestriction owlx:property="#hasParent">
|
|
<owlx:someValuesFrom owlx:class="#Physician" />
|
|
</owlx:ObjectRestriction>
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_objHasValue">
|
|
<div class="exampleHeader">
|
|
element ObjectRestriction/<b>hasValue</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><hasValue
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> ( ##empty )
|
|
</hasValue></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to a class name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_ObjectRestriction">ObjectRestriction</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies a class of all individuals for which
|
|
the property concerned has at least one value.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#hasValue-def">owl:hasValue</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>The following example describes the class of individuals who have
|
|
the individual referred to as "Clinton" as their parent (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#hasValue-def">owl:hasValue</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_3-5">
|
|
<b>Example 2_3-5</b> (L,D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="Child3" owlx:complete="false">
|
|
<owlx:ObjectRestriction owlx:property="#hasParent">
|
|
<owlx:hasValue owlx:name="#Clinton" />
|
|
</owlx:ObjectRestriction>
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h4 id="subsec-enumObject">2.3.3 Enumeration of individuals</h4>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_objOneOf">
|
|
<div class="exampleHeader">
|
|
element <b>OneOf</b> <sup>[object]</sup><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><OneOf>
|
|
<i>Content:</i> ( <a href="#owls_IndividualID">Individual</a><span class="sup">[ID]</span>* )
|
|
</OneOf></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_description"><i>description</i></a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element contains the exactly enumerated individuals.
|
|
On the other hand, enumeration of data values is done by
|
|
<tt><a href="#owls_dataOneOf">OneOf</a></tt><sup>[data]</sup>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#oneOf-def">owl:oneOf</a> in
|
|
[<a href="apd-others.html#OWL-Reference">OWL Reference</a>], and
|
|
<tt><a href="#owls_EnumeratedClass">EnumeratedClass</a></tt>
|
|
in this document</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>For example, the following <tt>OneOf</tt> statement defines
|
|
a class of all continents (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#EnumeratedClass">Enumeration</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_3-6">
|
|
<b>Example 2_3-6</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="AllContinents" owlx:complete="true">
|
|
<owlx:OneOf>
|
|
<owlx:Individual owlx:name="#Eurasia" />
|
|
<owlx:Individual owlx:name="#Africa" />
|
|
<owlx:Individual owlx:name="#NorthAmerica" />
|
|
<owlx:Individual owlx:name="#SouthAmerica" />
|
|
<owlx:Individual owlx:name="#Australia" />
|
|
<owlx:Individual owlx:name="#Antarctica" />
|
|
</owlx:OneOf>
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
<p>A statement of the form <tt><owlx:Individual owlx:name="..."/></tt>
|
|
refers to some individual (remember: all individuals are by definition
|
|
instances of <tt>owlx:Individual</tt>).</p>
|
|
|
|
<p>In the section on datatypes we will see another use of
|
|
the <tt>OneOf</tt> element, namely to define an
|
|
<a href="#subsec-enumData">enumeration of data values</a>.</p>
|
|
|
|
<div class="exampleOuter" id="owls_EnumeratedClass">
|
|
<div class="exampleHeader">
|
|
element <b>EnumeratedClass</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><EnumeratedClass
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
deprecated = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
>
|
|
<i>Content:</i> (<a href="#owls_Annotation">Annotation</a>*, <a href="#owls_IndividualID">Individual</a><span class="sup">[ID]</span>*)
|
|
</EnumeratedClass></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to a name of this class<br/>
|
|
<b class="attr">deprecated</b> - this class is deprecated if true</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element contains the exactly enumerated individuals.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#oneOf-def">owl:oneOf</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>], and
|
|
<tt><a href="#owls_objOneOf">OneOf</a></tt><sup>[object]</sup>
|
|
in this document</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p><tt>EnumeratedClass</tt> can also be used for the <tt>OneOf</tt>
|
|
enumeration, and the enumeration of all continents can be described
|
|
as follows (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#EnumeratedClass">Enumeration</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_3-7">
|
|
<b>Example 2_3-7</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:EnumeratedClass owlx:name="AllContinents">
|
|
<owlx:Individual owlx:name="#Eurasia" />
|
|
<owlx:Individual owlx:name="#Africa" />
|
|
<owlx:Individual owlx:name="#NorthAmerica" />
|
|
<owlx:Individual owlx:name="#SouthAmerica" />
|
|
<owlx:Individual owlx:name="#Australia" />
|
|
<owlx:Individual owlx:name="#Antarctica" />
|
|
</owlx:EnumeratedClass>
|
|
</pre>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h4 id="subsec-boolComb">2.3.4 Boolean combination</h4>
|
|
|
|
<div class="exampleOuter" id="owls_IntersectionOf">
|
|
<div class="exampleHeader">
|
|
element <b>IntersectionOf</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><IntersectionOf
|
|
class = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content:</i> ( <i><a href="#owls_description">description</a></i>* )
|
|
</IntersectionOf></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">class</b> - a reference to a class name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><i><a href="#owls_description">description</a></i></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies a class for which the class extension
|
|
contains precisely those individuals that are members of the
|
|
class extension of all class descriptions in the range list.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#intersectionOf-def">owl:intersectionOf</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>In the example below, the range of the intersection statement is
|
|
a list of two class descriptions, namely two enumerations, both
|
|
describing a class with two individuals. The resulting intersection
|
|
is a class with one individual, namely "Tosca" since this is the
|
|
only individual that is common to both enumerations (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#intersectionOf-def">owl:intersectionOf</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]).</p>
|
|
|
|
<div class="egLabel" id="eg2_3-8">
|
|
<b>Example 2_3-8</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="IntersectionOf-eg" owlx:complete="true">
|
|
<owlx:IntersectionOf>
|
|
<owlx:OneOf>
|
|
<owlx:Individual owlx:name="#Tosca" />
|
|
<owlx:Individual owlx:name="#Salome" />
|
|
</owlx:OneOf>
|
|
<owlx:OneOf>
|
|
<owlx:Individual owlx:name="#Turandot" />
|
|
<owlx:Individual owlx:name="#Tosca" />
|
|
</owlx:OneOf>
|
|
</owlx:IntersectionOf>
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_UnionOf">
|
|
<div class="exampleHeader">
|
|
element <b>UnionOf</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><UnionOf
|
|
class = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content:</i> ( <i><a href="#owls_description">description</a></i>* )
|
|
</UnionOf></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">class</b> - a reference to a class name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><i><a href="#owls_description">description</a></i></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies an anonymous class for which the class
|
|
extension contains those individuals that occur in at least
|
|
one of the class extensions of the class descriptions in the
|
|
range list.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#unionOf-def">owl:unionOf</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>The example below describes a class for which the class extension
|
|
contains three individuals, namely "Tosca", "Salome", and "Turandot"
|
|
assuming they are all different (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#unionOf-def">owl:unionOf</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]).</p>
|
|
|
|
<div class="egLabel" id="eg2_3-9">
|
|
<b>Example 2_3-9</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="UnionOf-eg" owlx:complete="true">
|
|
<owlx:UnionOf>
|
|
<owlx:OneOf>
|
|
<owlx:Individual owlx:name="#Tosca" />
|
|
<owlx:Individual owlx:name="#Salome" />
|
|
</owlx:OneOf>
|
|
<owlx:OneOf>
|
|
<owlx:Individual owlx:name="#Turandot" />
|
|
<owlx:Individual owlx:name="#Tosca" />
|
|
</owlx:OneOf>
|
|
</owlx:UnionOf>
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_ComplementOf">
|
|
<div class="exampleHeader">
|
|
element <b>ComplementOf</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><ComplementOf>
|
|
<i>Content:</i> ( <i><a href="#owls_description">description</a></i> )
|
|
</ComplementOf></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><i><a href="#owls_description">description</a></i></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies a class for which the class extension
|
|
contains exactly those individuals that do not belong to the
|
|
class extension of the range class.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#complementOf-def">owl:complementOf</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<p>For example, the expression "neither meat nor fish" could be written
|
|
as follows by using <tt>ComplementOf</tt> element (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#complementOf-def">owl:complementOf</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]).</p>
|
|
|
|
<div class="egLabel" id="eg2_3-10">
|
|
<b>Example 2_3-10</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="ComplementOf-eg" owlx:complete="true">
|
|
<owlx:ComplementOf>
|
|
<owlx:UnionOf>
|
|
<owlx:Class owlx:name="#Meat" />
|
|
<owlx:Class owlx:name="#Fish" />
|
|
</owlx:UnionOf>
|
|
</owlx:ComplementOf>
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h4 id="subsec-classRel">2.3.5 Class relationships</h4>
|
|
|
|
<div class="exampleOuter" id="owls_SubClassOf">
|
|
<div class="exampleHeader">
|
|
element <b>SubClassOf</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><SubClassOf>
|
|
<i>Content:</i> ( <a href="#owls_classSub">sub</a>, <a href="#owls_classSuper">super</a> )
|
|
</SubClassOf></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element allows one to say that the class extension of
|
|
a class description is a subset of the class extension of
|
|
another class description.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#subClassOf-def">rdfs:subClassOf</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_classSub">
|
|
<div class="exampleHeader">
|
|
element <b>sub</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><sub>
|
|
<i>Content:</i> ( <i><a href="#owls_description">description</a></i> )
|
|
</sub></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_SubClassOf">SubClassOf</a></tt></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_classSuper">
|
|
<div class="exampleHeader">
|
|
element <b>super</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><super>
|
|
<i>Content:</i> ( <i><a href="#owls_description">description</a></i> )
|
|
</super></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_SubClassOf">SubClassOf</a></tt></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<p>For example, the following class axiom declares a subclass relation
|
|
between two classes that are described through their names ("Opera" and
|
|
"MusicalWork"). Subclass relations provide necessary conditions for
|
|
belonging to a class. In this case, to be an opera the individual also
|
|
needs to be a musical work (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#subClassOf-def">rdfs:subClassOf</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]).</p>
|
|
|
|
<div class="egLabel" id="eg2_3-11">
|
|
<b>Example 2_3-11</b> (L,D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="Opera" owlx:complete="false">
|
|
<owlx:Class owlx:name="#MusicalWork" />
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
<p>For any class there may be any number of subClassOf axioms.
|
|
For example, it is possible to add the following axiom about
|
|
the <tt>Opera</tt> class.</p>
|
|
|
|
<div class="egLabel" id="eg2_3-12">
|
|
<b>Example 2_3-12</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:SubClassOf>
|
|
<owlx:sub>
|
|
<owlx:Class owlx:name="Opera" />
|
|
</owlx:sub>
|
|
<owlx:super>
|
|
<owlx:ObjectRestriction owlx:property="#hasLibrettist">
|
|
<owlx:minCardinality owlx:value="1" />
|
|
</owlx:ObjectRestriction>
|
|
</owlx:super>
|
|
</owlx:SubClassOf>
|
|
</pre>
|
|
|
|
<p>This class axiom contains a property restriction. The example states
|
|
that <tt>Opera</tt> is a subclass of an anonymous OWL class that has as
|
|
its class extension the set of all individuals for which the property
|
|
<tt>hasLibrettist</tt> has at least one value. Thus, operas should have
|
|
at least one librettist.</p>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_EquivalentClasses">
|
|
<div class="exampleHeader">
|
|
element <b>EquivalentClasses</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><EquivalentClasses>
|
|
<i>Content</i><span class="sub">(L)</span><i>:</i> ( <a href="#owls_ClassID">Class</a><span class="sup">[ID]</span>, <a href="#owls_ClassID">Class</a><span class="sup">[ID]</span>+ )
|
|
<i>Content</i><span class="sub">(D,F)</span><i>:</i> ( <a href="#owls_description">description</a>, <a href="#owls_description">description</a>+ )
|
|
</EquivalentClasses></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element asserts that two or more classes have the same
|
|
class extension (i.e., class extensions contain exactly the
|
|
same set of individuals).</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#equivalentClass-def">owl:equivalentClass</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>In its simplest form, an <tt>EquivalentClass</tt> axiom states
|
|
the equivalence (in terms of their class extension) of two named
|
|
classes. For example:</p>
|
|
|
|
<div class="egLabel" id="eg2_3-13">
|
|
<b>Example 2_3-13</b> (L,D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:EquivalentClasses>
|
|
<owlx:Class owlx:name="US_President" />
|
|
<owlx:Class owlx:name="PrincipalResidentOfWhiteHouse" />
|
|
</owlx:EquivalentClasses>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_DisjointClasses">
|
|
<div class="exampleHeader">
|
|
element <b>DisjointClasses</b><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><DisjointClasses>
|
|
<i>Content:</i> ( <a href="#owls_description">description</a>, <a href="#owls_description">description</a>+ )
|
|
</DisjointClasses></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element asserts that the class extensions of the two or more
|
|
class descriptions involved have no individuals in common.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#disjointWith-def">owl:disjointWith</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<p>Declaring two classes to be disjoint is a partial definition:
|
|
it imposes a necessary but not sufficient condition on the class.
|
|
A popular example of class disjointness is given below:</p>
|
|
|
|
<div class="egLabel" id="eg2_3-14">
|
|
<b>Example 2_3-14</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:DisjointClasses>
|
|
<owlx:Class owlx:name="#Man" />
|
|
<owlx:Class owlx:name="#Woman" />
|
|
</owlx:DisjointClasses>
|
|
</pre>
|
|
|
|
<p>The following example shows a common use of class disjointness
|
|
in subclass hierarchies. The next example indicates that
|
|
<tt>MusicDrama</tt> is either an <tt>opera</tt>, an <tt>Operetta</tt>,
|
|
or a <tt>Musical</tt> (i.e., the subclass partitioning is complete).</p>
|
|
|
|
<div class="egLabel" id="eg2_3-15">
|
|
<b>Example 2_3-15</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="MusicDrama" owlx:complete="true">
|
|
<owlx:UnionOf>
|
|
<owlx:Class owlx:name="#Opera" />
|
|
<owlx:Class owlx:name="#Operetta" />
|
|
<owlx:Class owlx:name="#Musical" />
|
|
</owlx:UnionOf>
|
|
</owlx:Class>
|
|
</pre>
|
|
|
|
<p>In the examples below, individuals belonging to one subclass
|
|
such as <tt>Opera</tt> cannot belong to another subclass such as
|
|
<tt>Musical</tt> (disjoint or non-overlapping subclasses).</p>
|
|
|
|
<div class="egLabel" id="eg2_3-16">
|
|
<b>Example 2_3-16</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:Class owlx:name="#Opera" owlx:complete="false">
|
|
<owlx:Class owlx:name="#MusicDrama" />
|
|
</owlx:Class>
|
|
|
|
<owlx:Class owlx:name="#Operetta" owlx:complete="false">
|
|
<owlx:Class owlx:name="#MusicDrama" />
|
|
</owlx:Class>
|
|
|
|
<owlx:Class owlx:name="#Musical" owlx:complete="false">
|
|
<owlx:Class owlx:name="#MusicDrama" />
|
|
</owlx:Class>
|
|
|
|
<owlx:DisjointClasses>
|
|
<owlx:Class owlx:name="#Opera" />
|
|
<owlx:Class owlx:name="#Operetta" />
|
|
<owlx:Class owlx:name="#Musical" />
|
|
</owlx:DisjointClasses>
|
|
</pre>
|
|
|
|
<p>In the above examples, <tt>DisjointWith</tt> elements were used
|
|
together with <tt>UnionOf</tt>, in order to define a set of mutually
|
|
disjoint and complete subclasses of a superclass (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#disjointWith-def">owl:disjointWith</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]).</p>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h3 id="sec-prop">2.4 Properties</h3>
|
|
|
|
<p>OWL distinguishes between two types of properties:
|
|
<tt>DatatypeProperty</tt> and <tt>ObjectProperty</tt>.</p>
|
|
|
|
<div class="exampleOuter" id="owls_DatatypeProperty">
|
|
<div class="exampleHeader">
|
|
element <b>DatatypeProperty</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><DatatypeProperty
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
functional = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
inverseFunctional<span class="sub">(L,D)</span> = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a> {fixed as 'false'}
|
|
inverseFunctional<span class="sub">(F)</span> = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
deprecated = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
>
|
|
<i>Content:</i> ((<a href="#owls_superProperty">superProperty</a> | <a href="#owls_domain">domain</a> | <a href="#owls_dataPropRange">range</a>)*)
|
|
</DatatypeProperty></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to a name of this property<br/>
|
|
<b class="attr">functional</b> - asserts that this property can only have
|
|
one (unique) value for each instance, if true<br/>
|
|
<b class="attr">inverseFunctional</b> - asserts this property has a range
|
|
value that uniquely determines a domain value<br/>
|
|
<b class="attr">deprecated</b> - this property is deprecated if true</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element contains a value range of data values, and
|
|
thus link individuals to data values.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td>
|
|
<a href="http://www.w3.org/TR/owl-ref/#DatatypeProperty-def">owl:DatatypeProperty</a>
|
|
<a href="http://www.w3.org/TR/owl-ref/#FunctionalProperty-def">owl:FunctionalProperty</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#InverseFunctionalProperty-def">owl:InverseFunctionalProperty</a>, and
|
|
<a href="http://www.w3.org/TR/owl-ref/#DeprecatedProperty-def">owl:DeprecatedProperty</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="egLabel" id="eg2_4-1">
|
|
<b>Example 2_4-1</b> (L,D,F)
|
|
</div>
|
|
<!-- example-dl.xml -->
|
|
<pre class="egOwl">
|
|
<owlx:DatatypeProperty owlx:name="age">
|
|
<owlx:domain owlx:class="Person" />
|
|
<owlx:range owlx:datatype="&xsd;integer" />
|
|
</owlx:DatatypeProperty>
|
|
</pre>
|
|
|
|
<p>See also the other examples of datatype property:
|
|
<tt>timeStamp</tt> in <a href="#sec-datatypes">2.6</a> and
|
|
<tt>tennisGameScore</tt> in <a href="#subsec-enumData">2.6.2</a>.</p>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_ObjectProperty">
|
|
<div class="exampleHeader">
|
|
element <b>ObjectProperty</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><ObjectProperty
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
inverseOf = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
transitive = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
symmetric = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
functional = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
inverseFunctional<span class="sub">(L)</span> = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a> {fixed as 'false'}
|
|
inverseFunctional<span class="sub">(D,F)</span> = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
deprecated = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#boolean">xsd:boolean</a>
|
|
>
|
|
<i>Content:</i> ((<a href="#owls_superProperty">superProperty</a> | <a href="#owls_domain">domain</a> | <a href="#owls_objPropRange">range</a>)*)
|
|
</ObjectProperty></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to a name of this property<br/>
|
|
<b class="attr">inverseOf</b> - a reference to a name of an inverse relation<br/>
|
|
<b class="attr">transitive</b> - asserts that this property is a
|
|
transitive relation, if true<br/>
|
|
<b class="attr">symmetric</b> - asserts that this property is a
|
|
symmetric relation, if true<br/>
|
|
<b class="attr">functional</b> - asserts that this property can only have
|
|
one (unique) value for each instance, if true<br/>
|
|
<b class="attr">inverseFunctional</b> - asserts this property has a range
|
|
value that uniquely determines a domain value<br/>
|
|
<b class="attr">deprecated</b> - this property is deprecated if true</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element contains a value range of class individuals,
|
|
and thus link individuals to individuals ("individual-valued
|
|
property" would probably have been a bit better term).</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td>
|
|
<a href="http://www.w3.org/TR/owl-ref/#ObjectProperty-def">owl:ObjectProperty</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#inverseOf-def">owl:inverseOf</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#TransitiveProperty-def">owl:TransitiveProperty</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#SymmetricProperty-def">owl:SymmetricProperty</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#FunctionalProperty-def">owl:FunctionalProperty</a>,
|
|
<a href="http://www.w3.org/TR/owl-ref/#InverseFunctionalProperty-def">owl:InverseFunctionalProperty</a>, and
|
|
<a href="http://www.w3.org/TR/owl-ref/#DeprecatedProperty-def">owl:DeprecatedProperty</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<p>A property axiom defines characteristics of a properties. In its
|
|
simplest form, a property axiom just defines the existence of a
|
|
property. For example:</p>
|
|
|
|
<div class="egLabel" id="eg2_4-2">
|
|
<b>Example 2_4-2</b> (L,D,F)
|
|
</div>
|
|
<!-- wine_owl.xml -->
|
|
<pre class="egOwl">
|
|
<owlx:ObjectProperty owlx:name="hasParent" />
|
|
</pre>
|
|
|
|
<p>This defines a property with the restriction that the range
|
|
values should be individuals (i.e., <tt>ObjectProperty</tt>).</p>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_superProperty">
|
|
<div class="exampleHeader">
|
|
element <b>superProperty</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><superProperty
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> (##empty)
|
|
</superProperty></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to a super property name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_DatatypeProperty">DatatypeProperty</a></tt>,
|
|
<tt><a href="#owls_ObjectProperty">ObjectProperty</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element can be used for both datatype properties and
|
|
object properties.</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>The next example states that all instances (pairs) contained in the
|
|
property extension of the property <tt>hasMother</tt> are also members
|
|
of the property extension of the property <tt>hasParent</tt>.</p>
|
|
|
|
<div class="egLabel" id="eg2_4-3">
|
|
<b>Example 2_4-3</b> (L,D,F)
|
|
</div>
|
|
<!-- wine_owl.xml -->
|
|
<pre class="egOwl">
|
|
<owlx:ObjectProperty owlx:name="hasMother">
|
|
<owlx:superProperty owlx:name="#hasParent" />
|
|
</owlx:ObjectProperty>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_domain">
|
|
<div class="exampleHeader">
|
|
element <b>domain</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><domain
|
|
class = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content</i><span class="sub">(L)</span><i>:</i> ( <a href="#owls_ClassID">Class</a><span class="sup">[ID]</span>* )
|
|
<i>Content</i><span class="sub">(D,F)</span><i>:</i> ( <i><a href="#owls_description">description</a></i>* )
|
|
</domain></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">class</b> - a reference to a class name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_DatatypeProperty">DatatypeProperty</a></tt>,
|
|
<tt><a href="#owls_ObjectProperty">ObjectProperty</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element asserts that the domain values of this property
|
|
must belong to the class extension of the class description.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#domain-def">rdfs:domain</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<p>For example, it is possible to state that the domain of the
|
|
property <tt>hasBankAccount</tt> can be either a <tt>Person</tt>
|
|
or a <tt>Corporation</tt> in the following manner:</p>
|
|
|
|
<div class="egLabel" id="eg2_4-4">
|
|
<b>Example 2_4-4</b> (D,F)
|
|
</div>
|
|
<pre class="egOwl">
|
|
<owlx:ObjectProperty owlx:name="hasBankAccount">
|
|
<owlx:domain>
|
|
<owlx:UnionOf>
|
|
<owlx:Class owlx:name="#Person" />
|
|
<owlx:Class owlx:name="#Corporation" />
|
|
</owlx:UnionOf>
|
|
</owlx:domain>
|
|
</owlx:ObjectProperty>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_dataPropRange">
|
|
<div class="exampleHeader">
|
|
element DatatypeProperty/<b>range</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><range
|
|
datatype = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content</i><span class="sub">(D,F)</span><i>:</i> ( <a href="#owls_dataOneOf">OneOf</a><span class="sup">[data]</span>? )
|
|
</range></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">datatype</b> - a reference to a <a href="#sec-datatypes">datatype</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_DatatypeProperty">DatatypeProperty</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element asserts that the range values of this property must
|
|
belong to data values in the specified data range.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#range-def">rdfs:range</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_objPropRange">
|
|
<div class="exampleHeader">
|
|
element ObjectProperty/<b>range</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><range
|
|
class = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content</i><span class="sub">(L)</span><i>:</i> ( <a href="#owls_ClassID">Class</a><span class="sup">[ID]</span>* )
|
|
<i>Content</i><span class="sub">(D,F)</span><i>:</i> ( <i><a href="#owls_description">description</a></i>* )
|
|
</range></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">class</b> - a reference to a class name</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_ObjectProperty">ObjectProperty</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element asserts that the range values of this property must
|
|
belong to the class extension of the class description in the
|
|
specified data range.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#range-def">rdfs:range</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_SubPropertyOf">
|
|
<div class="exampleHeader">
|
|
element <b>SubPropertyOf</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><SubPropertyOf
|
|
sub = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> ( <a href="#owls_DatatypePropertyID">DatatypeProperty</a><span class="sup">[ID]</span> | <a href="#owls_ObjectPropertyID">ObjectProperty</a><span class="sup">[ID]</span> )
|
|
</SubPropertyOf></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">sub</b> - a reference to a subproperty</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element defines that a property specified as a value
|
|
of <tt>sub</tt> attribute, is a subproperty of another
|
|
property specified as content.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#subPropertyOf-def">owl:subPropertyOf</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_EquivalentProperties">
|
|
<div class="exampleHeader">
|
|
element <b>EquivalentProperties</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><EquivalentProperties>
|
|
<i>Content:</i> ( (<a href="#owls_DatatypePropertyID">DatatypeProperty</a><span class="sup">[ID]</span>, <a href="#owls_DatatypePropertyID">DatatypeProperty</a><span class="sup">[ID]</span>+ ) |
|
|
(<a href="#owls_ObjectPropertyID">ObjectProperty</a><span class="sup">[ID]</span>, <a href="#owls_ObjectPropertyID">ObjectProperty</a><span class="sup">[ID]</span>+) )
|
|
</EquivalentProperties></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element asserts that two or more properties have the
|
|
same property extension.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#equivalentProperty-def">owl:equivalentProperty</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_DatatypePropertyID">
|
|
<div class="exampleHeader">
|
|
element <b>DatatypeProperty</b><sup>[ID]</sup>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><DatatypeProperty
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> (##empty)
|
|
</DatatypeProperty></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to a datatype property</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_SubPropertyOf">SubPropertyOf</a></tt>,
|
|
<tt><a href="#owls_EquivalentProperties">EquivalentProperties</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element is used for solely referring to a datatype property,
|
|
and does not actually define any property, unlike
|
|
<tt><a href="#owls_DatatypeProperty">DatatypeProperty</a></tt> construct.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_ObjectPropertyID">
|
|
<div class="exampleHeader">
|
|
element <b>ObjectProperty</b><sup>[ID]</sup>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><ObjectProperty
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> (##empty)
|
|
</ObjectProperty></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to an object property</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_SubPropertyOf">SubPropertyOf</a></tt>,
|
|
<tt><a href="#owls_EquivalentProperties">EquivalentProperties</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element is used for solely referring to an object property,
|
|
and does not actually define any property, unlike
|
|
<tt><a href="#owls_ObjectProperty">ObjectProperty</a></tt> construct.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h3 id="sec-indiv">2.5 Individuals</h3>
|
|
|
|
<h4 id="indivAxiom">2.5.1 Individual axioms</h4>
|
|
|
|
<p>Individual axioms (also called "facts") are statements about
|
|
individuals, indicating class membership and statements about relevant
|
|
properties.</p>
|
|
|
|
<div class="exampleOuter" id="owls_Individual">
|
|
<div class="exampleHeader">
|
|
element <b>Individual</b><sup>[axiom]</sup>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><Individual
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content:</i> (<a href="#owls_Annotation">Annotation</a>*, (<a href="#owls_type">type</a> | <a href="#owls_dataPropValue">DataPropertyValue</a> | <a href="#owls_objPropValue">ObjectPropertyValue</a>)* )
|
|
</Individual></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to a name of this individual</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element indicates class membership and statements about
|
|
relevant properties.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#Thing-def">owl:Thing</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>As an example, consider the following set of statements about
|
|
an instance of the class <tt>Opera</tt> (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#IndividualAxiom">6.1</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_5-1">
|
|
<b>Example 2_5-1</b> (L,D,F)
|
|
</div>
|
|
<!-- owl-ref -->
|
|
<pre class="egOwl">
|
|
<owlx:Individual owlx:name="Tosca">
|
|
<owlx:type owlx:name="Opera" />
|
|
<owlx:ObjectPropertyValue owlx:property="hasComposer">
|
|
<owlx:Individual owlx:name="#Giacomo_Puccini" />
|
|
</owlx:ObjectPropertyValue>
|
|
<owlx:ObjectPropertyValue owlx:property="hasLibrettist">
|
|
<owlx:Individual owlx:name="#Victorien_Sardou" />
|
|
</owlx:ObjectPropertyValue>
|
|
<owlx:ObjectPropertyValue owlx:property="hasLibrettist">
|
|
<owlx:Individual owlx:name="#Luigi_Illica" />
|
|
</owlx:ObjectPropertyValue>
|
|
<owlx:DataPropertyValue owlx:property="premiereDate">
|
|
<owlx:DataValue owlx:datatype="&xsd;date">1900-01-14</owlx:DataValue>
|
|
</owlx:DataPropertyValue>
|
|
<owlx:ObjectPropertyValue owlx:property="premierePlace">
|
|
<owlx:Individual owlx:name="#Roma" />
|
|
</owlx:ObjectPropertyValue>
|
|
<owlx:DataPropertyValue owlx:property="numberOfActs">
|
|
<owlx:DataValue owlx:datatype="&xsd;positiveInteger">3</owlx:DataValue>
|
|
</owlx:DataPropertyValue>
|
|
</owlx:Individual>
|
|
</pre>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_type">
|
|
<div class="exampleHeader">
|
|
element <b>type</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><type
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content:</i> ( <a href="#owls_description">description</a>* )
|
|
</type></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to this type</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Individual">Individual</a><sup>[axiom]</sup></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies type information of a parent individual.</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_dataPropValue">
|
|
<div class="exampleHeader">
|
|
element <b>DataPropertyValue</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><DataPropertyValue
|
|
property = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> ( <a href="#owls_DataValue">DataValue</a>* )
|
|
</DataPropertyValue></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">property</b> - a reference to a data valued property</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Individual">Individual</a><sup>[axiom]</sup></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies a data property value to be associated
|
|
with a parent individual.</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_objPropValue">
|
|
<div class="exampleHeader">
|
|
element <b>ObjectPropertyValue</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><ObjectPropertyValue
|
|
property = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
>
|
|
<i>Content:</i> ( <a href="#owls_Individual">Individual</a><span class="sup">[axiom]</span>* )
|
|
</ObjectPropertyValue></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">property</b> - a reference to an individual valued property</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Individual">Individual</a><sup>[axiom]</sup></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element specifies an individual property value to be associated
|
|
with a parent individual.</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>Individual axioms need not necessarily be about named individuals:
|
|
they can also refer to anonymous individuals. As an example, consider
|
|
the example below. The example defines some facts about an anonymous
|
|
instance of the class Measurement, a quantitative observation for
|
|
which facts such as the observed subject, the observed phenomenon,
|
|
the observed value, and the observation time are listed (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#IndividualAxiom">6.1</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_5-2">
|
|
<b>Example 2_5-2</b> (L,D,F)
|
|
</div>
|
|
<!-- owl-ref -->
|
|
<pre class="egOwl">
|
|
<owlx:Individual>
|
|
<owlx:type owlx:name="<span class="boldnavy">Measurement</span>" />
|
|
<owlx:ObjectPropertyValue owlx:property="observedSubject">
|
|
<owlx:Individual owlx:name="#JaneDoe" />
|
|
</owlx:ObjectPropertyValue>
|
|
<owlx:ObjectPropertyValue owlx:property="observedPhenomenon">
|
|
<owlx:Individual owlx:name="#Weight" />
|
|
</owlx:ObjectPropertyValue>
|
|
<owlx:ObjectPropertyValue owlx:property="observedValue">
|
|
<owlx:Individual>
|
|
<owlx:type owlx:name="<span class="boldnavy">Quantity</span>" />
|
|
<owlx:DataPropertyValue owlx:property="quantityValue">
|
|
<owlx:DataValue
|
|
owlx:datatype="&xsd;float">59.5</owlx:DataValue>
|
|
</owlx:DataPropertyValue>
|
|
<owlx:ObjectPropertyValue owlx:property="quantityUnit">
|
|
<owlx:Individual owlx:name="#Kilogram" />
|
|
</owlx:ObjectPropertyValue>
|
|
</owlx:Individual>
|
|
</owlx:ObjectPropertyValue>
|
|
<owlx:DataPropertyValue owlx:property="timeStamp">
|
|
<owlx:DataValue
|
|
owlx:datatype="&xsd;dateTime">2003-01-24T09:00:08+01:00</owlx:DataValue>
|
|
</owlx:DataPropertyValue>
|
|
</owlx:Individual>
|
|
</pre>
|
|
|
|
|
|
<h4 id="indivIdentity">2.5.2 Individual identity</h4>
|
|
|
|
<p>Many languages have a so-called "unique names" assumption: different
|
|
names refer to different things in the world. On the web, such an
|
|
assumption is not possible. For example, the same person could be
|
|
referred to in many different ways (i.e. with different URI references).
|
|
For this reason OWL does not make this assumption. Unless an explicit
|
|
statement is being made that two URI references refer to the same or
|
|
to different individuals, OWL tools should in principle assume either
|
|
situation is possible.</p>
|
|
|
|
<p>Two elements <tt>SameIndividual</tt> and <tt>DifferentIndividuals</tt>
|
|
are provided for making statements about the identity of individuals.</p>
|
|
|
|
<div class="exampleOuter" id="owls_SameIndividual">
|
|
<div class="exampleHeader">
|
|
element <b>SameIndividual</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><SameIndividual>
|
|
<i>Content:</i> ( <a href="#owls_IndividualID">Individual</a><span class="sup">[ID]</span>* )
|
|
</SameIndividual></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element indicates that two or more URI references actually
|
|
refer to the same thing: the individuals have the same "identity".</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#sameAs-def">owl:sameAs</a>
|
|
and <a href="http://www.w3.org/TR/owl-ref/#sameIndividualAs-def">owl:sameIndividualAs</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_IndividualID">
|
|
<div class="exampleHeader">
|
|
element <b>Individual</b><sup>[ID]</sup>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><Individual
|
|
name = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a> {required}
|
|
type = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content:</i> (##empty)
|
|
</Individual></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">name</b> - a reference to an individual<br />
|
|
<b class="attr">type</b> - a reference to a type of an individual</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_SameIndividual">SameIndividual</a></tt>,
|
|
<tt><a href="#owls_DifferentIndividuals">DifferentIndividuals</a></tt>,
|
|
<tt><a href="#owls_EnumeratedClass">EnumeratedClass</a><sub>(D,F)</sub></tt>,
|
|
<tt><a href="#owls_objOneOf">OneOf</a><sup>[object]</sup><sub>(D,F)</sub></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element is used for solely referring to an individual ID,
|
|
and does not actually define any individual, unlike an
|
|
<a href="#owls_Individual">individual axiom</a>.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>For example, we could state that the following two URI references
|
|
actually refer to the same person (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#IndividualIdentity">6.2</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_5-3">
|
|
<b>Example 2_5-3</b> (L,D,F)
|
|
</div>
|
|
<!-- owl-ref -->
|
|
<pre class="egOwl">
|
|
<owlx:SameIndividual>
|
|
<owlx:Individual owlx:name="#William_Jefferson_Clinton" owlx:type="Human" />
|
|
<owlx:Individual owlx:name="#BillClinton" />
|
|
</owlx:SameIndividual>
|
|
</pre>
|
|
|
|
<p>In OWL Full, where class can be treated as instances of
|
|
(meta)classes, we can use the <tt>SameIndividual</tt> element to
|
|
define class equality, thus indicating that two concepts have
|
|
the same intensional meaning. An example (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#IndividualIdentity">6.2</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_5-4">
|
|
<b>Example 2_5-4</b> (L,D,F)
|
|
</div>
|
|
<!-- owl-ref -->
|
|
<pre class="egOwl">
|
|
<owlx:Individual owlx:name="FootballTeam">
|
|
<owlx:type owlx:name="&owlx;Class" />
|
|
</owlx:Individual>
|
|
|
|
<owlx:SameIndividual>
|
|
<owlx:Individual owlx:name="FootballTeam" />
|
|
<owlx:Individual owlx:name="http://sports.org/US#SoccerTeam" />
|
|
</owlx:SameIndividual>
|
|
</pre>
|
|
|
|
<p>Note that the first <tt>Individual</tt> element in the above
|
|
example is an <a href="#owls_Individual">individual axiom</a>,
|
|
while the other <tt>Individual</tt> elements contained in
|
|
<tt><a href="#owls_SameIndividual">SameIndividual</a></tt>
|
|
are <a href="#owls_IndividualID">individual IDs</a>.</p>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_DifferentIndividuals">
|
|
<div class="exampleHeader">
|
|
element <b>DifferentIndividuals</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><DifferentIndividuals>
|
|
<i>Content:</i> ( <a href="#owls_IndividualID">Individual</a><span class="sup">[ID]</span>* )
|
|
</DifferentIndividuals></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_Ontology">Ontology</a></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element indicates that two or more URI references
|
|
refer to different individuals.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#differentFrom-def">owl:differntFrom</a> and <a href="http://www.w3.org/TR/owl-ref/#AllDifferent-def">owl:AllDifferent</a> in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<p>The following example states that there are three operas,
|
|
which are all different individuals (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#IndividualIdentity">6.2</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]).</p>
|
|
|
|
<div class="egLabel" id="eg2_5-5">
|
|
<b>Example 2_5-5</b> (L,D,F)
|
|
</div>
|
|
<!-- owl-ref -->
|
|
<pre class="egOwl">
|
|
<owlx:Individual owlx:name="Don_Giovanni">
|
|
<owlx:type owlx:name="Opera" />
|
|
</owlx:Individual>
|
|
|
|
<owlx:Individual owlx:name="Nozze_di_Figaro">
|
|
<owlx:type owlx:name="Opera" />
|
|
</owlx:Individual>
|
|
|
|
<owlx:Individual owlx:name="Cosi_fan_tutte">
|
|
<owlx:type owlx:name="Opera" />
|
|
</owlx:Individual>
|
|
|
|
<owlx:DifferentIndividuals>
|
|
<owlx:Individual owlx:name="#Don_Giovanni" />
|
|
<owlx:Individual owlx:name="#Nozze_di_Figaro" />
|
|
<owlx:Individual owlx:name="#Cosi_fan_tutte" />
|
|
</owlx:DifferentIndividuals>
|
|
</pre>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h3 id="sec-datatypes">2.6 Datatypes</h3>
|
|
|
|
<p>OWL uses the facilities of XML Schema Datatypes
|
|
[<a href="apd-others.html#XMLSchema-2">XMLSchema-2</a>], and
|
|
the following built-in XML Schema datatypes can be used.</p>
|
|
|
|
<blockquote>
|
|
<table cellspacing="2">
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#string">xsd:string</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#boolean">xsd:boolean</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#decimal">xsd:decimal</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#float">xsd:float</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#double">xsd:double</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#dateTime">xsd:dateTime</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#time">xsd:time</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#date">xsd:date</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#gYearMonth">xsd:gYearMonth</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#gYear">xsd:gYear</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#gMonthDay">xsd:gMonthDay</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#gDay">xsd:gDay</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#gMonth">xsd:gMonth</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#hexBinary">xsd:hexBinary</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#base64Binary">xsd:base64Binary</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#anyURI">xsd:anyURI</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#normalizedString">xsd:normalizedString</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#token">xsd:token</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#language">xsd:language</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#NMTOKEN">xsd:NMTOKEN</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#Name">xsd:Name</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#NCName">xsd:NCName</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#integer">xsd:integer</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#nonPositiveInteger">xsd:nonPositiveInteger</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#negativeInteger">xsd:negativeInteger</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#long">xsd:long</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#int">xsd:int</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#short">xsd:short</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#byte">xsd:byte</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#nonNegativeInteger">xsd:nonNegativeInteger</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#unsignedLong">xsd:unsignedLong</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#unsignedInt">xsd:unsignedInt</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#unsignedShort">xsd:unsignedShort</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#unsignedByte">xsd:unsignedByte</a> </td>
|
|
<td><a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#positiveInteger">xsd:positiveInteger</a> </td>
|
|
</tr>
|
|
</table>
|
|
</blockquote>
|
|
|
|
<p>The specific considerations with the other built-in XML Schema
|
|
datatypes are explained in the
|
|
<a href="http://www.w3.org/TR/owl-semantics/syntax.html#2">Abstract Syntax</a> document [<a href="apd-others.html#OWL-Semantics">OWL Semantics</a>].
|
|
</p>
|
|
|
|
<p>A datatype can be specified as a value of datatype attribute,
|
|
which is decleared in <a href="#owls_dataAllValuesFrom">allValuesFrom</a>
|
|
and <a href="#owls_dataSomeValuesFrom">someValuesFrom</a> elements
|
|
(for <a href="#owls_DataRestriction">DataRestriction</a>)
|
|
as well as <a href="#owls_dataPropRange">range</a> element
|
|
(for <a href="#owls_DatatypeProperty">DatatypeProperty</a>).
|
|
A value of the datatype attribute should be a canonical
|
|
URI reference to an XML Schema datatype:
|
|
"http://www.w3.org/2001/XMLSchema#<i>name</i>", where <i>name</i> is
|
|
a local name of a built-in XML Schema datatype. For example (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#rdf-datatype">7.1</a> in
|
|
[<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_6-1">
|
|
<b>Example 2_6-1</b> (L,D,F)
|
|
</div>
|
|
<!-- owl-ref -->
|
|
<pre class="egOwl">
|
|
<owlx:DatatypeProperty owlx:name="#timeStamp">
|
|
<owlx:domain owlx:class="#Measurement" />
|
|
<owlx:range <span class="boldnavy">owlx:datatype="http://www.w3.org/2001/XMLSchema#dateTime"</span> />
|
|
</owlx:DatatypeProperty>
|
|
</pre>
|
|
|
|
<!--
|
|
<p>Note here that an XML's qualified name (QName) may be straightforward
|
|
to specify a datatype value. However, QName datatype requires a namespace
|
|
declaration to be in scope during the datatype mapping, and is not suitable
|
|
for use in RDF.
|
|
See also http://www.w3.org/TR/2003/WD-rdf-concepts-20030123/#section-Datatypes
|
|
</p>
|
|
-->
|
|
|
|
<p>Note here that XML entities can be used as abbreviations.
|
|
For example, an XML entity <tt>xsd</tt> is defined in the DOCTYPE
|
|
declaration:</p>
|
|
<pre> <!ENTITY <span class="boldnavy">xsd</span> "http://www.w3.org/2001/XMLSchema#" ></pre>
|
|
<p>Then, the above <tt>owlx:datatype</tt> attribute of
|
|
<tt>owlx:range</tt> element may be specifid in the following manner.</p>
|
|
<pre> <owlx:range owlx:datatype="<span class="boldnavy">&xsd;</span>dateTime" />
|
|
</pre>
|
|
|
|
|
|
<h4 id="subsec-dataValue">2.6.1 Data value</h4>
|
|
|
|
<p>Data values can be either plain (no datatype) or typed.
|
|
In <a href="#owls_DataValue">DataValue</a> element, typed value
|
|
may be specified by using <tt>datatype</tt> attribute.</p>
|
|
|
|
|
|
<div class="exampleOuter" id="owls_DataValue">
|
|
<div class="exampleHeader">
|
|
element <b>DataValue</b>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><DataValue
|
|
datatype = <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI">xsd:anyURI</a>
|
|
>
|
|
<i>Content:</i> (#CDATA)
|
|
</DataValue></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Attribute: </td>
|
|
<td><b class="attr">datatype</b> - a reference to a <a href="#sec-datatypes">datatype</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt><a href="#owls_dataPropValue">DataPropertyValue</a></tt>,
|
|
<tt><a href="#owls_dataOneOf">OneOf</a><sup>[data]</sup><sub>(D,F)</sub></tt></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<p>For example, a type of time stamp property value can be specified
|
|
with the <tt>dateTime</tt> datatype defined as an XML Schema datatype,
|
|
by using the <tt>datatype</tt> attribute (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#rdf-datatype">7.1</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]).</p>
|
|
|
|
<div class="egLabel" id="eg2_6-2">
|
|
<b>Example 2_6-2</b> (L,D,F)
|
|
</div>
|
|
<!-- owl-ref -->
|
|
<pre class="egOwl">
|
|
<owlx:Individual>
|
|
<owlx:type owlx:name="Measurement" />
|
|
<owlx:DataPropertyValue owlx:property="timeStamp">
|
|
<owlx:DataValue
|
|
<span class="boldnavy">owlx:datatype="&xsd;dateTime</span>">2003-01-24T09:00:08+01:00</owlx:DataValue>
|
|
</owlx:DataPropertyValue>
|
|
</owlx:Individual>
|
|
</pre>
|
|
|
|
|
|
<h4 id="subsec-enumData">2.6.2 Enumeration of data values</h4>
|
|
|
|
<p>A range of data values can be defined as an enumerated datatype.</p>
|
|
|
|
<div class="exampleOuter" id="owls_dataOneOf">
|
|
<div class="exampleHeader">
|
|
element <b>OneOf</b> <sup>[data]</sup><sub>(D,F)</sub>
|
|
</div>
|
|
<div class="exampleInner bgXsd">
|
|
<pre><OneOf>
|
|
<i>Content:</i> ( <a href="#owls_DataValue">DataValue</a>* )
|
|
</OneOf></pre>
|
|
</div>
|
|
<div class="exampleWrapper">
|
|
<table>
|
|
<tr>
|
|
<td class="elementHeader">Parents: </td>
|
|
<td><tt>DataRestriction/<a href="#owls_dataAllValuesFrom">allValuesFrom</a><sub>(D,F)</sub></tt>,
|
|
<tt>DataRestriction/<a href="#owls_dataSomeValuesFrom">someValuesFrom</a><sub>(D,F)</sub></tt>,
|
|
<tt>DatatypeProperty/<a href="#owls_dataPropRange">range</a><sub>(D,F)</sub></tt></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">Note: </td>
|
|
<td>This element defines an enumeration of data values.
|
|
On the other hand, enumeration of individuals is done by
|
|
<tt><a href="#owls_objOneOf">OneOf</a></tt><sup>[obj]</sup>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="elementHeader">See also: </td>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#EnumeratedDatatype">Enumerated datatype</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p>For example, the range of <tt>tennisGameScore</tt> property to be the
|
|
list of integer values {0, 15, 30, 40} can be specifies as below (see also
|
|
<a href="http://www.w3.org/TR/owl-ref/#EnumeratedDatatype">7.2</a>
|
|
in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]):</p>
|
|
|
|
<div class="egLabel" id="eg2_6-3">
|
|
<b>Example 2_6-3</b> (D,F)
|
|
</div>
|
|
<!-- owl-ref.xml -->
|
|
<pre class="egOwl">
|
|
<owlx:DatatypeProperty owlx:name="tennisGameScore">
|
|
<owlx:range>
|
|
<owlx:OneOf>
|
|
<owlx:DataValue owlx:datatype="&xsd;integer">0</owlx:DataValue>
|
|
<owlx:DataValue owlx:datatype="&xsd;integer">15</owlx:DataValue>
|
|
<owlx:DataValue owlx:datatype="&xsd;integer">30</owlx:DataValue>
|
|
<owlx:DataValue owlx:datatype="&xsd;integer">40</owlx:DataValue>
|
|
</owlx:OneOf>
|
|
</owlx:range>
|
|
</owlx:DatatypeProperty>
|
|
</pre>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h2 id="sec-terms">3. Element Index and Cross Reference</h2>
|
|
|
|
<h3 id="subsec-index">3.1 Element Index</h3>
|
|
|
|
<table cellpadding="2">
|
|
<tr>
|
|
<td align="right">(Unique parent if any) </td>
|
|
<th align="left">Element name </th>
|
|
<th align="left" colspan="2">Specified in </th>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">DataRestriction /</td>
|
|
<td><a href="#owls_dataAllValuesFrom">allValuesFrom</a></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">ObjectRestriction /</td>
|
|
<td><a href="#owls_objAllValuesFrom">allValuesFrom</a></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_Annotation">Annotation</a></td>
|
|
<td>2.2 </td>
|
|
<td><a href="#sec-header">Header Elements</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_BackwardCompatibleWith">BackwardCompatibleWith</a></td>
|
|
<td>2.2 </td>
|
|
<td><a href="#sec-header">Header Elements</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_cardinality">cardinality</a></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_ClassAxiom">Class</a><sup>[axiom]</sup></td>
|
|
<td>2.3 </td>
|
|
<td><a href="#sec-class">Classes</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_ClassID">Class</a><sup>[ID]</sup></td>
|
|
<td>2.3.1 </td>
|
|
<td><a href="#subsec-classDesc">Class descriptions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><i>description</i> /</td>
|
|
<td><a href="#owls_ComplementOf">ComplementOf</a><sub>(D,F)</sub></td>
|
|
<td>2.3.4 </td>
|
|
<td><a href="#subsec-boolComb">Boolean Combination</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Individual /</td>
|
|
<td><a href="#owls_dataPropValue">DataPropertyValue</a></td>
|
|
<td>2.5.1 </td>
|
|
<td><a href="#indivAxiom">Individual axioms</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><i>description</i> /</td>
|
|
<td><a href="#owls_DataRestriction">DataRestriction</a></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_DatatypeProperty">DatatypeProperty</a></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">SubPropertyOf /</td>
|
|
<td><a href="#owls_DatatypePropertyID">DatatypeProperty</a><sup>[ID]</sup></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_DataValue">DataValue</a></td>
|
|
<td>2.6.1 </td>
|
|
<td><a href="#subsec-dataValue">Data value</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><i><a href="#owls_description">description</a></i></td>
|
|
<td>2.3.1 </td>
|
|
<td><a href="#subsec-classDesc">Class descriptions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_DifferentIndividuals">DifferentIndividuals</a></td>
|
|
<td>2.5.2 </td>
|
|
<td><a href="#indivIdentity">Individual identity</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_DisjointClasses">DisjointClasses</a><sub>(D,F)</sub></td>
|
|
<td>2.3.5 </td>
|
|
<td><a href="#subsec-classRel">Class relationships</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Annotation /</td>
|
|
<td><a href="#owls_Documentation">Documentation</a></td>
|
|
<td>2.2 </td>
|
|
<td><a href="#sec-header">Header Elements</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_domain">domain</a></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_EnumeratedClass">EnumeratedClass</a><sub>(D,F)</sub></td>
|
|
<td>2.3.3 </td>
|
|
<td><a href="#subsec-enumObject">Enumeration of individuals</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_EquivalentClasses">EquivalentClasses</a></td>
|
|
<td>2.3.5 </td>
|
|
<td><a href="#subsec-classRel">Class relationships</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_EquivalentProperties">EquivalentProperties</a></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">DataRestriction /</td>
|
|
<td><a href="#owls_dataHasValue">hasValue</a><sub>(D,F)</sub></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">ObjectRestriction /</td>
|
|
<td><a href="#owls_objHasValue">hasValue</a><sub>(D,F)</sub></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_Imports">Imports</a></td>
|
|
<td>2.2 </td>
|
|
<td><a href="#sec-header">Header Elements</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_IncompatibleWith">IncompatibleWith</a></td>
|
|
<td>2.2 </td>
|
|
<td><a href="#sec-header">Header Elements</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_Individual">Individual</a><sup>[axiom]</sup></td>
|
|
<td>2.5.1 </td>
|
|
<td><a href="#indivAxiom">Individual axioms</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_IndividualID">Individual</a><sup>[ID]</sup></td>
|
|
<td>2.5.2 </td>
|
|
<td><a href="#indivIdentity">Individual identity</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><i>description</i> /</td>
|
|
<td><a href="#owls_IntersectionOf">IntersectionOf</a><span class="sub">(D,F)</span></td>
|
|
<td>2.3.4 </td>
|
|
<td><a href="#subsec-boolComb">Boolean Combination</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><i>description</i> /</td>
|
|
<td><a href="#owls_Label">Label</a></td>
|
|
<td>2.2 </td>
|
|
<td><a href="#sec-header">Header Elements</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_maxCardinality">maxCardinality</a></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_minCardinality">minCardinality</a></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_ObjectProperty">ObjectProperty</a></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">SubPropertyOf /</td>
|
|
<td><a href="#owls_ObjectPropertyID">ObjectProperty</a><sup>[ID]</sup></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Individual /</td>
|
|
<td><a href="#owls_objPropValue">ObjectPropertyValue</a></td>
|
|
<td>2.5.1 </td>
|
|
<td><a href="#indivAxiom">Individual axioms</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><i>description</i> /</td>
|
|
<td><a href="#owls_ObjectRestriction">ObjectRestriction</a></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_dataOneOf">OneOf</a> <sup>[data]</sup><sub>(D,F)</sub></td>
|
|
<td>2.6.2 </td>
|
|
<td><a href="#subsec-enumData">Enumeration of data values</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><i>description</i> /</td>
|
|
<td><a href="#owls_objOneOf">OneOf</a> <sup>[object]</sup><sub>(D,F)</sub></td>
|
|
<td>2.3.3 </td>
|
|
<td><a href="#subsec-enumObject">Enumeration of individuals</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_Ontology">Ontology</a></td>
|
|
<td>2.1 </td>
|
|
<td><a href="#sec-root">The Root Element</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_PriorVersion">PriorVersion</a></td>
|
|
<td>2.2 </td>
|
|
<td><a href="#sec-header">Header Elements</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">DatatypeProperty /</td>
|
|
<td><a href="#owls_dataPropRange">range</a></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">ObjectProperty /</td>
|
|
<td><a href="#owls_objPropRange">range</a></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_SameIndividual">SameIndividual</a></td>
|
|
<td>2.5.2 </td>
|
|
<td><a href="#indivIdentity">Individual identity</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">DataRestriction /</td>
|
|
<td><a href="#owls_dataSomeValuesFrom">someValuesFrom</a></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">ObjectRestriction /</td>
|
|
<td><a href="#owls_objSomeValuesFrom">someValuesFrom</a></td>
|
|
<td>2.3.2 </td>
|
|
<td><a href="#subsec-propRest">Property restrictions</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">SubClassOf /</td>
|
|
<td><a href="#owls_classSub">sub</a><sub>(D,F)</sub></td>
|
|
<td>2.3.5 </td>
|
|
<td><a href="#subsec-classRel">Class relationships</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_SubClassOf">SubClassOf</a><sub>(D,F)</sub></td>
|
|
<td>2.3.5 </td>
|
|
<td><a href="#subsec-classRel">Class relationships</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_SubPropertyOf">SubPropertyOf</a></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">SubClassOf /</td>
|
|
<td><a href="#owls_classSuper">super</a><sub>(D,F)</sub></td>
|
|
<td>2.3.5 </td>
|
|
<td><a href="#subsec-classRel">Class relationships</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"></td>
|
|
<td><a href="#owls_superProperty">superProperty</a></td>
|
|
<td>2.4 </td>
|
|
<td><a href="#sec-prop">Properties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Individual /</td>
|
|
<td><a href="#owls_type">type</a></td>
|
|
<td>2.5.1 </td>
|
|
<td><a href="#indivAxiom">Individual axioms</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><i>description</i> /</td>
|
|
<td><a href="#owls_UnionOf">UnionOf</a><sub>(D,F)</sub></td>
|
|
<td>2.3.4 </td>
|
|
<td><a href="#subsec-boolComb">Boolean Combination</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">Ontology /</td>
|
|
<td><a href="#owls_VersionInfo">VersionInfo</a></td>
|
|
<td>2.2 </td>
|
|
<td><a href="#sec-header">Header Elements</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
<h3 id="subsec-cross">3.2 Cross Reference</h3>
|
|
|
|
<p>The table below shows the term correspondence between RDF/XML and
|
|
the XML presentation syntax. In the column of presentation syntax,
|
|
the terms begin with '@' indicate attributes belong to an element
|
|
concatenated before the attribute with a '/' delimiter.</p>
|
|
|
|
<blockquote>
|
|
<p><b>Note:</b>
|
|
<a href="http://www.w3.org/TR/owl-ref/#appA">Appendix A</a>
|
|
of the OWL Reference [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
provides a systematic set of links for each language construct in the
|
|
Reference document and corresponding sections in the Guide
|
|
[<a href="apd-others.html#OWL-Guide">OWL Guide</a>] as well as the
|
|
Semantics [<a href="apd-others.html#OWL-Semantics">OWL Semantics</a>]
|
|
documents.</p>
|
|
</blockquote>
|
|
|
|
<table border="1" cellspacing="0" cellpadding="3">
|
|
<tr>
|
|
<th>
|
|
RDF/XML<br />in [<a href="apd-others.html#OWL-Reference">OWL Reference</a>]
|
|
</th>
|
|
<th>XML Presentation Syntax<br/>(this document)</th>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#AllDifferent-def">owl:AllDifferent</a></td>
|
|
<td><a href="#owls_DifferentIndividuals">DifferentIndividuals</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#allValuesFrom-def">owl:allValuesFrom</a></td>
|
|
<td>DataRestriction / <a href="#owls_dataAllValuesFrom">allValuesFrom</a> <br/>
|
|
ObjectRestriction / <a href="#owls_objAllValuesFrom">allValuesFrom</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#backwardCompatibleWith-def">owl:backwardCompatibleWith</a></td>
|
|
<td><a href="#owls_BackwardCompatibleWith">BackwardCompatibleWith</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#cardinality-def">owl:cardinality</a></td>
|
|
<td><a href="#owls_cardinality">cardinality</a> / @value</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#Class-def">owl:Class</a></td>
|
|
<td><a href="#owls_ClassAxiom">Class</a><sup>[axiom]</sup></td>
|
|
</tr>
|
|
<tr>
|
|
<td>rdfs:comment</td>
|
|
<td><a href="#owls_Documentation">Documentation</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#complementOf-def">owl:complementOf</a></td>
|
|
<td><a href="#owls_ComplementOf">ComplementOf</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#Datatype">rdfs:Datatype</a></td>
|
|
<td>DataRestriction / <a href="#owls_dataAllValuesFrom">allValuesFrom</a> / @datatype <br />
|
|
DataRestriction / <a href="#owls_dataSomeValuesFrom">someValuesFrom</a> / @datatype <br />
|
|
DatatypeProperty/ <a href="#owls_dataPropRange">range</a> / @datatype <br />
|
|
<a href="#owls_DataValue">DataValue</a> / @datatype
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#DatatypeProperty-def">owl:DatatypeProperty</a></td>
|
|
<td><a href="#owls_DatatypeProperty">DatatypeProperty</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#DeprecatedClass-def">owl:DeprecatedClass</a></td>
|
|
<td><a href="#owls_ClassAxiom">Class</a><sup>[axiom]</sup> / @deprecated<br />
|
|
<a href="#owls_EnumeratedClass">EnumeratedClass</a> / @deprecated</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#DeprecatedProperty-def">owl:DeprecatedProperty</a></td>
|
|
<td><a href="#owls_DatatypeProperty">DatatypeProperty</a> / @deprecated<br />
|
|
<a href="#owls_ObjectProperty">ObjectProperty</a> / @deprecated</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#differentFrom-def">owl:differentFrom</a></td>
|
|
<td><a href="#owls_DifferentIndividuals">DifferentIndividuals</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#disjointWith-def">owl:disjointWith</a></td>
|
|
<td><a href="#owls_DisjointClasses">DisjointClasses</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#distinctMembers-def">owl:distinctMembers</a></td>
|
|
<td><span style="width:1em;"> </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#domain-def">rdfs:domain</a></td>
|
|
<td><a href="#owls_domain">domain</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#equivalentClass-def">owl:equivalentClass</a></td>
|
|
<td><a href="#owls_EquivalentClasses">EquivalentClasses</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#equivalentProperty-def">owl:equivalentProperty</a></td>
|
|
<td><a href="#owls_EquivalentProperties">EquivalentProperties</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#FunctionalProperty-def">owl:FunctionalProperty</a></td>
|
|
<td><a href="#owls_DatatypeProperty">DatatypeProperty</a> / @functional<br />
|
|
<a href="#owls_ObjectProperty">ObjectProperty</a> / @functional</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#hasValue-def">owl:hasValue</a></td>
|
|
<td>DataRestriction / <a href="#owls_dataHasValue">hasValue</a> <br />
|
|
ObjectRestriction / <a href="#owls_objHasValue">hasValue</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#imports-def">owl:imports</a></td>
|
|
<td><a href="#owls_Imports">Imports</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#incompatibleWith-def">owl:incompatibleWith</a></td>
|
|
<td><a href="#owls_IncompatibleWith">IncompatibleWith</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#intersectionOf-def">owl:intersectionOf</a></td>
|
|
<td><a href="#owls_IntersectionOf">IntersectionOf</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#InverseFunctionalProperty-def">owl:InverseFunctionalProperty</a></td>
|
|
<td><a href="#owls_DatatypeProperty">DatatypeProperty</a> / @inverseFunctional<br />
|
|
<a href="#owls_ObjectProperty">ObjectProperty</a> / @inverseFunctional</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#inverseOf-def">owl:inverseOf</a></td>
|
|
<td><a href="#owls_ObjectProperty">ObjectProperty</a> / @inverseOf</td>
|
|
</tr>
|
|
<tr>
|
|
<td>rdfs:label</td>
|
|
<td><a href="#owls_Label">Label</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td>rdfs:Literal</td>
|
|
<td><a href="#owls_DataValue">DataValue</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#maxCardinality-def">owl:maxCardinality</a></td>
|
|
<td><a href="#owls_maxCardinality">maxCardinality</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#minCardinality-def">owl:minCardinality</a></td>
|
|
<td><a href="#owls_minCardinality">minCardinality</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#Nothing-def">owl:Nothing</a></td>
|
|
<td><span style="width:1em;"> </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#ObjectProperty-def">owl:ObjectProperty</a></td>
|
|
<td><a href="#owls_ObjectProperty">ObjectProperty</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#oneOf-def">owl:oneOf</a></td>
|
|
<td><a href="#owls_EnumeratedClass">EnumeratedClass</a><br/>
|
|
<a href="#owls_objOneOf">OneOf</a> <sup>[object]</sup><br/>
|
|
<a href="#owls_dataOneOf">OneOf</a> <sup>[data]</sup></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#onProperty-def">owl:onProperty</a></td>
|
|
<td><a href="#owls_DataRestriction">DataRestriction</a> / @property <br/>
|
|
<a href="#owls_ObjectRestriction">ObjectRestriction</a> / @property </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#Ontology-def">owl:Ontology</a></td>
|
|
<td><span style="width:1em;"> </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#priorVersion-def">owl:priorVersion</a></td>
|
|
<td><a href="#owls_PriorVersion">PriorVersion</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#range-def">rdfs:range</a></td>
|
|
<td>DatatypeProperty / <a href="#owls_dataPropRange">range</a><br />
|
|
ObjectProperty / <a href="#owls_objPropRange">range</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td>rdf:RDF</td>
|
|
<td><a href="#owls_Ontology">Ontology</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#Restriction-def">owl:Restriction</a></td>
|
|
<td><a href="#owls_DataRestriction">DataRestriction</a> <br />
|
|
<a href="#owls_ObjectRestriction">ObjectRestriction</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#sameAs-def">owl:sameAs</a></td>
|
|
<td><a href="#owls_SameIndividual">SameIndividual</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#sameIndividualAs-def">owl:sameIndividualAs</a></td>
|
|
<td><a href="#owls_SameIndividual">SameIndividual</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#someValuesFrom-def">owl:someValuesFrom</a></td>
|
|
<td><a href="#owls_DataRestriction">DataRestriction</a> / someValuesFrom <br/>
|
|
<a href="#owls_ObjectRestriction">ObjectRestriction</a> / someValuesFrom </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#subClassOf-def">rdfs:subClassOf</a></td>
|
|
<td><a href="#owls_SubClassOf">SubClassOf</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#subPropertyOf-def">rdfs:subPropertyOf</a></td>
|
|
<td><a href="#owls_SubPropertyOf">SubPropertyOf</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#SymmetricProperty-def">owl:SymmetricProperty</a></td>
|
|
<td><a href="#owls_ObjectProperty">ObjectProperty</a> / @symmetric </td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#Thing-def">owl:Thing</a></td>
|
|
<td><a href="#owls_Individual">Individual</a><sup>[axiom]</sup></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#TransitiveProperty-def">owl:TransitiveProperty</a></td>
|
|
<td><a href="#owls_ObjectProperty">ObjectProperty</a> / @transitive </td>
|
|
</tr>
|
|
<tr>
|
|
<td>rdf:type</td>
|
|
<td><a href="#owls_type">type</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#unionOf-def">owl:unionOf</a></td>
|
|
<td><a href="#owls_UnionOf">UnionOf</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="http://www.w3.org/TR/owl-ref/#versionInfo-def">owl:versionInfo</a></td>
|
|
<td><a href="#owls_VersionInfo">VersionInfo</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div style="margin-top:1em;"></div>
|
|
|
|
<!-- ================================================================== -->
|
|
<hr />
|
|
<div style="text-align:center;">
|
|
<a href="apd-schema.html">next</a>
|
|
<span class="space"></span>
|
|
<a href="#toc">contents</a>
|
|
</div>
|
|
|
|
<p style="margin-top:-1em;">
|
|
<a href="http://validator.w3.org/check/referer">
|
|
<img src="http://www.w3.org/Icons/valid-xhtml10"
|
|
alt="Valid XHTML 1.0!" height="31" width="88" /></a>
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|