1RDF::Trine::Store::SPARUQsLe(r3)Contributed Perl DocumenRtDaFt:i:oTnrine::Store::SPARQL(3)
2
3
4

NAME

6       RDF::Trine::Store::SPARQL - RDF Store proxy for a SPARQL endpoint
7

VERSION

9       This document describes RDF::Trine::Store::SPARQL version 1.019
10

SYNOPSIS

12        use RDF::Trine::Store::SPARQL;
13

DESCRIPTION

15       RDF::Trine::Store::SPARQL provides a RDF::Trine::Store API to interact
16       with a remote SPARQL endpoint.
17

METHODS

19       Beyond the methods documented below, this class inherits methods from
20       the RDF::Trine::Store class.
21
22       "new ( $url )"
23           Returns a new storage object that will act as a proxy for the
24           SPARQL endpoint accessible via the supplied $url.
25
26       "new_with_config ( $hashref )"
27           Returns a new storage object configured with a hashref with certain
28           keys as arguments.
29
30           The "storetype" key must be "SPARQL" for this backend.
31
32           The following key must also be used:
33
34           "url"
35               The URL of the remote endpoint.
36
37       "new_with_config ( \%config )"
38           Returns a new RDF::Trine::Store object based on the supplied
39           configuration hashref.
40
41       "get_statements ( $subject, $predicate, $object [, $context] )"
42           Returns a stream object of all statements matching the specified
43           subject, predicate and objects. Any of the arguments may be undef
44           to match any value.
45
46       "get_pattern ( $bgp [, $context] )"
47           Returns an iterator object of all bindings matching the specified
48           graph pattern.
49
50       "get_contexts"
51           Returns an RDF::Trine::Iterator over the RDF::Trine::Node objects
52           comprising the set of contexts of the stored quads.
53
54       "add_statement ( $statement [, $context] )"
55           Adds the specified $statement to the underlying model.
56
57       "remove_statement ( $statement [, $context])"
58           Removes the specified $statement from the underlying model.
59
60       "remove_statements ( $subject, $predicate, $object [, $context])"
61           Removes the specified $statement from the underlying model.
62
63       "count_statements ( $subject, $predicate, $object, $context )"
64           Returns a count of all the statements matching the specified
65           subject, predicate, object, and context. Any of the arguments may
66           be undef to match any value.
67
68       "size"
69           Returns the number of statements in the store.
70
71       "supports ( [ $feature ] )"
72           If $feature is specified, returns true if the feature is supported
73           by the store, false otherwise. If $feature is not specified,
74           returns a list of supported features.
75
76       "get_sparql ( $sparql )"
77           Returns an iterator object of all bindings matching the specified
78           SPARQL query.
79

BUGS

81       Please report any bugs or feature requests to through the GitHub web
82       interface at <https://github.com/kasei/perlrdf/issues>.
83

AUTHOR

85       Gregory Todd Williams  "<gwilliams@cpan.org>"
86
88       Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
89       software; you can redistribute it and/or modify it under the same terms
90       as Perl itself.
91
92
93
94perl v5.34.0                      2021-07-22      RDF::Trine::Store::SPARQL(3)
Impressum