NAME
SIO::Utils::Trine - Things that make RDF::Trine work the way I think it should
SYNOPSIS
use SIO::Utils::Trine;
my $t = SIO::Utils::Trine->new();
my $node = $t->iri("http://example.com/nodeid");
DESCRIPTION
Typing in $node = RDF::Trine::iri("http://blah.com/") every time was driving me insane. Wanted it to be a bit more... lazy...
AUTHORS
Mark Wilkinson (markw at illuminae dot com)
METHODS
new
Usage : my $trine = SIO::Utils::Trine->new;
Function :
Returns :
Args :
temporary_model
Usage : my $Model = $trine->temporary_model();
Function :
Returns :
Args :
iri
Usage : my $Node = $trine->iri($uri);
Function :
Returns :
Args :
blank
Usage : my $bNode = $trine->blank($id);
Function :
Returns :
Args :
literal
Usage : my $lit = $trine->literal("val", "en", "string");
Function :
Returns :
Args :
statement
Usage : my $stm = $trine->statement($s, $p, $o);
Function :
Returns :
Args : $s, $p, $o as Trine Nodes or literals