Project Gutenberg offers an index in RDF/XML format:
http://www.gutenberg.org/wiki/Gutenberg:Feeds

Has anyone written any ruby code to work with this? I'm mostly
wondering which of the many xml and rdf libraries out there would be
my best option.

martin