I am not very good at Java and JRuby, but I need to parse RDF data using Sesame RDFXMLParser in JRuby and my python-minded brain just doesn't want to penetrate it. I have problems translating a Java example into JRuby. At first I don’t know how to define RDFHandler so that it makes sense. I also don't understand why parsing methods need a Reader and a URI, as I only want to parse the local file.
I really appreciate the sample code in JRuby. Many thanks!
source
share