Martin 'Kingpin' Thurn > RDF-Simple-Serialiser-Notation3-1.017 > RDF::Simple::Serialiser::N3

Download:
RDF-Simple-Serialiser-Notation3-1.017.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.017   Source  

NAME ^

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

SYNOPSIS ^

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

PRIVATE METHODS ^

render

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

PUBLIC METHODS ^

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 ^

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 ^

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

AUTHOR ^

Martin Thurn <mthurn@cpan.org>

LICENSE ^

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

syntax highlighting: