RDF Twig: XSLT Extension Functions for Accessing RDF Graphs

25 Apr 2005; last modified 08 Oct 2010

This is the permanent status page for RDF Twig. RDF Twig is a set of XSLT extension functions for Saxon and Xalan that provide dynamic access to RDF graphs stored in the Jena repository. Version 0.96, supporting the Saxon 8.4 API, is now available.

RDF Twig accesses RDF graphs from XSLT. This version of RDF Twig supports the Saxon 8.4 API.

The current release is 0.96 from 25 Apr 2005. This is the third, alpha release; it is implemented in Java and runs on any platform that supports XSLT and Jena 2.x. You can get “rdftwig” from the download page on SourceForge. It is available under the Apache Software License.

Previous releases:

  • 0.95, from 28 Oct 2004 was an alpha release built on top of the Saxon 8.1.x API.

  • 0.9, from 01 Oct 2003 was an alpha release implemented on top of the Jena 1.x repository.

RDF Twig is maintained by Norman Walsh. Please report any bugs that you encounter.

If you’d like to become involved with RDF Twig, you can browse the the CVS repository or access it directly from :pserver:anonymous@cvs.sourceforge.net:/cvsroot/rdftwig. The module name is rdftwig.

RDF Twig was first announced on 07 Aug 2003 at Extreme Markup Languages 2003 It is documented, if you can call it that, in a paper from that conference.


Very interesting. I'll be building it soon (after I install and test the requirements). In the mean time, does it support loading from rdf/xml or n3? What about Saxon's experimental XSLT 2 support?

—Posted by James F. Cerra on 29 Oct 2004 @ 04:55 UTC #

The main feature of the 0.95 release is support for Saxon 8.x which is the Saxon version that provides experimental XSLT 2 support. The extensions load RDF/XML, but presumably getting them to load other formats (if they're supported by Jena) wouldn't be too hard, I just haven't had any need to yet.

—Posted by Norman Walsh on 29 Oct 2004 @ 08:50 UTC #

If you want easy rdf file loading try jena's FileManager, which handles most of the pain for you (see loadModel in particular). n3 and ntriples for no extra work :-)

—Posted by Damian on 25 Apr 2005 @ 11:06 UTC #

Oops. Replying to old comments. Sigh...

—Posted by Damian on 25 Apr 2005 @ 11:14 UTC #