{{PositiveEntailmentTestCase
|id=rdfbased-sem-chain-def
|description=For a sub property chain axiom with super property p and chain properties p1 and p2, from x p1 y and y p2 z follows x p z.
|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:nodeID="A0">
    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
    <rdf:first rdf:resource="http://www.example.org#p2"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A1">
    <rdf:rest rdf:nodeID="A0"/>
    <rdf:first rdf:resource="http://www.example.org#p1"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.example.org#x">
    <ex:p1 rdf:resource="http://www.example.org#y"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.example.org#y">
    <ex:p2 rdf:resource="http://www.example.org#z"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.example.org#p">
    <owl:propertyChainAxiom rdf:nodeID="A1"/>
  </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#x">
    <ex:p rdf:resource="http://www.example.org#z"/>
  </rdf:Description>
</rdf:RDF>
}}