W3C home > Mailing lists > Public > public-rdfa@w3.org > July 2009

Announce: java-rdfa 0.1

From: Damian Steer <pldms@mac.com>
Date: Fri, 24 Jul 2009 16:24:01 +0100
Message-id: <B1EB8CA4-1B19-428B-81A4-3B9426EBC833@mac.com>
To: jena-dev@yahoogroups.com, public-rdfa@w3.org
Greetings,

I'm pleased to announce the 0.1th version of java-rdfa, an rdfa parser  
for java.

Download: <http://github.com/shellac/java-rdfa/downloads>
Simple instructions: <http://wiki.github.com/shellac/java-rdfa>

Example:

$ java rdfa.parse --format HTML http://www.slideshare.net/intdiabetesfed/world-diabetes-day-2009
<http://www.slideshare.net/intdiabetesfed/world-diabetes-day-2009>
	<http://purl.org/dc/terms/creator> "intdiabetesfed"@en ; ....

The parser passes the RDFa conformance tests [1], and the RDFa-in-test/ 
html tests [2] (except the scripting cases). I make no claims for its  
quality or fitness for purpose beyond this :-)

The parser streams, to the extent that the underlying SAX parser  
streams.

java-rdfa only hard dependency is jena's IRI library (since java's URI  
is pretty ropey).

It provides a jena rdf reader for programmatic use, and the rdfa.parse  
command line utility uses jena.

non-xml HTML parsing uses the validator.nu parser [3]. neko and  
tagsoup may also be used.

Thanks to the authors of these libraries, and (of course) the authors  
of the RDFa specifications, test cases, and documentation.

This work is an offshoot of the ILRT Stars Project [4] which was  
funded by JISC. [5] In particular I extended (broke) RDFa to allow it  
to express SPARQL basic graph patterns using html forms.

Damian Steer

[1] <http://www.w3.org/2006/07/SWD/RDFa/testsuite/>
[2] <http://philip.html5.org/demos/rdfa/tests.html>
[3] <http://about.validator.nu/htmlparser/>
[4] <http://stars.ilrt.bris.ac.uk/blog/>
[5] <http://www.jisc.ac.uk>
Received on Friday, 24 July 2009 15:35:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:04 UTC