RDF::AllegroGraph::Easy - Simplistic Interface to AllegroGraph HTTP server


RDF-AllegroGraph-Easy documentation  | view source Contained in the RDF-AllegroGraph-Easy distribution.

Index


NAME

Top

RDF::AllegroGraph::Easy - Simplistic Interface to AllegroGraph HTTP server

SYNOPSIS

Top

  my $storage = new RDF::AllegroGraph::Easy ('http://my:secret@localhost:10035');
  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

DESCRIPTION

Top

The idea of this interface is to concentrate on the essentials:

Currently this abstraction layer supports v3 and v4 AG server, albeit with many omissions.

INTERFACE

Top

Constructor

[changed v0.6]

The constructor expects one parameter which is interpreted as HTTP endpoint for your AllegroGraph server. If left undef, then the default http://localhost:10035 will be used.

NOTE: No trailing slash!

AUTHOR

Top

Robert Barta, <rho at devc.at>

BUGS

Top

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.

COPYRIGHT & LICENSE

Top


RDF-AllegroGraph-Easy documentation  | view source Contained in the RDF-AllegroGraph-Easy distribution.