{{InconsistencyTestCase
|id=rdfbased-dat-dtype-boolean-illtyped
|description=The literals of the datatype xsd:boolean must not represent other values than "true" or "false".
|author=Michael Schneider, Kai Mainzer
|syntax=RDF/XML
|semantics=Test applies only to RDF-based semantics
|rlrulescomplete=Yes
|inconsistent-ontology=<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:ex="http://www.example.org#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > 
  <rdf:Description rdf:about="http://www.example.org#x">
    <rdf:type rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <owl:sameAs rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">nonsense</owl:sameAs>
  </rdf:Description>
</rdf:RDF>
}}