1Attean::API::Literal(3)User Contributed Perl DocumentatioAnttean::API::Literal(3)
2
3
4

NAME

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

VERSION

9       This document describes Attean::API::Literal version 0.030
10

SYNOPSIS

12         use v5.14;
13         use Attean;
14

DESCRIPTION

16       This is a Moo role that Literal RDF terms consume.
17

ROLES

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

ATTRIBUTES

23       The following attributes exist:
24
25       "language"
26           A language tag string.
27
28       "datatype"
29           An Attean::API::IRI datatype.
30

METHODS

32       This role provides default implementations of the following methods:
33
34       "ebv"
35           Returns the boolean value of this term.
36
37       "compare( $literal )"
38           Returns -1, 0, or 1 if $literal is less than, equal to, or greater
39           than the referent based on SPARQL sorting order.
40

BUGS

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

SEE ALSO

AUTHOR

47       Gregory Todd Williams  "<gwilliams@cpan.org>"
48
50       Copyright (c) 2014--2020 Gregory Todd Williams.  This program is free
51       software; you can redistribute it and/or modify it under the same terms
52       as Perl itself.
53
54
55
56perl v5.34.0                      2022-01-20           Attean::API::Literal(3)
Impressum