RDF::Trine::AllegroGraph - Compatibility layer between RDF::Trine and AllegroGraph
use RDF::Trine::Store; my $store = RDF::Trine::Store->new_with_string( "AllegroGraph;$AG4_SERVER/cat23/repo34" ); use RDF::Trine::Model; my $model = RDF::Trine::Model->new ($store); # start to use the model according to RDF::Trine::Model my $query = RDF::Query->new( 'SELECT * WHERE ...' ); my $iterator = $query->execute( $model ); while (my $row = $iterator->next) { # $row is a HASHref containing variable name -> RDF Term bindings print $row->{ 'var' }->as_string; }
@@@@
Robert Barta, <drrho at cpan.org>
<drrho at cpan.org>
Please report any bugs or feature requests to bug-rdf-trine-allegrograph at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=RDF-Trine-AllegroGraph. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-rdf-trine-allegrograph at rt.cpan.org
RDF::Trine::Store::AllegroGraph
The development of this package was supported by Franz Inc.
Copyright 2011 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::Trine::AllegroGraph, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::Trine::AllegroGraph
CPAN shell
perl -MCPAN -e shell install RDF::Trine::AllegroGraph
For more information on module installation, please visit the detailed CPAN module installation guide.