Man pages sections > man3 > Attean::API::Literal

Attean::API::Literal - Role representing RDF Literal terms

Attean::API::Literal(3pm) User Contributed Perl Documentation Attean::API::Literal(3pm)

NAME

Attean::API::Literal - Role representing RDF Literal terms

VERSION

This document describes Attean::API::Literal version 0.017

SYNOPSIS

  use v5.14;
  use Attean;

DESCRIPTION

This is a Moo role that Literal RDF terms consume.

ROLES

This role consumes the Attean::API::Term and Attean::API::BlankOrIRI roles.

ATTRIBUTES

The following attributes exist:
"language"
A language tag string.
"datatype"
An Attean::API::IRI datatype.

METHODS

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.

BUGS

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

SEE ALSO

<http://www.perlrdf.org/>

AUTHOR

Gregory Todd Williams "<gwilliams@cpan.org>" Copyright (c) 2014--2016 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2017-10-02 perl v5.26.0