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

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

✨ 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 (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