1AtteanX::Parser::Trig(3U)ser Contributed Perl DocumentatiAotnteanX::Parser::Trig(3)
2
3
4

NAME

6       AtteanX::Parser::Trig - Trig RDF Parser
7

VERSION

9       This document describes AtteanX::Parser::Trig version 0.033
10

SYNOPSIS

12        use Attean;
13        my $parser     = AtteanX::Parser::Trig->new( handler => sub {...}, base => $base_iri );
14
15        # Parse data from a file-handle and handle triples in the 'handler' callback
16        $parser->parse_cb_from_io( $fh );
17
18        # Parse the given byte-string, and return an iterator of triples
19        my $iter = $parser->parse_iter_from_bytes('<s> <p> 1, 2, 3 .');
20        while (my $triple = $iter->next) {
21          print $triple->as_string;
22        }
23

DESCRIPTION

25       This module implements a parser for the Trig RDF format.
26

ROLES

28       This class consumes Attean::API::Parser, Attean::API::PushParser,
29       <Attean::API::AbbreviatingParser>, and <Attean::API::TripleParser>.
30

ATTRIBUTES

32       "canonical_media_type"
33       "media_types"
34       "file_extensions"
35       "canonicalize"
36           A boolean indicating whether term values should be canonicalized
37           during parsing.
38

METHODS

BUGS

41       Please report any bugs or feature requests to through the GitHub web
42       interface at <https://github.com/kasei/perlrdf/issues>.
43

AUTHOR

45       Gregory Todd Williams  "<gwilliams@cpan.org>"
46
48       Copyright (c) 2014--2022 Gregory Todd Williams. This program is free
49       software; you can redistribute it and/or modify it under the same terms
50       as Perl itself.
51
52
53
54perl v5.36.0                      2022-10-03          AtteanX::Parser::Trig(3)
Impressum