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::Term - RDF Terms

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

       The Attean::API::Term role defines a common API for all RDF terms.

Methods

       This role provides default implementations of the following methods:

       "as_string"
           Returns a string serialization of the term.

       "ebv"
           Returns true if the term has a true SPARQL "effective boolean value", false otherwise.

       "order ( $other )"
           Similar to "compare", but provides the ordering semantics of ORDER BY.

       sameTerms( $other )
       sameTerms( $other )
       sameTerms( $other )

Name

       Attean::API::Term - RDF Terms

Required Methods

       The following methods are required by the Attean::API::Term role:

       "value"
           Returns the term's value string.

       "ntriples_string"
           Returns an N-Triples-compatible string serialization.

See Also

Version

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

See Also