NAME
RDFStore::Stanford::SetModel - definiton of the SetModel RDF API
SYNOPSIS
use RDFStore::Stanford::SetModel;
use RDFStore::Stanford::Literal;
use RDFStore::Stanford::Resource;
use RDFStore::Stanford::Statement;
my $set = new RDFStore::Stanford::Model();
my $obj = new RDFStore::Stanford::Literal("foo");
my $subj = new RDFStore::Stanford::Literal("http://www.foo.com");
my $subj1 = new RDFStore::Stanford::Literal("http://www.bar.com");
my $pred = new RDFStore::Stanford::Literal("http://rdf.dev.oclc.org/eor/2000/02/26-dcv#","creator");
my $fact= new RDFStore::Stanford::Statement($subj, $pred, $obj);
my $fact1= new RDFStore::Stanford::Statement($subj1, $pred, $obj);
$set->add($fact);
my $result_model = $set->find($fact);
$set->subtract($fact1);
DESCRIPTION
This is just the interface definition. If you are more interested to an example implementation see RDFStore::SetModel(3)
SEE ALSO
RDFStore::SetModel(3)
AUTHOR
Alberto Reggiori <areggiori@webweaving.org>