ZVON > Tutorials > RDF Tutorial
>> Example 4 << | Prev | Next | Contents

Description


This example shows a permited combination according to Example 1 and Example 3. It still express the same information as the previous examples.

Source


<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:lib="http://www.zvon.org/library">

     <rdf:Description about="Matilda" lib:creator = "Roald Dahl" lib:pages="240" />
     <rdf:Description about="The BFG">
          <lib:creator>Roald Dahl</lib:creator>
          <lib:pages>208</lib:pages>
     </rdf:Description>

     <rdf:Description about="Heart of Darkness" lib:pages = "110">
          <lib:creator>Joseph Conrad</lib:creator>
     </rdf:Description>          

     <rdf:Description about="Lord Jim"  lib:creator = "Joseph Conrad">
          <lib:pages>314</lib:pages>
     </rdf:Description>          

     <rdf:Description about="The Secret Agent" lib:creator = "Joseph Conrad" lib:pages = "249"/>
              
</rdf:RDF>

Output Top

Author Title Pages
Roald Dahl Matilda 240
Roald Dahl The BFG 208
Joseph Conrad Heart of Darkness 110
Joseph Conrad Lord Jim 314
Joseph Conrad The Secret Agent 249