{{PositiveEntailmentTestCase
|id=rdfbased-sem-restrict-allvalues-cmp-prop
|description=A universal restriction on some property and some class is a sub class of another universal restriction on the same class but on a sub 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#x1">
    <owl:onProperty rdf:resource="http://www.example.org#p1"/>
    <owl:allValuesFrom rdf:resource="http://www.example.org#c"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.example.org#x2">
    <owl:onProperty rdf:resource="http://www.example.org#p2"/>
    <owl:allValuesFrom rdf:resource="http://www.example.org#c"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.example.org#p1">
    <rdfs:subPropertyOf rdf:resource="http://www.example.org#p2"/>
  </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#x2">
    <rdfs:subClassOf rdf:resource="http://www.example.org#x1"/>
  </rdf:Description>
</rdf:RDF>
}}