{{PositiveEntailmentTestCase
|id=rdfbased-sem-inv-inst
|description=The subject and object of a triple are reversed by an inverse property.
|author=Michael Schneider, Kai Mainzer
|syntax=RDF/XML
|semantics=Test applies only to RDF-based semantics
|rlrulescomplete=Yes
|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#s2">
    <ex:q rdf:resource="http://www.example.org#o2"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.example.org#s1">
    <ex:p rdf:resource="http://www.example.org#o1"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.example.org#q">
    <owl:inverseOf rdf:resource="http://www.example.org#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:about="http://www.example.org#o1">
    <ex:q rdf:resource="http://www.example.org#s1"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.example.org#o2">
    <ex:p rdf:resource="http://www.example.org#s2"/>
  </rdf:Description>
</rdf:RDF>
}}