NAME

RDF::SIO::Utils::Trine - Things that make RDF::Trine work the way I think it should

SYNOPSIS

use RDF::SIO::Utils::Trine;
my $t = $RDF::SIO::Utils::Trine->new();
my $node = $t->iri("http://example.com/nodeid");

# or you can get the one auto-generated by RDF::SIO::Utils

use RDF::SIO::Utils;
my $SIO = RDF::SIO::Utils->new();

# auto created RDF::SIO::Utils::Trine is there
my $m = $SIO->Trine->temporary_model(); 
my $node2 = $SIO->Trine->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