AllegroGraph/FAQ.pm

filter: Statementstmt 100% 2 / 2 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 2 / 2 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« AllegroGraph.pm ↑ Summary
1 package RDF::Trine::AllegroGraph::FAQ;
2  
3 =pod
4  
5 =head1 NAME
6  
7 RDF::Trine::AllegroGraph::FAQ - Integrating Trine with AllegroGraph, the Quirks
8  
9 =head1 FAQs
10  
11 =over
12  
13 =item Q: Adding statements one-by-one is slow. What can I do?
14  
15 A: See whether you can use C<begin_bulk_mode> to aggregate some changes. If that still does not
16 help, then you will have to use the AG repository B<directly>. For that use
17  
18 my $repo = $store->{model}; # get the AGv4 repository
19  
20 =item Q: How do I completely remove one repository via Trine?
21  
22 A: At the moment you will have to call C<$store->_nuke> until L<RDF::Trine> provides an official
23 method.
24  
25 =item Q: I have AGv4 running and would like to offer a SPARQL HTTP endpoint for a certain
26 repository. How to do that?
27  
28 A: Look at the file C<t/endpoint.psgi>. The configuration of that is described in L<RDF::Endpoint>.
29 Once you have cloned that, you can start a L<Plack> server with
30  
31 plackup endpoint.psgi
32  
33 =item Q: What about exposing not only one repository, but several?
34  
35 A: I have not tested it myself (yet), but L<Plack::Builder> seems to be a viable path.
36  
37  
38 =back
39  
40 =cut
41  
42 1 our $VERSION = '0.01';
43  
44 =pod
45  
46 =head1 AUTHOR
47  
48 Robert Barta, C<< <drrho at cpan.org> >>
49  
50 =head1 SEE ALSO
51  
52 L<RDF::Trine::AllegroGraph>
53  
54 =head1 ACKNOWLEDGEMENTS
55  
56 The development of this package was supported by Franz Inc.
57  
58 =head1 COPYRIGHT & LICENSE
59  
60 Copyright 2011 Robert Barta, all rights reserved.
61  
62 This program is free software; you can redistribute it and/or modify it under the same terms as Perl
63 itself.
64  
65 =cut
66  
67 1 1;
« AllegroGraph.pm ↑ Summary