NAME

RDF::Dumper - dump RDF data objects

VERSION

version 0.1

SYNOPSIS

use RDF::Dumper;
print rdfdump( $rdf_object );

# configure serializer (as singleton)
use RDF::Dumper 'rdfxml', namespaces => { ... };

print rdfdump( $rdf );              # use serializer created on import

print rdfdump( $serializer, $rdf ); # use another serializer

DESCRIPTION

Exports function 'rdfdump' to serialize RDF data objects given as instances of RDF::Trine::Model, RDF::Trine::Iterator, RDF::Trine::Statement, RDF::Trine::Store, or RDF::Trine::Graph. See RDF::Trine::Serializer for details on RDF serializers. By default RDF is serialized as RDF/Turtle.

AUTHOR

Jakob Voss

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jakob Voss.

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