UserPreferences

AtomRDF


Related pages:

We can use this space to give examples of RDF in atom. Examples given here should pass the [WWW]RDF validator test. You can even give it to generate a graph of the triples. Note: don't forget to tick the option box that your xml is not surrounded with <rdf> tags.

Here is the syntax atom spec example in an RDF friendly presentation:

<?xml version="1.0" encoding="utf-8"?>
   <atom:feed atom:version="draft-ietf-atompub-format-03: do not deploy"
    xmlns:atom="http://purl.org/atom/ns#draft-ietf-atompub-format-03"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
     <atom:head rdf:parseType="Resource">
       <atom:title>Example Feed</atom:title>
       <atom:link atom:href="http://example.org/"/>
       <atom:updated>2003-12-13T18:30:02Z</atom:updated>
       <atom:author rdf:parseType="Resource">
         <atom:name>John Doe</atom:name>
       </atom:author>
     </atom:head>
   <atom:entry rdf:parseType="Resource">
       <atom:title>Atom-Powered Robots Run Amok</atom:title>
       <atom:link atom:href="http://example.org/2003/12/13/atom03"/>
       <atom:id>vemmi://example.org/2003/32397</atom:id>
       <atom:updated>2003-12-13T18:30:02Z</atom:updated>
     </atom:entry>
   </atom:feed>