Catmandu::RDF(3pm)

Catmandu::RDF3pm

Modules for handling rdf data within the catmandu framework

Usage

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.

Overview

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.

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

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9
  3. 10–11
  4. 12–13

From libcatmandu-rdf-perl 0.32-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.