<!-- This sample is based on examples of TriX documents 
    (Stickler and Carroll, 2004).
    It is simplified to omit the named graphs extenstion to RDF.
    And made more complicated by allowing xml:base arbitrarily.
-->

<trix xmlns:g="http://www.w3.org/2003/g/data-view#"
  g:transformation="trix2rdfxml">
<graph xml:base="http://example.org/">
   <triple xml:base="http://example.org/aBook">
      <uri></uri>
      <uri namespace="http://purl.org/dc/elements/1.1/">title</uri>
      <typedLiteral 
      xml:base="http://www.w3.org/2000/01/rdf-schema"
      datatype="#XMLLiteral">&lt;title&gt;A Good Book&lt;/title&gt;</typedLiteral>
   </triple>
   <triple xml:base="http://example.org/aBook">
      <uri></uri>
      <uri namespace="http://www.w3.org/2000/01/rdf-schema#">comment</uri>
      <plainLiteral xml:lang="en">This is a really good book!</plainLiteral>
   </triple>
   <triple>
      <id>binfo</id>
      <uri namespace="http://example.org/">source</uri>
      <uri>book-description.rdf</uri>
   </triple>
   <triple>
      <uri>book-description.rdf</uri>
      <uri namespace="http://example.org/">authority</uri>
      <uri>Bob</uri>
   </triple>
</graph>
</trix>