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