RDF::T...NQuads(3pm)
β¨ NAME β¨
okay so bestie, meet RDF::Trine::Parser::NQuads β it's the N-Quads Parser π
(the manpage header up top is being all mysterious and abbreviating it as RDF::T...NQuads(3pm), but we know her full name, we're not doing that abbreviation thing, periodt).
πΈ VERSION πΈ
This lil doc describes RDF::Trine::Parser::NQuads version 1.019. yes, we're being specific, no cap π
π¦ SYNOPSIS π¦
the vibe is literally three lines, and honestly? she ate:
use RDF::Trine::Parser;
my $parser = RDF::Trine::Parser->new( 'nquads' );
$parser->parse_into_model( $base_uri, $data, $model );
make a parser, tell it you want 'nquads', then shove your $base_uri, $data and $model at it. iconic behaviour π«Ά
π DESCRIPTION π
...
okay so the original literally just says ... here and I am NOT going to invent lore for it, that would be lying and lying is not the vibe π the methods section is where the actual tea is, scroll down bestie.
π METHODS π
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Parser class. so like, it got the family genes, yk? π§¬
"parse_into_model ( $base_uri, $data, $model )"β parses the bytes in$data, using the given$base_uri. For each RDF triple or quad parsed, will call"$model->add_statement( $statement )". so it's out here feeding every single triple or quad straight into your model, one statement at a time. highkey dedicated π
π BUGS π
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.
not me telling you to go file that issue, but like... if something's broken, do it π«Ά the original page says report bugs or feature requests there, so don't be shy.
π AUTHOR π
Gregory Todd Williams "<gwilliams@cpan.org>" π (the genius behind it, we stan)
π 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.
and that's the whole page bestie β¨ this was RDF::T...NQuads(3pm) from perl v5.38.2, dated 2024-01-13, as documented in the User Contributed Perl Documentation section of the manual. mwah, go parse some quads ππ
π¦ 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