=head1 NAME

Attean::API::TriplePattern - Role representing triple patterns

=head1 VERSION

This document describes Attean::API::TriplePattern version 0.030


  use v5.14;
  use Attean;


This is a Moo role representing triple patterns.

=head1 ROLES

This role consumes L<Attean::API::TripleOrQuadPattern> and L<Attean::API::Binding>, which provide the following methods:

=over 4

=item C<< mapping >>

=item C<< values >>

=item C<< tuples_string >>

=item C<< as_string >>


=head1 METHODS

=over 4

=item C<< variables >>

Returns the list of variable names: C<< qw(subject predicate object) >>.

=item C<< value( $key ) >>

Returns the L<Attean::API::Term> value bound to the variable named C<< $key >>
(which must be present in the C<< variables >> list), undef otherwise.

=item C<< as_quad_pattern( $graph ) >>

Returns a new L<Attean::QuadPattern> object with the referent's subject,
predicate, and object, and the supplied C<< $graph >>.


=head1 BUGS

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

=head1 SEE ALSO

=head1 AUTHOR

Gregory Todd Williams  C<< <gwilliams@cpan.org> >>


Copyright (c) 2014--2020 Gregory Todd Williams.
This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.