views:

57

answers:

0

I am not very experienced in Java and JRuby but need to parse RDF data using Sesame's RDFXMLParser in JRuby and my python-minded brain just does not want to get into it. I have problems translating the Java example into JRuby. At first I don't know how to define the RDFHandler in a way it would make sense. I also don't get why the parse methods needs a Reader and an URI as I only want to parse local file.

I would highly appreciate example code in JRuby. Many thanks!