{{PositiveEntailmentTestCase
|id=rdfbased-sem-rdf-xmlliteral-type
|description=From using a valid XML literal in an RDF triple one can conclude that an instance exists for the class rdf:XMLLiteral (RDF entailment rule "rdf2").
|author=Michael Schneider, Kai Mainzer
|syntax=RDF/XML
|semantics=Test applies only to RDF-based semantics

|consistent-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">
    <ex:p rdf:parseType="Literal"><ex>abc</ex></ex:p>
  </rdf:Description>
</rdf:RDF>
|conclusion-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:nodeID="A0">
    <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"/>
  </rdf:Description>
</rdf:RDF>
}}