XML Versus RDF: How Is Meaning Conveyed?


XML
RDF
1. Element & Attribute contents
    <foo>PlaneTicket</foo>
    <foo bar="PlaneTicket" ... />
2. Element & Attribute names
    <PlaneTicket />
    <foo PlaneTicket="..." />
3. Ordering (sequence) of elements
    <GolfRankingsBestToWorst>
        <Player>Barbara</Player>
        <Player>Alice</Player>
        <Player>Lois</Player>
    </GolfRankingsBestToWorst>
4. Subtree nesting structure (hierarchy)
    <House>
        <Door />        <!-- part of House -->
        <Window />    <!-- part of House -->
    </House>
5. Other?
1. Triples
    <subject, verb, object>