[redland-dev] any simple examples of RDF models with containers?

John john at exoweb.net
Fri Jun 25 03:45:42 BST 2004


Sorry for such a basic question, but I've searched everywhere for two days and can't find a usable answer :(  What I am trying to do is create an RDF model that has containers, such as the example below:

<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
xmlns:cd="http://www.recshop.fake/cd"> <rdf:Description
 rdf:about="http://www.recshop.fake/cd/Beatles for Sale">
 <cd:artist>	
   <rdf:Bag>
     <rdf:li>John</rdf:li>
     <rdf:li>Paul</rdf:li>
     <rdf:li>George</rdf:li>
     <rdf:li>Ringo</rdf:li>
   </rdf:Bag>
  </cd:artist>
</rdf:Description></rdf:RDF>Anyone know how to do this?  Examples in any languages are welcome, but this project is in Python, so a python example would help me most!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.usefulinc.com/pipermail/redland-dev/attachments/20040624/1fa2a401/attachment.html


More information about the redland-dev mailing list