NAME
GOBO::LiteralStatement
SYNOPSIS
printf '%s --[%s]--> %s', $s->node, $s->relation, $->target;
DESCRIPTION
LiteralStatements are one of two basic types of GOBO::Statement. Whereas an GOBO::LinkStatement will connect a node to another node, a literal statement connects a node to a "literal", or Value which can be a a string, number of other kind of moose Value.
What's this for?
LiteralStatements inherit the roles GOBO::Attributed and GOBO::Identified (via GOBO::Statement). This means they can have metadata attached, in the same way as edges in a graph. This stands in contrast to implementing the tag-values as accessors on the node itself. The difference between these styles is sometimes called "Axiom-style" vs "Frame-style", depending on whether the statement or the node is the primary entity of interest.
At this stage the object model allows both styles.... It may even be possible to use the Moose machinery to allow seamless switching between both...?