RDFStore::Stanford::Model - definiton of the Model RDF API
use RDFStore::Stanford::Model; use RDFStore::Stanford::Literal; use RDFStore::Stanford::Resource; use RDFStore::Stanford::Statement; my $model = new RDFStore::Stanford::Model(); my $obj = new RDFStore::Stanford::Literal("foo"); my $subj = new RDFStore::Stanford::Literal("http://www.foo.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); $model->add($fact); my $result_model = $model->find($fact);
This is just the interface definition. If you are more interested to an example implementation see RDFStore::Model(3)
RDFStore::Model(3)
Alberto Reggiori <alberto.reggiori@jrc.it>
To install RDFStore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDFStore
CPAN shell
perl -MCPAN -e shell install RDFStore
For more information on module installation, please visit the detailed CPAN module installation guide.