Wednesday, January 08, 2003

RDF Templates

"The idea comes from a simple desire: what if there was a way to apply XSLT to an RDF document to produce an (X)HTML page? You can't do it in the general case because there are many, many ways to serialize an RDF graph and not all of them provide the nice tree structure that XSLT requires to operate...It consists of a pattern language which works like XPath and a set of elements that work like XSLT."

I'm not really sure why you'd want to convert RDF to (X)HTML in this way. There are query languages for RDF. I've seen people use XSLT to process RDF/XML. In XUL you use RDF queries to populate an XML template. This is like Semantic Schemas but that was going the other way from XML to RDF.

The problem is that you don't want to match just nodes or arcs but a bit more higher up, based on a schema. Being able to invert RDF statements for example.

RDF Templates Draft 1

No comments: