title: How to get nested RDF/XML from Jena?
body: <p>I need to create RDF that looks like this:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;rdf:Description rdf:about='uri1'&gt;
    &lt;namespace:level1&gt;
      &lt;rdf:Description&gt;
        &lt;namespace:blankNode rdf:resource='uri2'/&gt;
        &lt;namespace:text&gt;&lt;/namespace:text&gt; 
      &lt;/rdf:Description&gt;
    &lt;/namespace:level1&gt;
  &lt;/rdf:Description&gt;
  
  &lt;rdf:Description rdf:about="uri2"&gt;
    some properties here
  &lt;/rdf:Description&gt;
  </code></pre>
  
  <p>As you can see, there are nested structures, as well as blank nodes. (I don't know if that's the exact terminology for the "blankNode" property in my structure.) If I use</p>
  
  <pre class="lang-java prettyprint-override"><code>model.write(System.out, "RDF/XML-ABBREV");
  </code></pre>
  
  <p>then even the blank node is nested, which I don't want. Is there any way to get this kind of structure using Jena? Or is there any other library for Java that can handle this better?</p>