The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RDF::Trine::AllegroGraph::FAQ - Integrating Trine with AllegroGraph, the Quirks

FAQs

Q: Adding statements one-by-one is slow. What can I do?

A: See whether you can use begin_bulk_mode to aggregate some changes. If that still does not help, then you will have to use the AG repository directly. For that use

    my $repo = $store->{model};  # get the AGv4 repository
Q: How do I completely remove one repository via Trine?

A: At the moment you will have to call $store-_nuke> until RDF::Trine provides an official method.

Q: I have AGv4 running and would like to offer a SPARQL HTTP endpoint for a certain repository. How to do that?

A: Look at the file t/endpoint.psgi. The configuration of that is described in RDF::Endpoint. Once you have cloned that, you can start a Plack server with

   plackup endpoint.psgi
Q: What about exposing not only one repository, but several?

A: I have not tested it myself (yet), but Plack::Builder seems to be a viable path.

AUTHOR

Robert Barta, <drrho at cpan.org>

SEE ALSO

RDF::Trine::AllegroGraph

ACKNOWLEDGEMENTS

The development of this package was supported by Franz Inc.

COPYRIGHT & LICENSE

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.