logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Attributes

       The following attributes exist:

       "language"
           A language tag string.

       "datatype"
           An Attean::API::IRI datatype.

Author

       Gregory Todd Williams  "<gwilliams@cpan.org>"

Bugs

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

Description

       This is a Moo role that Literal RDF terms consume.

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.

Name

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

Roles

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

See Also

Synopsis

         use v5.14;
         use Attean;

Version

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

See Also