DOKK / manpages / debian 12 / libattean-perl / Attean::API::Term.3pm.en
Attean::API::Term(3pm) User Contributed Perl Documentation Attean::API::Term(3pm)

Attean::API::Term - RDF Terms

This document describes Attean::API::Term version 0.033

The Attean::API::Term role defines a common API for all RDF terms.

The following methods are required by the Attean::API::Term role:

"value"
Returns the term's value string.
"ntriples_string"
Returns an N-Triples-compatible string serialization.

This role provides default implementations of the following methods:

"as_string"
Returns a string serialization of the term.
"ebv"
Returns true if the term has a true SPARQL "effective boolean value", false otherwise.

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