Attean::TermMap(3pm) | User Contributed Perl Documentation | Attean::TermMap(3pm) |
Attean::TermMap - Mapping terms to new terms
This document describes Attean::TermMap version 0.033
use v5.14; use Attean; my $m = Attean::TermMap->short_blank_map; my $new_blank = $m->map( Attean::Blank->new('abcdefg') ); say $new_blank->ntriples_string; # _:a
The Attean::TermMap class represents a one-way mapping process from and to Attean::API::Term objects. This mapping may rename the blank identifiers, skolemize nodes, or map the nodes in some other, custom way.
It conforms to the Attean::API::Mapper role.
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>"
Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2022-10-06 | perl v5.34.0 |