Version 2 (modified by yy, 14 years ago)

--

Perl modules concerning RDF serialization

I (yy) tried the following modules.

RDF::Simple is literally "simple", so IMO it is useful only for understanding how serialization works, but not for a practical use. As the module page says, id doesn't care the node type. You cannot declare whether a node is a URI or literal.

RDF::Trine doesn't provide a sufficient document, and I have difficulty in making a code.

RDF::Redland uses a compilation (i.e., not a pure Perl module), and may have troubles on some plat homes / environments. In my case the cpan command didn't work because of the "make test" failure. The reason is that the test script assumes that libraries generated by swig are in the shared library paths. After taking care of it, no problem occurred. To make the test script work, the following paths need to be added to LD_LIBRARY_PATH.

Redland-1.0.5.4/redland/rasqal/src/.libs
Redland-1.0.5.4/redland/raptor/src/.libs