<rdf:RDF
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:owl="http://www.w3.org/2002/07/owl#"
      xmlns:ns="http://example.org/ns#"
      xmlns:base="http://example.org/ns#">

<owl:Class rdf:about="http://example.org/ns#test">
        <owl:oneOf rdf:parseType="Collection">
            <owl:Thing rdf:about="http://example.org/ns#s"/>
       </owl:oneOf>
      </owl:Class>
    <owl:Thing rdf:about="http://example.org/ns#sub">
        <ns:p rdf:datatype=
        "http://www.w3.org/2001/XMLSchema#integer">123</ns:p>
    </owl:Thing>
    <owl:ObjectProperty rdf:about="http://example.org/ns#p" />
  </rdf:RDF>

