RDF-raptor-parser

Posted by naveen on Stack Overflow See other posts from Stack Overflow or by naveen
Published on 2011-02-05T15:21:12Z Indexed on 2011/02/05 15:25 UTC
Read the original article Hit count: 285

Filed under:

Hi All,

I am trying to parse the rdf file but I am getting error while executing following code in ubuntu

RDF::Reader.open("http://datagraph.org/jhacker/foaf.rdf") do |reader| reader.each_statement do |statement| puts statement.inspect end end

as LoadError: Could not open library 'libraptor': libraptor: cannot open shared object file: No such file or directory. Could not open library 'libraptor.so': libraptor.so: cannot open shared object file: No such file or directory

I installed all the required gems: rdf rdf-raptor ffi rdf-json rdf-trix

Please help me how to rectify this problem

thanks in advance

Naveenkumr.R

© Stack Overflow or respective owner

Related posts about rdflib