TestCase:WebOnt-I5.8-015
From OWL Test Cases
[Download OWL] | |
Test Id | WebOnt-I5.8-015 |
---|---|
Description | This test illustrates the use of a user defined datatype.
The informal description has no formal semantics. |
Status | Proposed (2009-01-06) |
Author | Jeremy J. Carroll |
Original syntax | RDF-XML |
Syntactic Species/Profile | OWL 2 Full (not EL, not QL, not RL) |
Semantics | This test is applicable under the RDF-based semantics. It should not be considered under the direct semantics because it does not satisfy the syntactic constraints of OWL 2 DL. |
WebOnt test | http://www.w3.org/2002/03owlt/I5.8/Manifest015#test |
Consistent ontology (download)
Convert syntax: functional, XML, Manchester This informative conversion will be incorrect for OWL 2 Full. info.pngConversions are provided by the OWL Syntax Converter which tries to "repair" OWL 2 Full inputs to become DL. | |
<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:eg="http://example.org/user/data#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:first="http://www.w3.org/2002/03owlt/I5.8/consistent015#" xml:base="http://www.w3.org/2002/03owlt/I5.8/consistent015" > <owl:Ontology/> <rdfs:Datatype rdf:about="http://example.org/user/data#type"> <rdfs:comment> This type maps the string "foo" to the number 3. All other strings are not in the lexical space. </rdfs:comment> </rdfs:Datatype> <owl:DatatypeProperty rdf:ID="prop" /> <owl:Thing> <first:prop rdf:datatype="http://example.org/user/data#type" >foo</first:prop> </owl:Thing> </rdf:RDF> | |
Imported ontologies | none |
The version of this test approved by the WebOnt WG was incorrect. The input ontology present in that version of the test was marked as an OWL Lite document, but was not OWL Lite because it did not contain a triple of the form O rdf:type owl:Ontology. The ontology has been revised to contain the necessary triple.
OWL EL Report (Informative)
Ontology violates the OWL EL constraints in at least the following:
- The following data range is not allowed: type
OWL QL Report (Informative)
Ontology violates the OWL QL constraints in at least the following:
- The following axiom is not allowed: PropertyAssertion(prop genid1 "foo"^^type)
- due to data range not allowed type
OWL RL Report (Informative)
Ontology violates the OWL RL constraints in at least the following:
- The following axiom is not allowed: PropertyAssertion(prop genid1 "foo"^^type)
- due to data range not allowed type