NAME

Catmandu::Importer::RDF - parse RDF data

VERSION

version 0.16

SYNOPSIS

catmandu convert RDF --file rdfdump.ttl to YAML

SYNOPSIS

catmandu convert RDF --url http://d-nb.info/1001703464 to YAML

DESCRIPTION

This Catmandu::Importer can be use to import RDF data from URLs, files or input streams. Importing from RDF stores or via SPARQL is not supported yet.

By default an RDF graph is imported as single item in aREF format (see RDF::aREF).

CONFIGURATION

file
fh
encoding
fix

Default configuration options of Catmandu::Importer.

url

URL to retrieve RDF from.

type

RDF serialization type (e.g. ttl for RDF/Turtle).

base

Base URL. By default derived from the URL or file name.

ns

Use default namespace prefixes as provided by RDF::NS to abbreviate predicate and datatype URIs. Set to 0 to disable abbreviating URIs. Set to a specific date to get stable namespace prefix mappings.

SEE ALSO

RDF::Trine::Store, RDF::Trine::Parsers

AUTHOR

Jakob Voß

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.