<?xml version="1.0"?>
<Ontology xmlns="http://www.w3.org/2002/07/owl#"
     xml:base="http://example.org/test"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     ontologyIRI="http://example.org/test">
    <Prefix name="" IRI="http://example.org/test#"/>
    <Prefix name="owl" IRI="http://www.w3.org/2002/07/owl#"/>
    <Declaration>
        <Class IRI="http://example.org/test#A"/>
    </Declaration>
    <Declaration>
        <Class IRI="http://example.org/test#B"/>
    </Declaration>
    <Declaration>
        <Class IRI="http://example.org/test#C"/>
    </Declaration>
    <Declaration>
        <ObjectProperty IRI="http://example.org/test#hasPart"/>
    </Declaration>
    <SubClassOf>
        <Class IRI="http://example.org/test#A"/>
        <Class IRI="http://example.org/test#B"/>
    </SubClassOf>
    <SubClassOf>
        <Class IRI="http://example.org/test#C"/>
        <ObjectSomeValuesFrom>
            <ObjectProperty IRI="http://example.org/test#hasPart"/>
            <Class IRI="http://example.org/test#B"/>
        </ObjectSomeValuesFrom>
    </SubClassOf>
</Ontology>
