RDF::Server::Role::Model - triple store role
package My::TripleStore; use Moose; with 'RDF::Server::Role::Model'; has store => ( is => 'rw', isa => 'RDF::Core::Model', default => sub { new RDF::Core::Model( Storage => new RDF::Core::Storage::Memory ) } ); sub has_triple { } sub resource { } sub resources { } ...
This role defines the interface expected by the RDF::Server framework when working with a triple store. RDF::Server comes with several built for current RDF storage modules. See RDF::Server::Model.
Returns true if the indicated triple is present in the triple store. Any of the parameters may be array references to two-element arrays of the form [ $namespace, $localvalue ].
[ $namespace, $localvalue ]
James Smith, <jsmith@cpan.org>
<jsmith@cpan.org>
Copyright (c) 2008 Texas A&M University.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install RDF::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::Server
CPAN shell
perl -MCPAN -e shell install RDF::Server
For more information on module installation, please visit the detailed CPAN module installation guide.