W3C - World Wide Web Consortium
Previous Table of Contents Table of Contents Next

RDF(S) in Practice
RDF or XML?


  • Q: For a specific application, should I use XML or RDF?
  • A: It depends…
    • XML's model is
      • a tree, i.e., a strong hierarchy
      • applications may rely on hierarchy position (e.g., li in HTML)
      • relatively simple syntax and structure
      • not easy to combine trees
    • RDF's model is
      • a loose collections of relations
      • applications may do “database”-like search
      • not easy to recover hierarchy
      • easy to combine relations in one big collection
      • great for the integration of heterogeneous information

Ivan Herman, W3C 84 (144)