<?xml version="1.0"?>

<!DOCTYPE rdf:RDF [
    <!ENTITY eg   'urn:x-hp:eg/'>
    <!ENTITY rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
    <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
    <!ENTITY xsd  'http://www.w3.org/2001/XMLSchema#'>
]>

<rdf:RDF xmlns:rdf="&rdf;" xmlns:rdfs="&rdfs;" xmlns:xsd="&xsd;"
         xml:base="urn:x-hp:eg/" xmlns="&eg;">

  <rdf:Description rdf:about="&eg;mum">
    <rdfs:subPropertyOf rdf:resource="&eg;parent"/>
  </rdf:Description>

  <rdf:Description rdf:about="&eg;parent">
    <rdfs:range  rdf:resource="&eg;Person"/>
    <rdfs:domain rdf:resource="&eg;Person"/>
  </rdf:Description>

  <rdf:Description rdf:about="&eg;age">
    <rdfs:range rdf:resource="&xsd;integer" />
  </rdf:Description>

</rdf:RDF>
