Attean::API::TriplePattern - Role representing triple patterns
This document describes Attean::API::TriplePattern version 0.019
use v5.14; use Attean;
This is a Moo role representing triple patterns.
This role consumes Attean::API::TripleOrQuadPattern and Attean::API::Binding, which provide the following methods:
mapping
values
tuples_string
as_string
variables
Returns the list of variable names: qw(subject predicate object).
qw(subject predicate object)
value( $key )
Returns the Attean::API::Term value bound to the variable named $key (which must be present in the variables list), undef otherwise.
$key
as_quad_pattern( $graph )
Returns a new Attean::QuadPattern object with the referent's subject, predicate, and object, and the supplied $graph.
$graph
Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/attean/issues.
Gregory Todd Williams <gwilliams@cpan.org>
<gwilliams@cpan.org>
Copyright (c) 2014--2018 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Attean, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Attean
CPAN shell
perl -MCPAN -e shell install Attean
For more information on module installation, please visit the detailed CPAN module installation guide.