RDF::T...riples(3pm)
β¨ NAME β¨
okay so bestie, this is RDF::Trine::Parser::NTriples β the N-Triples Parser π
it lives in the RDF::T...riples(3pm) manual page and it's literally here to parse N-Triples for you, no cap.
πΈ VERSION πΈ
This document describes RDF::Trine::Parser::NTriples version 1.019. yes, that's the one. periodt.
π¦ SYNOPSIS π¦
here's the vibe, copy-paste it and go:
use RDF::Trine::Parser;
my $parser = RDF::Trine::Parser->new( 'ntriples' );
$parser->parse_into_model( $base_uri, $data, $model );
that's it. that's the whole main character moment. π«Ά
π DESCRIPTION π
...
no fr that's genuinely what the original says β ... β iconic behaviour, honestly. π
π METHODS π
so beyond the methods listed down below, this class also inherits methods from the RDF::Trine::Parser class. it's giving family lineage, iykyk. π
"new"β the constructor, obvi. it's listed here with no extra deets attached, so that's all we're saying about it. β¨"parse_into_model ( $base_uri, $data, $model [, context => $context] )"β this one parses the bytes sitting in$data. and for every single RDF statement it parses, it will call"$model->add_statement( $statement )". every. single. one. π"parse_file_into_model ( $base_uri, $fh, $model [, context => $context] )"β same energy, but it parses all the data read from the filehandle$fh. and yes, for each RDF statement parsed it will call"$model->add_statement( $statement )". π"parse ( $base_uri, $rdf, \&handler )"β listed right here, bestie. π"parse_node ( $string, $base )"β this one returns theRDF::Trine::Nodeobject that corresponds to the node whose N-Triples serialization is found at the beginning of$string. note it: at the beginning of the string. not the middle, not the end. the beginning. π"parse_file ( $base, $fh, \&handler )"β also listed. present and accounted for. π
π BUGS π
pleaseeee report any bugs or feature requests through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. do not suffer in silence, bestie, that's not the move. π
π AUTHOR π
Gregory Todd Williams β "<gwilliams@cpan.org>" π
πΈ 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. π
okay and that's the whole page, bestie!! π«Άπ this wasperl v5.38.2doing its thing, dated 2024-01-13, and that right there isRDF::T...riples(3pm)β slay, mwah, go parse some triples. π β¨π
π¦ 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