Author image ☺唐鳳☻
and 1 contributors

NAME

RDF::Simple::Serialiser::YAML - Simple RDF/YAML serialiser

SYNOPSIS

    my $ser = RDF::Simple::Serialiser::YAML->new;

    my @triples = (
        ['http://example.com/url#', 'dc:creator', 'zool@example.com'],
        ['http://example.com/url#', 'foaf:Topic', '_id:1234'],
        ['_id:1234','http://www.w3.org/2003/01/geo/wgs84_pos#lat','51.334422']
    );

    my $yaml_string = $ser->serialise(@triples);

DESCRIPTION

This module is a subclass of RDF::Simple::Serialiser to produce serialised RDF/YAML documents from an array of triples.

Please see RDF::Simple::Serialiser for a list of supported methods.

SEE ALSO

RDF::YAML, RDF::Simple::Parser::YAML

AUTHORS

Autrijus Tang <autrijus@autrijus.org>

COPYRIGHT

Copyright 2003 by Autrijus Tang <autrijus@autrijus.org>.

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

See http://www.perl.com/perl/misc/Artistic.html