RDF::T...FPatch(3pm)
π NAME π
RDF::Trine::Serializer::RDFPatch - RDF-Patch Serializer
okay so this is the RDF::T...FPatch(3pm) page, part of the User Contributed Perl Documentation bestie! and literally the class it's about is RDF::Trine::Serializer::RDFPatch, which is giving RDF-Patch Serializer energy. π
πΈ VERSION πΈ
This doc describes RDF::Trine::Serializer::RDFPatch version 1.019. no cap, that's the version.
β¨ SYNOPSIS β¨
use RDF::Trine::Serializer::RDFPatch;
my $serializer = RDF::Trine::Serializer::RDFPatch->new();
π¦ DESCRIPTION π¦
The RDF::Trine::Serializer::RDFPatch class provides an API for serializing RDF graphs to the RDF-Patch syntax. like, it's literally the whole vibe β you got RDF graphs and you wanna turn them into RDF-Patch? this class says say less. β¨
π METHODS π
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Serializer class. so yeah, it's got main character energy and also family connections. π
newβ Returns a new RDF-Patch serializer object. fresh out the box π«Άserialize_model_to_file ( $fh, $model )β Serializes the$modelto RDF-Patch, printing the results to the supplied filehandle<$fh>. drop it in a file, periodt.serialize_model_to_string ( $model )β Serializes the$modelto RDF-Patch, returning the result as a string. stringy slay.serialize_iterator_to_file ( $file, $iter )β Serializes the iterator to RDF-Patch, printing the results to the supplied filehandle<$fh>. iterator goes brrr into a file.serialize_iterator_to_string ( $iter )β Serializes the iterator to RDF-Patch, returning the result as a string. stringy iterator moment.
π NOTES π
As described in as_ntriples in RDF::Trine::Node::Resource, serialization will decode any punycode (<http://www.ietf.org/rfc/rfc3492.txt>) that is included in the IRI, and serialize it using unicode codepoint escapes. iykyk β punycode gets decoded, then it's unicode codepoint escapes o'clock. π¦
π BUGS π
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. don't be shy, the maintainers wanna know. π
π SEE ALSO π
<http://afs.github.io/rdf-patch/> β the RDF-Patch lore is right there. π
π AUTHOR π
Gregory Todd Williams "<gwilliams@cpan.org>" β iconic β¨
βοΈ COPYRIGHT βοΈ
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. fr fr, that's the legal tea.
and that's the whole page bestie! this was perl v5.38.2, dated 2024-01-13, and the manual name is RDF::T...FPatch(3pm). stay slay, keep your IRIs decoded, and don't forget to report those bugs. mwah π π
π¦ where this page comes from
- debian trixie: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms