Attean...:Turtle(3pm)
πΈ NAME πΈ
okay so bestie, welcome to the page for AtteanX::Parser::Turtle β a Turtle RDF Parser. In the manual it lives under Attean...:Turtle(3pm), and the header says User Contributed Perl Documentation. π This is the whole name-and-title situation, and it's giving exactly what it needs to give.
β¨ VERSION β¨
This document describes AtteanX::Parser::Turtle version 0.035. no cap, that's the version. π«Ά
π¦ SYNOPSIS π¦
Here's the code, bestie β copy it exactly:
use Attean;
my $parser = AtteanX::Parser::Turtle->new( handler => sub {...}, base => $base_iri );
# Parse data from a file-handle and handle triples in the 'handler' callback
$parser->parse_cb_from_io( $fh );
# Parse the given byte-string, and return an iterator of triples
my $iter = $parser->parse_iter_from_bytes('<s> <p> 1, 2, 3 .');
while (my $triple = $iter->next) {
print $triple->as_string;
}
π DESCRIPTION π
This module implements a parser for the Turtle RDF format. That's it, that's the job, and it ate. π
π ROLES π
This class consumes Attean::API::Parser, Attean::API::PushParser, <Attean::API::AbbreviatingParser>, and <Attean::API::TripleParser>. periodt. β¨
π§ ATTRIBUTES π§
These are the attributes listed for this parser, no additions, no deletions:
canonical_media_typemedia_typesfile_extensionscanonicalizeβ a boolean indicating whether term values should be canonicalized during parsing. π«Άblank_nodeshas_blank_nodes_map
π METHODS π
has_namespacesβ returns true if the parser has a namespace map, and false otherwise. πparse_cb_from_io( $fh )β calls the$parser->handlerfunction once for eachAttean::API::Bindingobject that results from parsing the data read from theIO::Handleobject$fh. πparse_cb_from_bytes( $data )β calls the$parser->handlerfunction once for eachAttean::API::Bindingobject that results from parsing the data read from the UTF-8 encoded byte string$data. π¦parse_term_from_bytes ( $bytes )andparse_node ( $bytes )β return theAttean::API::Termobject corresponding to the node whose N-Triples serialization is found at the beginning of$bytes. β
π BUGS π
Please report any bugs or feature requests through the GitHub web interface at https://github.com/kasei/perlrdf/issues. π they wanna hear from you, bestie.
πΈ AUTHOR πΈ
Gregory Todd Williams <gwilliams@cpan.org>. π
π COPYRIGHT π
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. π
xoxo, your manual page π β generated from perl v5.40.0 on 2025-01-26, filed under Attean...:Turtle(3pm). mwah! π«Άβ¨
π¦ where this page comes from
- debian trixie: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms