Changes between Version 4 and Version 5 of StateOfPerlAndRdf

Show
Ignore:
Timestamp:
2010/03/12 02:57:42 (9 years ago)
Author:
tkappler
Comment:

Integrated SerializationPerlModules by yy.

Legend:

Unmodified
Added
Removed
Modified
  • StateOfPerlAndRdf

    v4 v5  
    3636> situations where get_statements doesn't do as much as you need. 
    3737 
     38'''yy's serialization notes:''' The output (RDF/XML) has some redundancies. The module groups statements that share the subject, and embraces them by "<rdf:Description>" tags. It's OK, but declaration of user-defined namespaces is not at the first "<rdf:RDF>" tag, but at each rdf-description tag. This will probably be configurable from the next release, though. Also, the nesting level is one, and you cannot define a QNAME of a name space as "foaf" or "rdfs", but the module defines arbitrarily. 
     39Even so, it's more compact than that of RDF::Redland. 
    3840 
    39 See the `trine-*.pl` files for code snippets. 
    4041 
    4142==== RDF::TrineShortcuts ==== 
     
    5152 
    5253I couldn't build it as I have the new version 0.9.17 of librasqal, the query library for Redland, which is API incompatible with its predecessor on which RDF::Redland apparently depends. 
     54 
     55Another hint for building it is that the test script assumes that libraries generated by swig are in the shared library paths. 
     56After taking care of it by adding the following paths to LD_LIBRARY_PAT, no problem occurred for yy: 
     57{{{ 
     58Redland-1.0.5.4/redland/rasqal/src/.libs 
     59Redland-1.0.5.4/redland/raptor/src/.libs 
     60}}} 
    5361 
    5462 
     
    7179  "[http://kasei.us/archives/2006/09/23/perl_performance met with resistance, rejection, or frustratingly long delays]". Not 
    7280  good. 
    73    
     81 
     82'''yy's serialization notes:''' RDF::Core is a bit old and cannot handle a blank node (rdf:nodeID), but the serialized output (RDF/XML) is better organized than the others. You cannot define a QNAME of a name space. 
     83 
     84 
     85=== RDF::Simple === 
     86 
     87[http://search.cpan.org/~mthurn/RDF-Simple-0.415/ RDF::Simple (0.415)] - very basic. 
     88 
     89'''yy's serialization notes:''' 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, it doesn't care the node type. You cannot declare whether a node is a URI or literal. On the other hand, a serialized output (RDF/XML) is better organized (more nested and size is smaller) than RDF::Trine and RDF::Redland. 
     90 
    7491 
    7592=== Onto-Perl ===