Attean::API::Literal3pm
Role representing rdf literal terms
Usage
use v5.14;use Attean;
Version
This document describes Attean::API::Literal version 0.035
Overview
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
$literalis less than, equal to, or greater than the referent based on SPARQL sorting order.
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.