{{PositiveEntailmentTestCase
|id=rdfbased-sem-restrict-hasvalue-inst-obj
|description=If an individual w is an instance of the has-value restriction on property p to value u, then the triple w p u can be entailed.
|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#z">
    <owl:onProperty rdf:resource="http://www.example.org#p"/>
    <owl:hasValue rdf:resource="http://www.example.org#u"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.example.org#w">
    <rdf:type rdf:resource="http://www.example.org#z"/>
  </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#w">
    <ex:p rdf:resource="http://www.example.org#u"/>
  </rdf:Description>
</rdf:RDF>
}}