<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE owl [ 
    <!ENTITY rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
    <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
    <!ENTITY owl  'http://www.w3.org/2002/07/owl#' >
    <!ENTITY xsd  'http://www.w3.org/2001/XMLSchema#' >
]>

<rdf:RDF 
    xmlns:owl="&owl;"
    xmlns:rdf="&rdf;"
    xmlns:rdfs="&rdfs;"
    xmlns="urn:x-hp-jena:test1#"
    xml:base = "urn:x-hp-jena:test1" 
>
   <owl:Ontology rdf:about="">
       <owl:imports rdf:resource="urn:x-hp-jena:test2" />
   </owl:Ontology>
    
   <owl:Class rdf:ID="Test1A"/>
   
   <owl:Class rdf:ID="Test1B">
       <rdfs:subClassOf rdf:resource="#Test1A"/>
   </owl:Class>
   
</rdf:RDF>
