<?xml version='1.0'?>

<!-- Incorrect Range Indication - Objects -->

<rdf:RDF
  xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:xsd ="http://www.w3.org/2000/10/XMLSchema#"
  xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
  xmlns:ont3="http://www.daml.org/validator/examples/ont3.daml#"
  xmlns:dt2 ="http://www.daml.org/validator/examples/dt2.xsd#"
  xmlns     ="http://www.daml.org/validator/examples/in9.daml#"
>

<!-- ont3:Person has a restriction on ont3:hasChild with daml:toClass of ont3:Person -->

<!-- OK -->
<ont3:Person rdf:ID="a1"/>

<ont3:Person rdf:ID="a2">
  <ont3:hasChild rdf:resource="#a1"/>
</ont3:Person>

<ont3:Person rdf:ID="a3">
  <ont3:hasChild rdf:resource="#a1"/>
  <ont3:hasChild>
    <ont3:Animal rdf:ID="turtle"/>
  </ont3:hasChild>
</ont3:Person>

<ont3:Person rdf:ID="a4">
  <ont3:hasChild>100</ont3:hasChild>
</ont3:Person>

<ont3:Person rdf:ID="a5">
  <ont3:hasChild>
    <xsd:string rdf:value="child"/>
  </ont3:hasChild>
</ont3:Person>

</rdf:RDF>
