Examples from Chapter 19 of The XML Bible, The Resource Description Framework
Listing 19-1:
The statement "Elliotte Rusty Harold created the Web site at the URL http://metalab.unc.edu/xml/" translated into RDF
Listing 19-2:
Elements from the Dublin Core Vocabulary vocabulary are in the http://purl.org/DC/ namespace
Listing 19-3:
A statement with multiple properties in RDF serialization form
Listing 19-4:
Two separate statements encoded in RDF
Listing 19-5:
A statement encoded in RDF with nested
Description
elements
Listing 19-6:
Descriptions by reference using the
resource
attribute
Listing 19-7:
A statement with the same property attached to multiple resources
Listing 19-8:
A literal property value that uses XML markup
Listing 19-9:
A bag with four members
Listing 19-10:
A simple site map for Cafe con Leche in a Bag
Listing 19-11:
Mirror sites of Cafe au Lait in a Seq
Listing 19-12:
A description of a container encoded in RDF
Listing 19-13:
A description of each element in a Bag container
Copyright 1999
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified at April 27, 1999