TestCase:WebOnt-miscellaneous-204

From OWL Test Cases

Jump to:navigation, search
[Download OWL]
Test Id WebOnt-miscellaneous-204
Description This shows a simple inconsistency depending on the datatype

rdf:XMLLiteral. This file is inconsistent with a datatype map which supports rdf:XMLLiteral, and consistent otherwise.

Status Approved (2009-07-02 when passed by two or more implementations) (proposed 2009-06-08)
Author Jeremy J. Carroll
Original syntax RDF-XML
Syntactic Species/Profile OWL 2 DL (not EL, not QL, not RL)
Semantics This test is applicable under both direct and RDF-based semantics.
WebOnt test http://www.w3.org/2002/03owlt/miscellaneous/Manifest204#test
Inconsistent 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.
Open in RDF Validator

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:first="http://www.w3.org/2002/03owlt/miscellaneous/inconsistent204#"
    xml:base="http://www.w3.org/2002/03owlt/miscellaneous/inconsistent204" >
   <owl:Ontology/>
   <owl:FunctionalProperty rdf:ID="fp"/>
   <owl:DatatypeProperty rdf:about="#fp"/>
   <owl:Thing>
     <first:fp rdf:parseType="Literal"
     ><span xml:lang='en'>
        <b>Good!</b></span
     ></first:fp>
     <first:fp rdf:parseType="Literal"
     ><span xml:lang='en'>
        <b>Bad!</b></span
     ></first:fp>
   </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.

Navigation
OWL 2 Informative
OWL 2 Normative
Toolbox