RDF::Simple::Serialiser::N3 - Output RDF triples in Notation3 format


RDF-Simple-Serialiser-Notation3 documentation  | view source Contained in the RDF-Simple-Serialiser-Notation3 distribution.

Index


NAME

Top

RDF::Simple::Serialiser::N3 - Output RDF triples in Notation3 format

SYNOPSIS

Top

Same as RDF::Simple::Serialiser, except when you call serialise(), you get back a string in Notation3 format.

PRIVATE METHODS

Top

render

This method does all the Notation3 formatting. You should not be calling this method, you should be calling the serialise() method.

PUBLIC METHODS

Top

get_triple_count

Returns the number of triples created since the last call to reset_triple_count().

reset_triple_count

Resets the internal counter of triples to zero.

NOTES

Top

This module tries to automatically detect when the value of a property is a string (as opposed to numeric) and add double-quotes around it. This is probably not perfect, so please contact the author if you find a bug, or if you need a smarter way of handling value types.

Sorry, there is no Notation3 parser for RDF::Simple. Not yet, anyway.

BUGS

Top

Please use the website http://rt.cpan.org to report bugs and request new features.

AUTHOR

Top

Martin Thurn <mthurn@cpan.org>

LICENSE

Top

This software is released under the same license as Perl itself.


RDF-Simple-Serialiser-Notation3 documentation  | view source Contained in the RDF-Simple-Serialiser-Notation3 distribution.