Attean::API::Term3pm
Rdf terms
Version
This document describes Attean::API::Term version 0.035
Overview
The Attean::API::Term role defines a common API for all 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. |
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 )
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.