Resource Description Framework (RDF) is a W3C standard for describing web resources, such as the title, author, modification date, content, and copyright information of a web page.

RDF container element syntax

RDF containers are used to describe a set of things. For example, list the authors of a certain book together.

The following RDF elements are used to describe these groups: <Bag>, <Seq>, and <Alt>.

RDF container element example

<?xml version="1.0"?>
<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">
  <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>