W3C home > Mailing lists > Public > www-rdf-calendar@w3.org > February 2003

Java iCalendar2RDF parser tests

From: Libby Miller <Libby.Miller@bristol.ac.uk>
Date: Fri, 7 Feb 2003 21:18:22 +0000 (GMT)
To: www-rdf-calendar@w3.org
Message-ID: <Pine.GSO.4.44.0302072102320.19731-100000@mail.ilrt.bris.ac.uk>


hi all,

I'm trying to replicate the behaviour of Dan Connolly's ical2rdf.pl in
http://www.w3.org/2002/12/cal/ in java.

I'm using Daniel Resare's GPLed mime-directory parser
ftp://ftp.metamatrix.se/pub/software/mimedir-parser/
as the basis, and then writing a file that creates RDF from that
(ical2rdf.java)

The easiest thing to do is download

http://www.ilrt.bris.ac.uk/discovery/2003/02/cal/mimedir-parser-rdf.tar.gz

and type:

java -jar lib/mimedir-parser.jar test/ics/mtg.ics

to get an RDF version of the file test/ics/mtg.ics

All files are at

http://www.ilrt.bris.ac.uk/discovery/2003/02/cal/mimedir-parser/

- readme.libby, makefile, ical2rdf.java, test files (test/ics/ and
test/generatedrdf/) and the source of Daniel's Parser.

I'm also using Jena to check the generated graphs against Dan Connolly's
results, and it all seems to work with the four files available, except
that I've taken out the <Vcalendar rdf:about=""> parts as that meant
that the two files didn't match up.

I'll send a few comments around later.

cheers

Libby
Received on Friday, 7 February 2003 16:20:45 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Friday, 25 March 2005 11:20:43 GMT