1RDF::Trine::Serializer:U:sTerriGC(o3n)tributed Perl DocuRmDeFn:t:aTtriionne::Serializer::TriG(3)
2
3
4

NAME

6       RDF::Trine::Serializer::TriG - TriG Serializer
7

VERSION

9       This document describes RDF::Trine::Serializer::TriG version 1.019
10

SYNOPSIS

12        use RDF::Trine::Serializer::TriG;
13        my $serializer = RDF::Trine::Serializer::TriG->new();
14

DESCRIPTION

16       The RDF::Trine::Serializer::TriG class provides an API for serializing
17       RDF graphs to the TriG syntax.
18

METHODS

20       Beyond the methods documented below, this class inherits methods from
21       the RDF::Trine::Serializer class.
22
23       "new"
24           Returns a new TriG serializer object.
25
26       "serialize_model_to_file ( $fh, $model )"
27           Serializes the $model to TriG, printing the results to the supplied
28           filehandle "<$fh">.
29
30       "serialize_model_to_string ( $model )"
31           Serializes the $model to TriG, returning the result as a string.
32
33       "serialize_iterator_to_file ( $file, $iter )"
34           Serializes the iterator to TriG, printing the results to the
35           supplied filehandle "<$fh">.
36
37       "serialize_iterator_to_string ( $iter )"
38           Serializes the iterator to TriG, returning the result as a string.
39
40       "statement_as_string ( $st )"
41           Returns a string with the supplied RDF::Trine::Statement::Quad
42           object serialized as TriG, ending in a DOT and newline.
43
44       "node_as_concise_string"
45           Returns a string representation using common Turtle syntax
46           shortcuts (e.g. for numeric literals).
47

BUGS

49       Please report any bugs or feature requests to through the GitHub web
50       interface at <https://github.com/kasei/perlrdf/issues>.
51

SEE ALSO

53       <http://sw.deri.org/2008/07/n-quads/>
54

AUTHOR

56       Gregory Todd Williams  "<gwilliams@cpan.org>"
57
59       Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
60       software; you can redistribute it and/or modify it under the same terms
61       as Perl itself.
62
63
64
65perl v5.36.0                      2023-01-20   RDF::Trine::Serializer::TriG(3)
Impressum