1RDF::Trine::Exporter::RUDsFePratCcohn(t3r)ibuted Perl DoRcDuFm:e:nTtraitnieo:n:Exporter::RDFPatch(3)
2
3
4

NAME

6       RDF::Trine::Exporter::RDFPatch - RDF-Patch Export
7

VERSION

9       This document describes RDF::Trine::Exporter::RDFPatch version 1.019
10

SYNOPSIS

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

DESCRIPTION

16       The RDF::Trine::Exporter::RDFPatch class provides an API for
17       serializing RDF graphs to the RDF-Patch syntax.
18

METHODS

20       "new ( sink => $sink )"
21           Returns a new RDF-Patch exporter object.
22
23       "comment ( $c )"
24           Serializes a comment with the given string.
25
26       "emit_operation ( $op, @operands )"
27           Serializes an operation identified by the character $op, followed
28           by @operands (separated by a single space) and a trailing DOT and
29           newline.
30
31       "add ( $st )"
32           Serializes an add/insert operation for the given statement object.
33
34       "delete ( $st )"
35           Serializes a delete operation for the given statement object.
36
37       "statement_as_string ( $st )"
38           Returns a string with the supplied RDF::Trine::Statement object
39           serialized as an RDF-Patch string.
40
41       "terms_as_string_list ( @terms )"
42           Returns a list with each supplied term serialized as RDF-Patch
43           strings.
44
45       "node_as_concise_string"
46           Returns a string representation using RDF-Patch syntax shortcuts
47           (e.g. PrefixNames).
48

NOTES

50       As described in "as_ntriples" in RDF::Trine::Node::Resource,
51       serialization will decode any punycode
52       <http://www.ietf.org/rfc/rfc3492.txt> that is included in the IRI, and
53       serialize it using unicode codepoint escapes.
54

BUGS

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

SEE ALSO

60       <http://afs.github.io/rdf-patch/>
61

AUTHOR

63       Gregory Todd Williams  "<gwilliams@cpan.org>"
64
66       Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
67       software; you can redistribute it and/or modify it under the same terms
68       as Perl itself.
69
70
71
72perl v5.36.0                      2023-01-20 RDF::Trine::Exporter::RDFPatch(3)
Impressum