RDF::T...FPatch(3pm)

πŸ“¦
version 1.019 Β· 7 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 $model to RDF-Patch, printing the results to the supplied filehandle <$fh>. drop it in a file, periodt.
  • serialize_model_to_string ( $model ) β€” Serializes the $model to 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 (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