PRE-PUBLICATION DRAFT. This document is being prepared for possible publication by the W3C, but it may change, be delayed, or never be published. The "Version" URIs and "Status of this Document" section may reflect its planned location and status, not present reality.
The normative version of this document is a compound document. Non-normative versions consisting of a single HTML file are available in three sizes: medium, large (this version), and extra large. The tests of this document are also available in these non-normative formats: Zip archive of approved tests, the test Web site.
Copyright © 2003 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.
This document contains and presents test cases for the Web Ontology Language (OWL) approved by the Web Ontology Working Group. Many of the test cases illustrate the correct usage of the Web Ontology Language (OWL), and the formal meaning of its constructs. Other test cases illustrate the resolution of issues considered by the Working Group. Conformance for OWL documents and OWL document checkers is specified.
See the normative compound HTML document for document status.
owl:AllDifferentowl:AnnotationPropertyowl:Classowl:DatatypePropertyowl:FunctionalPropertyowl:InverseFunctionalPropertyowl:Nothingowl:Ontologyowl:Restrictionowl:SymmetricPropertyowl:Thingowl:TransitivePropertyowl:allValuesFromowl:backwardCompatibleWithowl:cardinalityowl:complementOfowl:differentFromowl:disjointWithowl:distinctMembersowl:equivalentClassowl:equivalentPropertyowl:importsowl:intersectionOfowl:inverseOfowl:maxCardinalityowl:oneOfowl:sameAsowl:someValuesFromowl:unionOfAs part of the definition of the Web Ontology Language (OWL) the Web Ontology Working Group provides a set of test cases. This document presents those test cases. They are intended to provide examples for, and clarification of, the normative definition of OWL found in [OWL Semantics and Abstract Syntax] to which this document is subsidiary.
This document is one component of the description of OWL, the Web Ontology Language, being produced by the W3C Web Ontology Working Group. The Document Roadmap section of the [OWL Overview] describes each of the different parts and how they fit together.
This document describes the various types of test used
and the format in which the tests
are presented.
Alternative formats of the test collection are provided.
These are intended to be suitable
for use by OWL developers in test harnesses,
possibly as part of a test driven development process,
such as Extreme Programming [XP].
The format of the Manifest files
used as part of these alternative formats is described.
In the non-normative appendices, this document also describes the process for creation and approval of these tests.
Various conformance levels are defined in this document in terms of [OWL Semantics and Abstract Syntax].
However, the test cases do not constitute a conformance test suite for OWL, since they are silent on several important issues. This document cannot be considered a complete specification of OWL.
The tests illustrate issue resolutions, and illustrate the use and meaning of the terms in the OWL namespace.
There are other miscellaneous tests: some arising in the literature, and in preexisting systems; others intending to show the difficulty of complete implementations of OWL Full.
The deliverables included as part of the test cases are:
Note: Other files can be found under the top URL of the Web site which are not part of the deliverable.
Of the deliverables the only normative tests are those included in this document. All other deliverables are informative. Moreover, the recommendation document is informative except for the conformance statements, the test data (specified in RDF/XML [RDF Syntax]), and the supporting documentation.
The Web Ontology Working Group has seen adequate implementation experience of most of the tests in this document. Some, however, are particularly difficult to implement efficiently. These are labelled as extra credit tests. Such tests indicate the semantics of OWL, but may use features that are not sufficiently widely implemented to provide good interoperability.
A general case of extra credit tests is that all OWL Full nonentailments and consistency tests are extra credit tests. This is because typical OWL Full implementations prove entailments but cannot prove nonentailments.
Extra credit tests are labelled with "EC" within this document and with status EXTRACREDIT in the manifest files.
The name indicates that there is no expectation that any implementation will successfully run such tests and any that do gain extra credit.
Each test consists of one or more RDF/XML documents and a Manifest
file.
Tests of one document indicate some property of that document
when viewed as an OWL knowledge base.
Tests of two or more documents indicate a relationship between the two documents
when viewed as OWL knowledge bases.
The Manifest
file is named ManifestNNN.rdf (The NNN
is replaced by the test number).
It contains metadata (in RDF) indicating the test type,
and describing the test.
The metadata also indicates the language levels appropriate for each test and each document in each test. For each RDF/XML document, one language level is indicated, being OWL Lite, OWL DL or OWL Full, as given by the syntactic rules in [OWL Semantics and Abstract Syntax]. For semantic tests, one or two language levels are indicated. If the language level OWL Full is indicated for a semantic test, then the test holds according to the RDF-Compatible Model-Theoretic Semantics in [OWL Semantics and Abstract Syntax]. If the language level OWL Lite or OWL DL is indicated for a semantic test, then the test holds according to the Direct Model-Theoretic Semantics in [OWL Semantics and Abstract Syntax]. If the language level OWL Lite is indicated for a semantic test, then the test only uses features within the OWL Lite sublanguage.
Some of the tests require that certain
datatypes are, or are not, supported in the
datatype map
[OWL Semantics and Abstract Syntax].
These are indicated with the test.
Other datatypes which are used in the test
are also indicated: the test applies whether or not these are supported in the
datatype map .
The datatypes
xsd:integer, xsd:string
from [XML Schema Datatypes]
are not indicated, even when used or required, since they
must be supported.
These tests use one document.
It is named badNNN.rdf.
This document includes a use of the OWL namespace with a local name
that is not defined by the OWL recommendation. An OWL Syntax checker SHOULD
give a warning.
Note: These tests are intended to help migration from DAML+OIL [DAML+OIL], since the local names chosen are defined in the DAML+OIL namespace.
These tests use two documents.
One is named premisesNNN.rdf,
the other is named conclusionsNNN.rdf.
The conclusions are
entailed by the premises.
Such entailment is defined by the OWL semantics [OWL Semantics and Abstract Syntax],
(see also
OWL Full entailment).
These tests use two documents.
One is named premisesNNN.rdf,
the other is named nonconclusionsNNN.rdf.
The nonconclusions are not
entailed
by the premises.
Such entailment is defined by the OWL semantics [OWL Semantics and Abstract Syntax],
(see also
OWL Full entailment).
Exceptionally, test imports-002 includes a third document.
These tests use one document.
It is named conclusionsNNN.rdf.
The conclusions follow from the OWL semantics
[OWL Semantics and Abstract Syntax].
These tests are a special case of the entailment tests
in which the premises are empty.
These tests use one document.
It is named conclusionsNNN.rdf.
These are a special case of true tests.
The conclusions follow from the
OWL Full semantics
[OWL Semantics and Abstract Syntax].
The tests are intended to illustrate how
OWL Full can be used to describe its own properties and
classes.
These tests use one document.
It is named consistentNNN.rdf.
The document is
consistent
as defined
by the OWL Semantics [OWL Semantics and Abstract Syntax],
(see also
OWL Full consistency).
These tests use one document.
It is named inconsistentNNN.rdf.
The document is not
consistent
as defined
by the OWL semantics [OWL Semantics and Abstract Syntax],
(see also
OWL Full consistency).
These tests use more than two documents.
One is named premisesNNN.rdf,
another is named conclusionsNNN.rdf, the rest have names
like supportNNN-A.rdf.
The support documents are in the
imports closure of the
premises document.
The conclusions are
entailed
by the
imports closure
of the premises.
Such entailment is defined by the OWL semantics [OWL Semantics and Abstract Syntax],
(see also
OWL Full entailment).
These tests use two documents.
One is named importsNNN.rdf,
the other is named mainNNN.rdf.
These
tests indicate the
interaction between owl:imports
and the sublanguage levels of the main document.
An OWL Full document is any RDF/XML document [RDF Syntax].
An OWL DL document is an OWL Full document such that the imports closure [OWL Semantics and Abstract Syntax] of the corresponding RDF graph [RDF Concepts] is an OWL DL ontology in RDF graph form.
An OWL Lite document is an OWL Full document such that the imports closure [OWL Semantics and Abstract Syntax] of the corresponding RDF graph [RDF Concepts] is an OWL Lite ontology in RDF graph form.
An OWL Lite or OWL DL document D is OWL DL consistent with respect to a datatype map T if and only if there is some abstract OWL interpretation I with respect to T such that I satisfies an abstract ontology O corresponding to D, in which O has a separated vocabulary; (see [OWL Semantics and Abstract Syntax]).
An OWL Full document D is OWL Full consistent with respect to a datatype map T, if and only if there is some OWL Full interpretation I with respect to T such that I satisfies all the RDF graphs in some imports closed collection containing an RDF graph corresponding to D.
This section uses the words MUST, MUST NOT, SHOULD and MAY as in [RFC 2119].
An OWL
syntax checker
takes a document as input, and returns one word being one of Lite,
DL, Full, Other.
The return value MUST conform with the following:
In addition, an OWL Syntax Checker SHOULD report a warning if
the
RDF graph
[RDF Concepts]
corresponding to the document
uses any URI references
starting with the prefix http://www.w3.org/2002/07/owl#
except those found in the
[RDF Schema for OWL].
An OWL syntax checker SHOULD report network errors occurring during the computation of the imports closure.
An OWL consistency checker
takes a document as input, and returns one word being Consistent,
Inconsistent, or Unknown.
An OWL consistency checker SHOULD report network errors occurring during the computation of the imports closure.
An OWL consistency checker MUST provide a means to determine the datatypes supported by its datatype map, [OWL Semantics and Abstract Syntax]; for example, by listing them in its supporting documentation.
An OWL consistency checker MUST provide a means to determine the model theory [OWL Semantics and Abstract Syntax], it uses (either the Direct Model-Theoretic Semantics or the RDF-Compatible Model-Theoretic Semantics); for example, in its supporting documentation.
An OWL
consistency checker MUST be sound:
it MUST
return Consistent only when the
input document is consistent and Inconsistent only when the input
document is not consistent, with respect to the datatype map of the checker.
If an input document uses datatypes that are not supported by the datatype map of an OWL consistency checker then it MAY report a warning.
An OWL consistency checker is
complete and terminating,
if, given sufficient (but
finite) resources (CPU cycles and memory)
and the absence of
network errors, it will always return
either Consistent or Inconsistent. It has
been shown that for OWL Lite and DL it is possible to construct a
complete and terminating consistency checker
(the languages are decidable),
and that
for OWL full it is not possible to construct a complete and terminating
consistency
checker (the language is undecidable,
[Practical Reasoning]).
The
datatype map of
an OWL consistency checker MUST minimally support at least
xsd:integer, xsd:string
from [XML Schema Datatypes].
An OWL consistency checker SHOULD NOT return
Unknown.
Unknown, while sometimes needed, is not
a desired response.
Four different conformance classes of OWL consistency checker are defined.
An OWL Lite consistency checker is an OWL consistency checker that takes an OWL Lite document as input, and uses the Direct Model-Theoretic Semantics.
An OWL DL consistency checker is an OWL consistency checker that takes an OWL DL document as input and uses the Direct Model-Theoretic Semantics.
An OWL Full consistency checker is an OWL consistency checker that takes an OWL Full document as input and uses the RDF-Compatible Model-Theoretic Semantics.
The
datatype map of an
OWL Full consistency checker
MUST also support
rdf:XMLLiteral from [RDF Concepts],
see [RDF Semantics].
A complete OWL Lite consistency checker is an OWL Lite consistency checker that is complete and terminating.
Note: An OWL Full consistency checker may indicate that an OWL DL document is inconsistent, while an OWL DL consistency checker indicates that the same document is consistent, (for example: compare test Thing-005 with Thing-004 or compare AnnotationProperty-001 with AnnotationProperty-002). Every OWL DL consistency checker is also an OWL Lite consistency checker.
Note:
A
complete OWL Lite consistency checker
MAY return Unknown for an OWL Lite document in the case where
a resource limit has been exceeded.
Note: The usage of the word 'complete' in this section follows the conventions of the description logic community. In some other communities the word 'complete' is used in a weaker sense, refering to the detection of inconsistency by logical inference systems.
An OWL syntax checker when presented with any of the test files must return the indicated result. This includes the extra credit tests.
An OWL consistency checker can be tested using appropriate consistency and inconsistency tests. Appropriate tests are those of an appropriate level and for which the checker has appropriate datatype support. The level of the test indicates the semantic theory being used, which may differ from the level of the file. For example, test Thing-004 contains an OWL DL file which is consistent as an OWL DL consistency test, but inconsistent as an OWL Full consistency test.
An OWL consistency checker has appropriate datatype support for a test if both:
An OWL Lite consistency checker
with
appropriate datatype support,
when presented with a file from
an OWL Lite consistency test,
must return Consistent
or Unknown.
An OWL DL consistency checker
with
appropriate datatype support,
when presented with a file from
an OWL DL or OWL Lite consistency test,
must return Consistent
or Unknown.
An OWL Full consistency checker
with
appropriate datatype support,
when presented with a file from
an OWL Full consistency test,
must return Consistent
or Unknown.
The corresponding inconsistency tests must return
Inconsistent or Unknown.
A complete OWL Lite consistency checker
should not return Unknown on the OWL Lite
consistency
or inconsistency tests, regardless of the use of
unsupported datatypes.
The above constraints also apply to
extra credit tests.
Consistency checkers that return the correct answer (i.e. not Unknown)
gain the extra credit.
The Manifest file follows the RDF schema developed
for the RDF Test Cases [RDF Tests].
This is augmented by a few new properties and types which are declared in the OWL Test Ontology, found at http://www.w3.org/2002/03owlt/testOntology.
Specifically each test has its own Manifest file, and is identified from
the URI reference formed from the Manifest file's URL with a fragment test.
The test has one rdf:type explicit, and this is one of:
otest:NotOwlFeatureTestotest:PositiveEntailmentTestotest:NegativeEntailmentTestotest:TrueTestotest:OWLforOWLTestotest:ConsistencyTestotest:InconsistencyTestotest:ImportEntailmentTestotest:ImportLevelTestWhere otest is bound to
http://www.w3.org/2002/03owlt/testOntology#
and rtest is bound to
http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#.
The name of the original author of the test is shown using a
dc:creator property, see [Dublin Core].
A description of the test is given (using XHTML markup [XHTML])
as the value of the rtest:description property.
An issue, if any, from the OWL Issues list [OWL Issues], is
the value of a rtest:issue property.
An appropriate language feature, from the OWL namespace, if any, is
the value of the otest:feature property.
The input documents with the test data are found as the value of
the rtest:inputDocument property or
as the value of both the
rtest:premiseDocument and
the
rtest:conclusionDocument.
The support files for import entailment tests, import level tests
and test imports-002 are found
as the values of otest:importedPremiseDocument.
The conformance levels associated with both files and tests
are given with the otest:level property.
The value for each document is one of
otest:Full, otest:DL,
otest:Lite or otest:Other.
Each test is explicitly associated with one or two levels.
If it is associated with otest:Lite then it
is implicitly suitable for otest:DL.
The datatypes used in the test are given with the
otest:usedDatatype property or with one of its subproperties:
otest:supportedDatatype or otest:notSupportedDatatype.
These
indicate that
the test is only valid when the datatype is supported or not supported respectively
by the
datatype map being used.
The rtest:status of the test
reflects the process of
appendix A.
It
is given as one of the following levels:
owl:AllDifferent| Full | Positive Entailment Test: | 001 | |
|---|---|---|---|
Description:
(informative)
<AllDifferent/Manifest001#test>
|
|||
using AllDifferent to derive differentFrom | |||
| N3 format is informative. | |||
| Full | Premises:
<AllDifferent/premises001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/AllDifferent/premises001#"
xml:base="http://www.w3.org/2002/03owlt/AllDifferent/premises001" >
<owl:AllDifferent>
<owl:distinctMembers rdf:parseType="Collection">
<first:Person rdf:about="#Fred" />
<first:Person rdf:about="#Wilma" />
<first:Person rdf:about="#Barney" />
<first:Person rdf:about="#Betty" />
</owl:distinctMembers>
</owl:AllDifferent>
</rdf:RDF> | |||
_:a rdf:type owl:AllDifferent . first:Fred rdf:type first:Person . first:Wilma rdf:type first:Person . first:Barney rdf:type first:Person . first:Betty rdf:type first:Person . _:c rdf:first first:Betty . _:c rdf:rest rdf:nil . _:e rdf:first first:Barney . _:e rdf:rest _:c . _:g rdf:first first:Wilma . _:g rdf:rest _:e . _:i rdf:first first:Fred . _:i rdf:rest _:g . _:a owl:distinctMembers _:i . | |||
| Full | Conclusions:
<AllDifferent/conclusions001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/AllDifferent/premises001#"
xml:base="http://www.w3.org/2002/03owlt/AllDifferent/conclusions001" >
<rdf:Description rdf:about="premises001#Barney">
<owl:differentFrom rdf:resource="premises001#Fred"/>
</rdf:Description>
</rdf:RDF> | |||
first:Barney owl:differentFrom first:Fred . | |||
owl:AnnotationProperty| Lite | Negative Entailment Test: | 001 | |
|---|---|---|---|
Description:
(informative)
<AnnotationProperty/Manifest001#test>
|
|||
| The semantics of annotations in the direct semantics strictly distinguishes class valued annotations from individual valued annotations. | |||
| N3 format is informative. | |||
| Lite | Premises:
<AnnotationProperty/premises001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/AnnotationProperty/premises001#"
xml:base="http://www.w3.org/2002/03owlt/AnnotationProperty/premises001" >
<owl:Class rdf:ID="A">
<first:ap>
<owl:Class rdf:ID="B"/>
</first:ap>
</owl:Class>
<owl:AnnotationProperty rdf:ID="ap"/>
</rdf:RDF> | |||
first:A rdf:type owl:Class . first:B rdf:type owl:Class . first:A first:ap first:B . first:ap rdf:type owl:AnnotationProperty . | |||
| Lite | Conclusions:
<AnnotationProperty/nonconclusions001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/AnnotationProperty/premises001#"
xml:base="http://www.w3.org/2002/03owlt/AnnotationProperty/nonconclusions001" >
<owl:Class rdf:about="premises001#A">
<first:ap>
<owl:Thing />
</first:ap>
</owl:Class>
<owl:AnnotationProperty rdf:about="premises001#ap"/>
</rdf:RDF> | |||
first:A rdf:type owl:Class . _:a rdf:type owl:Thing . first:A first:ap _:a . first:ap rdf:type owl:AnnotationProperty . | |||
| Full | Positive Entailment Test: | 002 | |
|---|---|---|---|
Description:
(informative)
<AnnotationProperty/Manifest002#test>
|
|||
| Under the rdfs compatible semantics, the previous non-entailment is, in fact, an entailment. | |||
| N3 format is informative. | |||
| Lite | Premises:
<AnnotationProperty/premises002>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/AnnotationProperty/premises002#"
xml:base="http://www.w3.org/2002/03owlt/AnnotationProperty/premises002" >
<owl:Class rdf:ID="A">
<first:ap>
<owl:Class rdf:ID="B"/>
</first:ap>
</owl:Class>
<owl:AnnotationProperty rdf:ID="ap"/>
</rdf:RDF> | |||
first:A rdf:type owl:Class . first:B rdf:type owl:Class . first:A first:ap first:B . first:ap rdf:type owl:AnnotationProperty . | |||
| Lite | Conclusions:
<AnnotationProperty/conclusions002>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/AnnotationProperty/premises002#"
xml:base="http://www.w3.org/2002/03owlt/AnnotationProperty/conclusions002" >
<owl:Class rdf:about="premises002#A">
<first:ap>
<owl:Thing />
</first:ap>
</owl:Class>
<owl:AnnotationProperty rdf:about="premises002#ap"/>
</rdf:RDF> | |||
first:A rdf:type owl:Class . _:a rdf:type owl:Thing . first:A first:ap _:a . first:ap rdf:type owl:AnnotationProperty . | |||
| Full (EC) | Consistent document. | 003 | |
|---|---|---|---|
Description:
(informative)
<AnnotationProperty/Manifest003#test>
|
|||
| URI references used in annotations don't need to be typed. | |||
| N3 format is informative. | |||
| Lite | Consistent:
<AnnotationProperty/consistent003>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/AnnotationProperty/consistent003#"
xml:base="http://www.w3.org/2002/03owlt/AnnotationProperty/consistent003" >
<owl:AnnotationProperty rdf:ID="ap"/>
<owl:Class rdf:ID="A">
<first:ap>
<rdf:Description rdf:ID="B"/>
</first:ap>
</owl:Class>
</rdf:RDF> | |||
first:ap rdf:type owl:AnnotationProperty . first:A rdf:type owl:Class . first:A first:ap first:B . | |||
| Full (EC) | Consistent document. | 004 | |
|---|---|---|---|
Description:
(informative)
<AnnotationProperty/Manifest004#test>
|
|||
| AnnotationProperty's in OWL Lite and OWL DL, may not have range constraints. | |||
| N3 format is informative. | |||
| Full | Consistent:
<AnnotationProperty/consistent004>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base=
"http://www.w3.org/2002/03owlt/AnnotationProperty/consistent004" >
<owl:AnnotationProperty rdf:ID="ap">
<rdfs:range rdf:resource=
"http://www.w3.org/2001/XMLSchema#string"/>
</owl:AnnotationProperty>
</rdf:RDF> | |||
first:ap rdf:type owl:AnnotationProperty . first:ap rdfs:range xsd:string . | |||
owl:Class| Full | OWL described in OWL. | 001 | |
|---|---|---|---|
Description:
(informative)
<Class/Manifest001#test>
|
|||
| In OWL Full every rdfs:Class is an owl:Class, in particular rdfs:Class is an owl:Class. | |||
| N3 format is informative. | |||
| Full | True:
<Class/conclusions001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/Class/conclusions001" >
<owl:Class rdf:about="http://www.w3.org/2000/01/rdf-schema#Class">
<owl:equivalentClass>
<rdfs:Class rdf:about="http://www.w3.org/2002/07/owl#Class"/>
</owl:equivalentClass>
</owl:Class>
</rdf:RDF> | |||
rdfs:Class rdf:type owl:Class . owl:Class rdf:type rdfs:Class . rdfs:Class owl:equivalentClass owl:Class . | |||
| Full | Positive Entailment Test: | 002 | |
|---|---|---|---|
Description:
(informative)
<Class/Manifest002#test>
|
|||
| In OWL Full, the triple in the premises is synonymous with the triple in the conclusions. | |||
| N3 format is informative. | |||
| Full | Premises:
<Class/premises002>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xml:base="http://www.w3.org/2002/03owlt/Class/premises002" >
<rdfs:Class rdf:ID="ex"/>
</rdf:RDF> | |||
first:ex rdf:type rdfs:Class . | |||
| Lite | Conclusions:
<Class/conclusions002>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/Class/conclusions002" >
<owl:Class rdf:about="premises002#ex"/>
</rdf:RDF> | |||
first:ex rdf:type owl:Class . | |||
| Full | Positive Entailment Test: | 003 | |
|---|---|---|---|
Description:
(informative)
<Class/Manifest003#test>
|
|||
| In OWL Full, the triple in the premises is synonymous with the triple in the conclusions. | |||
| N3 format is informative. | |||
| Lite | Premises:
<Class/premises003>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/Class/premises003" >
<owl:Class rdf:ID="ex"/>
</rdf:RDF> | |||
first:ex rdf:type owl:Class . | |||
| Full | Conclusions:
<Class/conclusions003>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xml:base="http://www.w3.org/2002/03owlt/Class/conclusions003" >
<rdfs:Class rdf:about="premises003#ex"/>
</rdf:RDF> | |||
first:ex rdf:type rdfs:Class . | |||
| Full (EC) | Negative Entailment Test: | 004 | |
|---|---|---|---|
Description:
(informative)
<Class/Manifest004#test>
|
|||
| Annotations about owl:Class are not related to those about rdfs:Class. | |||
| N3 format is informative. | |||
| Namespaces: | |||
@prefix dc: <http://purl.org/dc/elements/1.0/> . | |||
| Full | Premises:
<Class/premises004>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/Class/premises004#"
xmlns:dc='http://purl.org/dc/elements/1.0/'
xml:base="http://www.w3.org/2002/03owlt/Class/premises004" >
<owl:Class rdf:ID="WorkingGroup"/>
<owl:Class rdf:about="http://www.w3.org/2000/01/rdf-schema#Class">
<dc:creator>
<first:WorkingGroup
rdf:about="http://www.w3.org/RDF/Group/Schema/members" />
</dc:creator>
</owl:Class>
</rdf:RDF> | |||
first:WorkingGroup rdf:type owl:Class . rdfs:Class rdf:type owl:Class . <http://www.w3.org/RDF/Group/Schema/members> rdf:type first:WorkingGroup . rdfs:Class dc:creator <http://www.w3.org/RDF/Group/Schema/members> . | |||
| Full | Conclusions:
<Class/nonconclusions004>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/Class/premises004#"
xmlns:dc='http://purl.org/dc/elements/1.0/'
xml:base="http://www.w3.org/2002/03owlt/Class/nonconclusions004" >
<owl:Class rdf:about="premises004#WorkingGroup"/>
<owl:Class rdf:about="http://www.w3.org/2002/07/owl#Class">
<dc:creator>
<first:WorkingGroup />
</dc:creator>
</owl:Class>
</rdf:RDF> | |||
first:WorkingGroup rdf:type owl:Class . owl:Class rdf:type owl:Class . _:a rdf:type first:WorkingGroup . owl:Class dc:creator _:a . | |||
| DL Full | Negative Entailment Test: | 005 | |
|---|---|---|---|
Description:
(informative)
<Class/Manifest005#test>
|
|||
This test shows a potential misapplication of OWL Full comprehension rules.
It also shows optional type triples on an owl:Class. | |||
| N3 format is informative. | |||
| Lite | Premises:
<Class/premises005>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/Class/premises005" >
<owl:Thing rdf:ID="x"/>
</rdf:RDF> | |||
first:x rdf:type owl:Thing . | |||
| DL | Conclusions:
<Class/nonconclusions005>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/Class/nonconclusions005" >
<owl:Class rdf:ID="c"/>
<rdf:Description rdf:about="premises005#x">
<rdf:type>
<rdf:Description>
<rdf:type
rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
<rdf:type
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
<owl:unionOf rdf:parseType="Collection">
<rdf:Description rdf:about="#c" />
<owl:Class>
<owl:complementOf rdf:resource="#c"/>
</owl:Class>
</owl:unionOf>
</rdf:Description>
</rdf:type>
</rdf:Description>
</rdf:RDF> | |||
second:c rdf:type owl:Class . _:a rdf:type owl:Class . _:a rdf:type rdfs:Class . _:c rdf:type owl:Class . _:c owl:complementOf second:c . _:e rdf:first _:c . _:e rdf:rest rdf:nil . _:g rdf:first second:c . _:g rdf:rest _:e . _:a owl:unionOf _:g . first:x rdf:type _:a . | |||
| Full | Positive Entailment Test: | 006 | |
|---|---|---|---|
Description:
(informative)
<Class/Manifest006#test>
|
|||
This test shows a correct application of OWL Full comprehension rules.
It also shows that use of rdfs:Class instead of owl:Class
may make a file fall outside OWL DL. | |||
| N3 format is informative. | |||
| Lite | Premises:
<Class/premises006>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/Class/premises006" >
<owl:Thing rdf:ID="x"/>
<owl:Class rdf:ID="c"/>
</rdf:RDF> | |||
first:x rdf:type owl:Thing . first:c rdf:type owl:Class . | |||
| Full | Conclusions:
<Class/conclusions006>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs='http://www.w3.org/2000/01/rdf-schema#'
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/Class/conclusions006" >
<rdf:Description rdf:about="premises006#x">
<rdf:type>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="premises006#c" />
<rdfs:Class>
<owl:complementOf rdf:resource="premises006#c"/>
</rdfs:Class>
</owl:unionOf>
</owl:Class>
</rdf:type>
</rdf:Description>
</rdf:RDF> | |||
_:a rdf:type owl:Class . first:c rdf:type owl:Class . _:c rdf:type rdfs:Class . _:c owl:complementOf first:c . _:e rdf:first _:c . _:e rdf:rest rdf:nil . _:g rdf:first first:c . _:g rdf:rest _:e . _:a owl:unionOf _:g . first:x rdf:type _:a . | |||
owl:DatatypeProperty| Full (EC) | Consistent document. | 001 | |
|---|---|---|---|
Description:
(informative)
<DatatypeProperty/Manifest001#test>
|
|||
| DatatypeProperty's may be used to related typed literals to typed literals, in OWL Full. | |||
| N3 format is informative. | |||
| Full | Consistent:
<DatatypeProperty/consistent001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/DatatypeProperty/consistent001#"
xml:base="http://www.w3.org/2002/03owlt/DatatypeProperty/consistent001" >
<owl:DatatypeProperty rdf:ID="convertedAbsoluteValue">
<rdfs:domain rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
<rdfs:range rdf:resource=
"http://www.w3.org/2001/XMLSchema#nonNegativeInteger" />
</owl:DatatypeProperty>
<rdf:Description>
<owl:sameAs rdf:datatype=
"http://www.w3.org/2001/XMLSchema#integer"
>-3</owl:sameAs>
<first:convertedAbsoluteValue rdf:datatype=
"http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
>3</first:convertedAbsoluteValue>
</rdf:Description>
</rdf:RDF> | |||
first:convertedAbsoluteValue rdf:type owl:DatatypeProperty . first:convertedAbsoluteValue rdfs:domain xsd:integer . first:convertedAbsoluteValue rdfs:range xsd:nonNegativeInteger . _:a owl:sameAs "-3"^^xsd:integer . _:a first:convertedAbsoluteValue "3"^^xsd:nonNegativeInteger . | |||
owl:FunctionalProperty| Full | Positive Entailment Test: | 001 | |
|---|---|---|---|
Description:
(informative)
<FunctionalProperty/Manifest001#test>
|
|||
If prop belongs to owl:FunctionalProperty,
and subject denotes a resource
which is the subject of two prop triples, then the objects
of these triples have the same denotation. | |||
| N3 format is informative. | |||
| Full | Premises:
<FunctionalProperty/premises001>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/FunctionalProperty/premises001#"
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/premises001" >
<owl:FunctionalProperty rdf:ID="prop"/>
<rdf:Description rdf:ID="subject">
<first:prop rdf:resource="#object1" />
<first:prop rdf:resource="#object2" />
</rdf:Description>
</rdf:RDF> | |||
first:prop rdf:type owl:FunctionalProperty . first:subject first:prop first:object1 . first:subject first:prop first:object2 . | |||
| Full | Conclusions:
<FunctionalProperty/conclusions001>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/conclusions001" >
<rdf:Description rdf:about="premises001#object1">
<owl:sameAs rdf:resource="premises001#object2" />
</rdf:Description>
</rdf:RDF> | |||
first:object1 owl:sameAs first:object2 . | |||
| Full | Positive Entailment Test: | 002 | |
|---|---|---|---|
Description:
(informative)
<FunctionalProperty/Manifest002#test>
|
|||
If prop belongs to owl:FunctionalProperty,
and subject denotes a resource
which is the subject of two prop triples, then the objects
of these triples have the same denotation.Hence any assertion made
using one of them can be transferred to the other. | |||
| N3 format is informative. | |||
| Namespaces: | |||
@prefix eg: <http://www.example.org/> . | |||
| Full | Premises:
<FunctionalProperty/premises002>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xmlns:eg ="http://www.example.org/"
xmlns:first="http://www.w3.org/2002/03owlt/FunctionalProperty/premises002#"
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/premises002" >
<owl:FunctionalProperty rdf:ID="prop"/>
<rdf:Description rdf:ID="subject">
<first:prop>
<rdf:Description rdf:ID="object1">
<eg:prop2>value</eg:prop2>
</rdf:Description>
</first:prop>
<first:prop rdf:resource="#object2" />
</rdf:Description>
</rdf:RDF> | |||
first:prop rdf:type owl:FunctionalProperty . first:object1 eg:prop2 "value" . first:subject first:prop first:object1 . first:subject first:prop first:object2 . | |||
| Full | Conclusions:
<FunctionalProperty/conclusions002>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:eg ="http://www.example.org/"
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/conclusions002" >
<rdf:Description rdf:about="premises002#object2" >
<eg:prop2>value</eg:prop2>
</rdf:Description>
</rdf:RDF> | |||
first:object2 eg:prop2 "value" . | |||
| Full | Positive Entailment Test: | 003 | |
|---|---|---|---|
Description:
(informative)
<FunctionalProperty/Manifest003#test>
|
|||
If prop is an owl:FunctionalProperty,
then its inverse is an owl:InverseFunctionalProperty. | |||
| N3 format is informative. | |||
| Full | Premises:
<FunctionalProperty/premises003>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/premises003" >
<owl:FunctionalProperty rdf:ID="prop">
<owl:inverseOf rdf:resource="#inv"/>
</owl:FunctionalProperty>
</rdf:RDF> | |||
first:prop rdf:type owl:FunctionalProperty . first:prop owl:inverseOf first:inv . | |||
| Lite | Conclusions:
<FunctionalProperty/conclusions003>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/conclusions003" >
<owl:InverseFunctionalProperty rdf:about="premises003#inv"/>
</rdf:RDF> | |||
first:inv rdf:type owl:InverseFunctionalProperty . | |||
| Full | Positive Entailment Test: | 004 | |
|---|---|---|---|
Description:
(informative)
<FunctionalProperty/Manifest004#test>
|
|||
If the range of prop is a singleton set then it is necessarily functional, (i.e. every member of its domain
has a single value) and so it is an owl:FunctionalProperty. | |||
| N3 format is informative. | |||
| Full | Premises:
<FunctionalProperty/premises004>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/premises004" >
<owl:ObjectProperty rdf:ID="prop">
<rdfs:range rdf:resource="#Singleton"/>
</owl:ObjectProperty>
<rdfs:Class rdf:ID="Singleton">
<owl:oneOf rdf:parseType="Collection">
<rdf:Description/>
</owl:oneOf>
</rdfs:Class>
</rdf:RDF> | |||
first:prop rdf:type owl:ObjectProperty . first:prop rdfs:range first:Singleton . first:Singleton rdf:type rdfs:Class . _:a rdf:first _:b . _:a rdf:rest rdf:nil . first:Singleton owl:oneOf _:a . | |||
| Full | Conclusions:
<FunctionalProperty/conclusions004>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/conclusions004" >
<owl:FunctionalProperty rdf:about="premises004#prop"/>
</rdf:RDF> | |||
first:prop rdf:type owl:FunctionalProperty . | |||
| Full | Positive Entailment Test: | 005 | |
|---|---|---|---|
Description:
(informative)
<FunctionalProperty/Manifest005#test>
|
|||
If prop belongs to owl:FunctionalProperty
then an OWL individual has at most one value for prop. | |||
| N3 format is informative. | |||
| Namespaces: | |||
@prefix eg: <http://www.example.org/> . | |||
| Full | Premises:
<FunctionalProperty/premises005>
| ||
<rdf:RDF
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/premises005"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xmlns:eg ="http://www.example.org/">
<owl:FunctionalProperty rdf:about="http://www.example.org/foo#prop" />
<owl:Thing rdf:about="http://www.example.org/foo#object" />
</rdf:RDF> | |||
eg:foo#prop rdf:type owl:FunctionalProperty . eg:foo#object rdf:type owl:Thing . | |||
| Full | Conclusions:
<FunctionalProperty/conclusions005>
| ||
<rdf:RDF
xml:base="http://www.w3.org/2002/03owlt/FunctionalProperty/conclusions005"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xmlns:eg ="http://www.example.org/">
<owl:Thing rdf:about="http://www.example.org/foo#object">
<rdf:type>
<owl:Restriction>
<owl:onProperty>
<owl:FunctionalProperty rdf:about="http://www.example.org/foo#prop" />
</owl:onProperty>
<owl:maxCardinality
rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
>1</owl:maxCardinality>
</owl:Restriction>
</rdf:type>
</owl:Thing>
</rdf:RDF> | |||
eg:foo#object rdf:type owl:Thing . _:a rdf:type owl:Restriction . eg:foo#prop rdf:type owl:FunctionalProperty . _:a owl:onProperty eg:foo#prop . _:a owl:maxCardinality "1"^^xsd:nonNegativeInteger . eg:foo#object rdf:type _:a . | |||
owl:InverseFunctionalProperty| Full | Positive Entailment Test: | 001 | |
|---|---|---|---|
Description:
(informative)
<InverseFunctionalProperty/Manifest001#test>
|
|||
If prop belongs to owl:InverseFunctionalProperty,
and object denotes a resource
which is the object of two prop triples, then the subjects
of these triples have the same denotation. | |||
| N3 format is informative. | |||
| Full | Premises:
<InverseFunctionalProperty/premises001>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises001#"
xml:base="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises001" >
<owl:InverseFunctionalProperty rdf:ID="prop"/>
<rdf:Description rdf:ID="subject1">
<first:prop rdf:resource="#object" />
</rdf:Description>
<rdf:Description rdf:ID="subject2">
<first:prop rdf:resource="#object" />
</rdf:Description>
</rdf:RDF> | |||
first:prop rdf:type owl:InverseFunctionalProperty . first:subject1 first:prop first:object . first:subject2 first:prop first:object . | |||
| Full | Conclusions:
<InverseFunctionalProperty/conclusions001>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/conclusions001" >
<rdf:Description rdf:about="premises001#subject1">
<owl:sameAs rdf:resource="premises001#subject2" />
</rdf:Description>
</rdf:RDF> | |||
first:subject1 owl:sameAs first:subject2 . | |||
| Full | Positive Entailment Test: | 002 | |
|---|---|---|---|
Description:
(informative)
<InverseFunctionalProperty/Manifest002#test>
|
|||
If prop belongs to owl:InverseFunctionalProperty,
and object denotes a resource
which is the object of two prop triples, then the subjects
of these triples have the same denotation. Hence any assertion made
using one of them can be transferred to the other. | |||
| N3 format is informative. | |||
| Namespaces: | |||
@prefix eg: <http://www.example.org/> . | |||
| Full | Premises:
<InverseFunctionalProperty/premises002>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xmlns:eg ="http://www.example.org/"
xmlns:first="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises002#"
xml:base="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises002" >
<owl:InverseFunctionalProperty rdf:ID="prop"/>
<rdf:Description rdf:ID="subject1" >
<first:prop rdf:resource="#object" />
<eg:prop2>value</eg:prop2>
</rdf:Description>
<rdf:Description rdf:ID="subject2" >
<first:prop rdf:resource="#object" />
</rdf:Description>
</rdf:RDF> | |||
first:prop rdf:type owl:InverseFunctionalProperty . first:subject1 first:prop first:object . first:subject1 eg:prop2 "value" . first:subject2 first:prop first:object . | |||
| Full | Conclusions:
<InverseFunctionalProperty/conclusions002>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:eg ="http://www.example.org/"
xml:base="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/conclusions002" >
<rdf:Description rdf:about="premises002#subject2" >
<eg:prop2>value</eg:prop2>
</rdf:Description>
</rdf:RDF> | |||
first:subject2 eg:prop2 "value" . | |||
| Full | Positive Entailment Test: | 003 | |
|---|---|---|---|
Description:
(informative)
<InverseFunctionalProperty/Manifest003#test>
|
|||
If prop is an owl:InverseFunctionalProperty,
then its inverse is an owl:FunctionalProperty. | |||
| N3 format is informative. | |||
| Full | Premises:
<InverseFunctionalProperty/premises003>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises003" >
<owl:InverseFunctionalProperty rdf:ID="prop">
<owl:inverseOf rdf:resource="#inv"/>
</owl:InverseFunctionalProperty>
</rdf:RDF> | |||
first:prop rdf:type owl:InverseFunctionalProperty . first:prop owl:inverseOf first:inv . | |||
| Full | Conclusions:
<InverseFunctionalProperty/conclusions003>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/conclusions003" >
<owl:FunctionalProperty rdf:about="premises003#inv"/>
</rdf:RDF> | |||
first:inv rdf:type owl:FunctionalProperty . | |||
| Full | Positive Entailment Test: | 004 | |
|---|---|---|---|
Description:
(informative)
<InverseFunctionalProperty/Manifest004#test>
|
|||
If the domain of prop is a singleton set then it is necessarily inverse functional, (i.e. every member of its
range is the value of a single item) so it is an
owl:InverseFunctionalProperty. | |||
| N3 format is informative. | |||
| Full | Premises:
<InverseFunctionalProperty/premises004>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xml:base="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises004" >
<owl:ObjectProperty rdf:ID="prop">
<rdfs:domain rdf:resource="#Singleton"/>
</owl:ObjectProperty>
<rdfs:Class rdf:ID="Singleton">
<owl:oneOf rdf:parseType="Collection">
<rdf:Description/>
</owl:oneOf>
</rdfs:Class>
</rdf:RDF> | |||
first:prop rdf:type owl:ObjectProperty . first:prop rdfs:domain first:Singleton . first:Singleton rdf:type rdfs:Class . _:a rdf:first _:b . _:a rdf:rest rdf:nil . first:Singleton owl:oneOf _:a . | |||
| Lite | Conclusions:
<InverseFunctionalProperty/conclusions004>
| ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/InverseFunctionalProperty/conclusions004" >
<owl:InverseFunctionalProperty rdf:about="premises004#prop"/>
</rdf:RDF> | |||
first:prop rdf:type owl:InverseFunctionalProperty . | |||
owl:Nothing| Lite Full | Inconsistent document. | 001 | |
|---|---|---|---|
Description:
(informative)
<Nothing/Manifest001#test>
|
|||
The triple asserts something of type owl:Nothing, however
that is the empty class. | |||
| N3 format is informative. | |||
| Lite | Inconsistent:
<Nothing/inconsistent001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/03owlt/Nothing/inconsistent001" >
<owl:Nothing/>
</rdf:RDF> | |||
_:a rdf:type owl:Nothing . | |||
| DL Full | OWL described in OWL. | 002 | |
|---|---|---|---|
Description:
(informative)
<Nothing/Manifest002#test>
|
|||
An empty owl:Class has the same class extension as owl:Nothing. | |||
| N3 format is informative. | |||
| DL | True:
<Nothing/conclusions002>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xml:base='http://www.w3.org/2002/03owlt/Nothing/conclusions002'
xmlns:owl="http://www.w3.org/2002/07/owl#">
<owl:Class>
<owl:oneOf rdf:parseType="Collection"/>
<owl:equivalentClass rdf:resource="http://www.w3.org/2002/07/owl#Nothing" />
</owl:Class>
</rdf:RDF> | |||
_:a rdf:type owl:Class . _:a owl:oneOf rdf:nil . _:a owl:equivalentClass owl:Nothing . | |||
owl:Ontology| Lite Full | Positive Entailment Test: | 001 | |
|---|---|---|---|
Description:
(informative)
<Ontology/Manifest001#test>
|
|||
This is a variation of equivalentClass-001,
showing the use of owl:Ontology triples in the premises and conclusions. | |||
| N3 format is informative. | |||
| Lite | Premises:
<Ontology/premises001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/Ontology/premises001#"
xml:base="http://www.w3.org/2002/03owlt/Ontology/premises001" >
<owl:Ontology rdf:about="" />
<owl:Class rdf:ID="Car">
<owl:equivalentClass>
<owl:Class rdf:ID="Automobile"/>
</owl:equivalentClass>
</owl:Class>
<first:Car rdf:ID="car">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Car>
<first:Automobile rdf:ID="auto">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Automobile>
</rdf:RDF> | |||
<Ontology/premises001> rdf:type owl:Ontology . first:Car rdf:type owl:Class . first:Automobile rdf:type owl:Class . first:Car owl:equivalentClass first:Automobile . first:car rdf:type first:Car . first:car rdf:type owl:Thing . first:auto rdf:type first:Automobile . first:auto rdf:type owl:Thing . | |||
| Lite | Conclusions:
<Ontology/conclusions001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/Ontology/premises001#"
xml:base="http://www.w3.org/2002/03owlt/Ontology/conclusions001" >
<owl:Ontology />
<first:Car rdf:about="premises001#auto">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Car>
<first:Automobile rdf:about="premises001#car">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Automobile>
<owl:Class rdf:about="premises001#Car"/>
<owl:Class rdf:about="premises001#Automobile"/>
</rdf:RDF> | |||
_:a rdf:type owl:Ontology . first:auto rdf:type first:Car . first:auto rdf:type owl:Thing . first:car rdf:type first:Automobile . first:car rdf:type owl:Thing . first:Car rdf:type owl:Class . first:Automobile rdf:type owl:Class . | |||
| Lite Full | Negative Entailment Test: | 003 | |
|---|---|---|---|
Description:
(informative)
<Ontology/Manifest003#test>
|
|||
This is a variation of equivalentClass-001,
showing the use of owl:Ontology triple only in the conclusions. | |||
| N3 format is informative. | |||
| Lite | Premises:
<Ontology/premises003>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/Ontology/premises003#"
xml:base="http://www.w3.org/2002/03owlt/Ontology/premises003" >
<owl:Class rdf:ID="Car">
<owl:equivalentClass>
<owl:Class rdf:ID="Automobile"/>
</owl:equivalentClass>
</owl:Class>
<first:Car rdf:ID="car">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Car>
<first:Automobile rdf:ID="auto">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Automobile>
</rdf:RDF> | |||
first:Car rdf:type owl:Class . first:Automobile rdf:type owl:Class . first:Car owl:equivalentClass first:Automobile . first:car rdf:type first:Car . first:car rdf:type owl:Thing . first:auto rdf:type first:Automobile . first:auto rdf:type owl:Thing . | |||
| Lite | Conclusions:
<Ontology/nonconclusions003>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/Ontology/premises003#"
xml:base="http://www.w3.org/2002/03owlt/Ontology/nonconclusions003" >
<owl:Ontology />
<first:Car rdf:about="premises003#auto">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Car>
<first:Automobile rdf:about="premises003#car">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Automobile>
<owl:Class rdf:about="premises003#Car"/>
<owl:Class rdf:about="premises003#Automobile"/>
</rdf:RDF> | |||
_:a rdf:type owl:Ontology . first:auto rdf:type first:Car . first:auto rdf:type owl:Thing . first:car rdf:type first:Automobile . first:car rdf:type owl:Thing . first:Car rdf:type owl:Class . first:Automobile rdf:type owl:Class . | |||
| Lite Full | Positive Entailment Test: | 004 | |
|---|---|---|---|
Description:
(informative)
<Ontology/Manifest004#test>
|
|||
This is a variation of equivalentClass-001,
showing the use of two owl:Ontology triples in the premises. | |||
| N3 format is informative. | |||
| Lite | Premises:
<Ontology/premises004>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/Ontology/premises004#"
xml:base="http://www.w3.org/2002/03owlt/Ontology/premises004" >
<owl:Ontology rdf:about="" />
<owl:Ontology rdf:about="http://www.example.org/" />
<owl:Class rdf:ID="Car">
<owl:equivalentClass>
<owl:Class rdf:ID="Automobile"/>
</owl:equivalentClass>
</owl:Class>
<first:Car rdf:ID="car">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Car>
<first:Automobile rdf:ID="auto">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Automobile>
</rdf:RDF> | |||
<Ontology/premises004> rdf:type owl:Ontology . <http://www.example.org/> rdf:type owl:Ontology . first:Car rdf:type owl:Class . first:Automobile rdf:type owl:Class . first:Car owl:equivalentClass first:Automobile . first:car rdf:type first:Car . first:car rdf:type owl:Thing . first:auto rdf:type first:Automobile . first:auto rdf:type owl:Thing . | |||
| Lite | Conclusions:
<Ontology/conclusions004>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/Ontology/premises004#"
xml:base="http://www.w3.org/2002/03owlt/Ontology/conclusions004" >
<first:Car rdf:about="premises004#auto">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Car>
<first:Automobile rdf:about="premises004#car">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
</first:Automobile>
<owl:Class rdf:about="premises004#Car"/>
<owl:Class rdf:about="premises004#Automobile"/>
</rdf:RDF> | |||
first:auto rdf:type first:Car . first:auto rdf:type owl:Thing . first:car rdf:type first:Automobile . first:car rdf:type owl:Thing . first:Car rdf:type owl:Class . first:Automobile rdf:type owl:Class . | |||
owl:Restriction| Lite Full | Inconsistent document. | 001 | |
|---|---|---|---|
Description:
(informative)
<Restriction/Manifest001#test>
|
|||
| This test shows the syntax for using the same restriction twice in OWL Lite. | |||
| N3 format is informative. | |||
| Lite | Inconsistent:
<Restriction/inconsistent001>
| ||
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/Restriction/inconsistent001#"
xml:base="http://www.w3.org/2002/03owlt/Restriction/inconsistent001" >
<owl:ObjectProperty rdf:ID="op"/>
<rdf:Description rdf:ID="a">
<rdf:type>
<owl:Restriction>
<owl:onProperty rdf:resource="#op"/>
<owl:someValuesFrom rdf:resource=
"http://www.w3.org/2002/07/owl#Nothing" />
</owl:Restriction>
</rdf:type>
</rdf:Description>
<rdf:Description rdf:ID="b">
<rdf:type>
<owl:Restriction>
<owl:onProperty rdf:resource="#op"/>
<owl:someValuesFrom rdf:resource=
"http://www.w3.org/2002/07/owl#Nothing" />
</owl:Restriction>
</rdf:type>
</rdf:Description>
</rdf:RDF> | |||