W3C home > Mailing lists > Public > semantic-web@w3.org > October 2008

XMDP to RDFS transformation for GRDDL

From: Toby A Inkster <tai@g5n.co.uk>
Date: Sun, 26 Oct 2008 20:32:20 +0000
Message-Id: <D1644C45-4A71-4165-9271-CD3EF087233D@g5n.co.uk>
To: Semantic Web <semantic-web@w3.org>

XMDP is the usual method for defining vocabularies used in  
microformats. Essentially they're just <dl class="profile"> with each  
term defined as a <dt>, <dd> pair. An example is here:


I've put together an XSLT 1.0 transformation which converts these to  
RDF schemas. Because XMDP is pretty much just human-readable  
descriptions, the schemas can't be very detailed - they don't include  
ranges or domains for instance.

The XSLT file is available here:


And, at a versioned URI in case you need to refer to a specific version:



* Can cope with multiple definitions for a single term (i.e. <dt/><dd/ 
* Definitions can reference additional information using rel="help".
* <dt class="Property" /> can be used to hint that the term is a  
* <dt class="Class" /> can be used to hint that the term is a  
* <title/> becomes the vocabulary's dc:title.

Anyone have any ideas for improvements?

Toby A Inkster
Received on Sunday, 26 October 2008 20:33:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:42:08 UTC