1Attean::API::TriplePattUesrenr(3C)ontributed Perl DocumeAntttaetaino:n:API::TriplePattern(3)
2
3
4
6 Attean::API::TriplePattern - Role representing triple patterns
7
9 This document describes Attean::API::TriplePattern version 0.030
10
12 use v5.14;
13 use Attean;
14
16 This is a Moo role representing triple patterns.
17
19 This role consumes Attean::API::TripleOrQuadPattern and
20 Attean::API::Binding, which provide the following methods:
21
22 "mapping"
23 "values"
24 "tuples_string"
25 "as_string"
26
28 "variables"
29 Returns the list of variable names: "qw(subject predicate object)".
30
31 "value( $key )"
32 Returns the Attean::API::Term value bound to the variable named
33 $key (which must be present in the "variables" list), undef
34 otherwise.
35
36 "as_quad_pattern( $graph )"
37 Returns a new Attean::QuadPattern object with the referent's
38 subject, predicate, and object, and the supplied $graph.
39
41 Please report any bugs or feature requests to through the GitHub web
42 interface at <https://github.com/kasei/attean/issues>.
43
46 Gregory Todd Williams "<gwilliams@cpan.org>"
47
49 Copyright (c) 2014--2020 Gregory Todd Williams. This program is free
50 software; you can redistribute it and/or modify it under the same terms
51 as Perl itself.
52
53
54
55perl v5.32.1 2021-02-08 Attean::API::TriplePattern(3)