1RDF::Trine::Serializer:U:sNeortaCtoinotnr3i(b3u)ted PerlRDDFo:c:uTmreinntea:t:iSoenrializer::Notation3(3)
2
3
4

NAME

6       RDF::Trine::Serializer::Notation3 - Notation 3 Serializer
7

SYNOPSIS

9        use RDF::Trine::Serializer::Notation3;
10        my $serializer = RDF::Trine::Serializer::Notation3->new();
11

DESCRIPTION

13       The RDF::Trine::Serializer::Notation3 class provides an API for
14       serializing RDF graphs to the Notation 3 syntax.
15
16       The output of this class is not optimised for human-readability; it's a
17       data dump.  The only minor concession it makes to human readers is that
18       it will nicely indent formulae. I do have plans to port cwm's Notation
19       3 output to Perl, but this is likely to be distributed separately due
20       to licensing concerns.
21
22       Caveat scriptor: while RDF::Trine::Node::Formula understands
23       quantification (@forAll, @forSome), RDF::Trine::Model does not. This
24       means that @forAll and @forSome defined in the top-level graph are not-
25       round-tripped between the Notation 3 parser and serialiser (the parser
26       will give you warnings about this).  @forAll and @forSome within
27       formulae will work fine.
28
29   Constructor
30       "new"
31           Returns a new Notation 3 serializer object.
32
33   Methods
34       "serialize_model_to_file ( $fh, $model )"
35           Serializes the $model to Notation 3, printing the results to the
36           supplied filehandle "<$fh">.
37
38       "serialize_model_to_string ( $model )"
39           Serializes the $model to Notation 3, returning the result as a
40           string.
41
42       "serialize_iterator_to_file ( $file, $iter )"
43           Serializes the iterator to Notation 3, printing the results to the
44           supplied filehandle "<$fh">.
45
46       "serialize_iterator_to_string ( $iter )"
47           Serializes the iterator to Notation 3, returning the result as a
48           string.
49

BUGS

51       Please report any bugs to
52       <http://rt.cpan.org/Dist/Display.html?Queue=RDF-TriN3>.
53

SEE ALSO

55       RDF::Trine::Serializer::NTriples, RDF::Trine::Serializer::Turtle.
56

AUTHOR

58       Toby Inkster  "<tobyink@cpan.org>"
59
61       Copyright (c) 2010-2012 Toby Inkster.
62
63       This library is free software; you can redistribute it and/or modify it
64       under the same terms as Perl itself.
65

DISCLAIMER OF WARRANTIES

67       THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
68       WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
69       MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
70
71
72
73perl v5.32.0                      2020-07-2R8DF::Trine::Serializer::Notation3(3)
Impressum