| 1 |
NAME |
| 2 |
Catmandu::RDF - Modules for handling RDF data within the Catmandu |
| 3 |
framework |
| 4 |
|
| 5 |
SYNOPSIS |
| 6 |
Command line client "catmandu": |
| 7 |
|
| 8 |
catmandu convert RDF --url http://dx.doi.org/10.2474/trol.7.147 |
| 9 |
--fix 'aref_query(dct_title,title)' to YAML |
| 10 |
|
| 11 |
catmandu convert RDF --file rdfdump.ttl to RDF --type turtle |
| 12 |
|
| 13 |
# For big file the only efficient option to convert RDF is by |
| 14 |
# transforming the input stream into triples and writing to NTriples |
| 15 |
# in the output |
| 16 |
catmandu convert convert RDF --triples 1 --type ttl to RDF --type NTriples < rdfdump.ttl |
| 17 |
|
| 18 |
See documentation of modules for more examples. |
| 19 |
|
| 20 |
DESCRIPTION |
| 21 |
Catmandu::RDF contains modules for handling RDF data within the Catmandu |
| 22 |
framework. RDF data is encoded/decoded in aREF |
| 23 |
<http://gbv.github.io/aREF/> as implemented with RDF::aREF. Please keep |
| 24 |
in mind that RDF is a graph-based data structuring format with |
| 25 |
specialized technologies such as SPARQL and triple stores. Using |
| 26 |
Catmandu::RDF to transform RDF to RDF (e.g. conversion from one RDF |
| 27 |
serialization to another) is possible but probably less performant than |
| 28 |
decent RDF tools. Catmandu::RDF, however, is more conventient to convert |
| 29 |
between RDF and other data formats. |
| 30 |
|
| 31 |
AVAILABLE MODULES |
| 32 |
Catmandu::Exporter::RDF |
| 33 |
Serialize RDF data (as RDF/XML, RDF/JSON, Turtle, NTriples, RDFa...) |
| 34 |
|
| 35 |
Catmandu::Importer::RDF |
| 36 |
Parse RDF data (RDF/XML, RDF/JSON, Turtle, NTriples...) or import |
| 37 |
from a SPARQL endpoint |
| 38 |
|
| 39 |
Catmandu::Fix::aref_query |
| 40 |
Copy values of RDF data in aREF format to a new field |
| 41 |
|
| 42 |
SEE ALSO |
| 43 |
This module is based on Catmandu, RDF::aREF, RDF::Trine, and RDF::NS. |
| 44 |
|
| 45 |
COPYRIGHT AND LICENSE |
| 46 |
Copyright Jakob Voß, 2014- |
| 47 |
|
| 48 |
This is free software; you can redistribute it and/or modify it under |
| 49 |
the same terms as the Perl 5 programming language system itself. |
| 50 |
|
| 51 |
CONTRIBUTORS |
| 52 |
Jakob Voß, Patrick Hochstenbach |
| 53 |
|