title: Can the Jena OntModel SubModel(Model) API pass in an OntModel?
body: <p>I'm using the Jena OntModel api and I had a question regarding</p>
  
  <pre><code>    addSubModel(Model model)
  </code></pre>
  
  <p>I was wondering if I could instead use </p>
  
  <pre><code>    addSubModel(OntModel ontModel) 
  </code></pre>
  
  <p>Would this would cause any issues?</p>
  
  <p>Also, if I were to do </p>
  
  <pre><code>    OntModel ontModel ...; //Create a proper OntModel
      model.addSubModel(ontModel);
  </code></pre>
  
  <p>Would this be treated as a reference where if I change ontModel it'll change model and vice-versa? </p>
  
  <p>I.E. If I changed ontModel (After executing the above code) from </p>
  
  <pre><code>   &lt;rdf:RDF
         xmlns:rdf=1
     &lt;/rdf:RDF&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>   &lt;rdf:RDF
         xmlns:rdf=2
     &lt;/rdf:RDF&gt;
  </code></pre>
  
  <p>would model reflect these changes?</p>