1Attean::API::Literal(3)User Contributed Perl DocumentatioAnttean::API::Literal(3)
2
3
4
6 Attean::API::Literal - Role representing RDF Literal terms
7
9 This document describes Attean::API::Literal version 0.020
10
12 use v5.14;
13 use Attean;
14
16 This is a Moo role that Literal RDF terms consume.
17
19 This role consumes the Attean::API::Term and Attean::API::BlankOrIRI
20 roles.
21
23 The following attributes exist:
24
25 "language"
26 A language tag string.
27
28 "datatype"
29 An Attean::API::IRI datatype.
30
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
42 Please report any bugs or feature requests to through the GitHub web
43 interface at <https://github.com/kasei/attean/issues>.
44
47 Gregory Todd Williams "<gwilliams@cpan.org>"
48
50 Copyright (c) 2014--2018 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.28.1 2019-01-09 Attean::API::Literal(3)