Attean::API::Literal(3pm) | User Contributed Perl Documentation | Attean::API::Literal(3pm) |
NAME¶
Attean::API::Literal - Role representing RDF Literal termsVERSION¶
This document describes Attean::API::Literal version 0.021SYNOPSIS¶
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¶
AUTHOR¶
Gregory Todd Williams "<gwilliams@cpan.org>"COPYRIGHT¶
Copyright (c) 2014--2018 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.2019-02-13 | perl v5.28.1 |