Attean::API::Literal - Role representing RDF Literal terms
This document describes Attean::API::Literal version 0.002
use v5.14; use Attean;
This is a Moo role that Literal RDF terms consume.
This role consumes the Attean::API::Term and Attean::API::BlankOrIRI roles.
The following attributes exist:
language
A language tag string.
datatype
An Attean::API::IRI datatype.
This role provides default implementations of the following methods:
ebv
Returns the boolean value of this term.
compare( $literal )
Returns -1, 0, or 1 if $literal is less than, equal to, or greater than the referent based on SPARQL sorting order.
$literal
Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/attean/issues.
http://www.perlrdf.org/
Gregory Todd Williams <gwilliams@cpan.org>
<gwilliams@cpan.org>
Copyright (c) 2014 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.