1AtteanX::Parser::TurtleU(s3e)r Contributed Perl DocumentaAttitoenanX::Parser::Turtle(3)
2
3
4
6 AtteanX::Parser::Turtle - Turtle RDF Parser
7
9 This document describes AtteanX::Parser::Turtle version 0.030
10
12 use AtteanX::Parser::Turtle;
13 my $parser = AtteanX::Parser::Turtle->new( handler => sub {...} );
14 $parser->parse_cb_from_io( $fh, $base_uri );
15
17 This module implements a parser for the Turtle RDF format.
18
20 "canonical_media_type"
21 "media_types"
22 "file_extensions"
23 "canonicalize"
24 A boolean indicating whether term values should be canonicalized
25 during parsing.
26
28 "has_namespaces"
29 Returns true if the parser has a namespace map, false otherwise.
30
31 "parse_cb_from_io( $fh )"
32 Calls the "$parser->handler" function once for each
33 Attean::API::Binding object that result from parsing the data read
34 from the IO::Handle object $fh.
35
36 "parse_cb_from_bytes( $data )"
37 Calls the "$parser->handler" function once for each
38 Attean::API::Binding object that result from parsing the data read
39 from the UTF-8 encoded byte string $data.
40
41 "parse_term_from_bytes ( $bytes, $base )"
42 "parse_node ( $bytes, $base )"
43 Returns the Attean::API::Term object corresponding to the node
44 whose N-Triples serialization is found at the beginning of $bytes.
45
47 Please report any bugs or feature requests to through the GitHub web
48 interface at <https://github.com/kasei/perlrdf/issues>.
49
51 Gregory Todd Williams "<gwilliams@cpan.org>"
52
54 Copyright (c) 2014--2020 Gregory Todd Williams. This program is free
55 software; you can redistribute it and/or modify it under the same terms
56 as Perl itself.
57
58
59
60perl v5.32.1 2021-02-08 AtteanX::Parser::Turtle(3)