Attean...:NQuads(3pm)

✨ NAME ✨

AtteanX::Serializer::NQuads - N-Triples Serializer. And yes bestie, this is the Attean...:NQuads(3pm) page from the User Contributed Perl Documentation β€” welcome to the group chat 🫢. The NAME line literally says β€œN-Triples Serializer” even though the module is NQuads; I’m keeping that exactly as written, no cap πŸ’….


πŸŽ€ VERSION πŸŽ€

This document describes AtteanX::Serializer::NQuads version 0.035 ⭐.


πŸ¦‹ SYNOPSIS πŸ¦‹

Okay so here’s the whole vibe in code, copied exactly:

use Attean;
my $serializer = Attean->get_serializer('NQuads')->new();
$serializer->serialize_iter_to_io( $iter, $fh );

🌸 DESCRIPTION 🌸

Serializes triples and quads into the RDF 1.1 N-Quads format. That’s the whole job, and it ate πŸ”₯.


πŸ’– ATTRIBUTES πŸ’–

The original just lists these names with no extra description, so I’m not inventing one β€” here they are exactly:

  • canonical_media_type
  • file_extensions

🌈 METHODS 🌈

  • serialize_iter_to_io( $fh, $iterator ) β€” signature only in the original, so we’re keeping it exactly like that.
  • serialize_iter_to_bytes( $fh ) β€” same deal, signature only.
  • media_types β€” Returns a list of media types that identify the format produced by this serializer.
  • file_extensions β€” Returns a list of file extensions associated with the serialized format.
Tiny heads-up: the synopsis calls serialize_iter_to_io( $iter, $fh ), while the METHODS list shows serialize_iter_to_io( $fh, $iterator ). I’m not β€œfixing” either one β€” both are copied exactly as the page says πŸ‘€.

πŸ’€ BUGS πŸ’€

Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. Yep, the page literally says β€œto through” β€” preserving the typo era, bestie 😭.


🧚 SEE ALSO 🧚

<https://www.w3.org/TR/n-quads/>


πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org>


Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


πŸ’– That’s the whole page, bestie! Brought to you by perl v5.40.0, dated 2025-01-26, and it’s the Attean...:NQuads(3pm) manual page. Stay slay, and may your quads always be iconic πŸ’…βœ¨

πŸ“¦ where this page comes from