RDF::AllegroGraph::Easy - Simplistic Interface to AllegroGraph HTTP server
my $storage = new RDF::AllegroGraph::Easy ('http://my:secret@localhost:8080'); my $model = $storage->model ('/scratch/catlitter', mode => O_CREAT); $model->add (....); # add stuff $model->delete (...); # get rid of stuff my @tuples = $model->sparql ('SELECT ...'); # query it $model->disband; # remove the whole thing
The idea of this interface is to concentrate on the essentials:
The constructor expects one parameter which is interpreted as HTTP endpoint for your AllegroGraph server. If left undef, then the default http://localhost:8080 will be used.
undef
http://localhost:8080
NOTE: No trailing slash!
Robert Barta, <rho at devc.at>
<rho at devc.at>
Please report any bugs or feature requests to bug-rdf-allegrograph-easy at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=RDF-AllegroGraph-Easy. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-rdf-allegrograph-easy at rt.cpan.org
Copyright 2009 Robert Barta, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install RDF::AllegroGraph::Easy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::AllegroGraph::Easy
CPAN shell
perl -MCPAN -e shell install RDF::AllegroGraph::Easy
For more information on module installation, please visit the detailed CPAN module installation guide.