<rdf:RDF xmlns="http://www.semanticweb.org/owlapi/test#"
     xml:base="http://www.semanticweb.org/owlapi/test"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:owl="http://www.w3.org/2002/07/owl#">


    <rdf:Description rdf:about="#A">
       <rdfs:subClassOf>
           <owl:Restriction>
               <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">3</owl:maxCardinality>
               <owl:onProperty rdf:resource="#p"/>
           </owl:Restriction>
       </rdfs:subClassOf>
    </rdf:Description>
    <owl:DatatypeProperty rdf:about="#p"/>

</rdf:RDF>
