logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::RDF - Modules for handling RDF data within the Catmandu framework

Available Modules

       Catmandu::Exporter::RDF
           Serialize RDF data (as RDF/XML, RDF/JSON, Turtle, NTriples, RDFa...)

       Catmandu::Importer::RDF
           Parse RDF data (RDF/XML, RDF/JSON, Turtle, NTriples...) or import from a SPARQL endpoint

       Catmandu::Fix::aref_query
           Copy values of RDF data in aREF format to a new field

Contributors

       Jakob Voss, Patrick Hochstenbach

perl v5.36.0                                       2022-12-06                                 Catmandu::RDF(3pm)

Description

       Catmandu::RDF contains modules for handling RDF data within the Catmandu framework. RDF data is
       encoded/decoded in aREF <http://gbv.github.io/aREF/> as implemented with RDF::aREF. Please keep in mind
       that RDF is a graph-based data structuring format with specialized technologies such as SPARQL and triple
       stores.  Using Catmandu::RDF to transform RDF to RDF (e.g. conversion from one RDF serialization to
       another) is possible but probably less performant than decent RDF tools. Catmandu::RDF, however, is more
       conventient to convert between RDF and  other data formats.

Name

       Catmandu::RDF - Modules for handling RDF data within the Catmandu framework

See Also

       This module is based on Catmandu, RDF::aREF, RDF::Trine, and RDF::NS.

Synopsis

       Command line client "catmandu":

         catmandu convert RDF --url http://dx.doi.org/10.2474/trol.7.147
                              --fix 'aref_query(dct_title,title)' to YAML

         catmandu convert RDF --file rdfdump.ttl to RDF --type turtle

         # For big file the only efficient option to convert RDF is by
         # transforming the input stream into triples and writing to NTriples
         # in the output
         catmandu convert convert RDF --triples 1 --type ttl to RDF --type NTriples < rdfdump.ttl

       See documentation of modules for more examples.

See Also