<?xml version="1.0"?>


<!DOCTYPE rdf:RDF [
        <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
        <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
        <!ENTITY owl2xml "http://www.w3.org/2006/12/owl2-xml#" >
        <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
        <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
        ]>


<rdf:RDF xmlns="http://www.test.com/Ambiguous.owl#"
         xml:base="http://www.test.com/Ambiguous.owl"
         xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
         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#">
    <owl:Ontology rdf:about="http://www.test.com/wrong.owl"/>
    <owl:OntologyProperty rdf:about="p"/>
    <owl:Ontology rdf:about="http://www.test.com/right.owl">
        <p>
            <owl:Ontology rdf:about="http://www.test.com/wrong.owl"/>
        </p>
    </owl:Ontology>

</rdf:RDF>