Lists in RDFa?

I came away from the XML 2007 conference with lots of new ideas and inspirations. I’ll write some postings about individual technologies in the coming days.

But for now, another RDFa question. If I need to represent a list, what is the best way to do it? Does it differ between ordered and unordered lists? Let’s take some concrete examples, say a shopping list and an (ordered) todo list. How would you do it? -m

P.S. What about multi-level lists?

One Response to “Lists in RDFa?”

  1. Bob DuCharme http://www.snee.com/bobdc.blog

    Hi Micah,

    I’m not saying it can’t be done, and I hate to put it this way, but if you need to represent lists, don’t use RDF. RDF is best for unordered collections of triples.

    I mentioned in my talk at XML 2007 that RDF/XML ugliness gave RDF a bad reputation, and I also mentioned that RDF/XML can be simple and straightforward–I didn’t say “as long as you stay away from structured collections of data such as ordered lists.” That’s where RDF/XML got ugly.

    As an analogy, think of the tables you’d need to represent arbitrary sets of multi-level lists in a relational database. It can be done, but you’d be hammering nails with the handle of a big heavy screwdriver. I don’t think that the RDF data model is a good fit for such structures either.

    Bob