1RDF::Trine::Store::DydrUas(e3r)Contributed Perl DocumentRaDtFi:o:nTrine::Store::Dydra(3)
2
3
4
6 RDF::Trine::Store::Dydra - RDF Store proxy for a Dydra endpoint
7
9 This document describes RDF::Trine::Store::Dydra version 1.019
10
12 use RDF::Trine::Store::Dydra;
13
15 RDF::Trine::Store::Dydra provides a RDF::Trine::Store API to interact
16 with a remote Dydra endpoint.
17
19 Beyond the methods documented below, this class inherits methods from
20 the RDF::Trine::Store class.
21
22 "new ( $user, $repo, $token )"
23 Returns a new storage object that will act as a proxy for the Dydra
24 endpoint for the $repo repository of $user, using the given API
25 $token.
26
27 "new_with_config ( $hashref )"
28 Returns a new storage object configured with a hashref with certain
29 keys as arguments.
30
31 The "storetype" key must be "Dydra" for this backend.
32
33 The following key must also be used:
34
35 "user"
36 The Dydra username.
37
38 "token"
39 The Dydra API token.
40
41 "repo"
42 The Dydra repository name.
43
44 "base"
45 Returns the service base URI ("http://dydra.com:80" by default).
46
47 "new_with_config ( \%config )"
48 Returns a new RDF::Trine::Store object based on the supplied
49 configuration hashref.
50
51 "add_statement ( $statement [, $context] )"
52 Adds the specified $statement to the underlying model.
53
54 "remove_statement ( $statement [, $context])"
55 Removes the specified $statement from the underlying model.
56
57 "remove_statements ( $subject, $predicate, $object [, $context])"
58 Removes the specified $statement from the underlying model.
59
60 "count_statements ( $subject, $predicate, $object, $context )"
61 Returns a count of all the statements matching the specified
62 subject, predicate, object, and context. Any of the arguments may
63 be undef to match any value.
64
65 "supports ( [ $feature ] )"
66 If $feature is specified, returns true if the feature is supported
67 by the store, false otherwise. If $feature is not specified,
68 returns a list of supported features.
69
70 "get_sparql ( $sparql )"
71 Returns an iterator object of all bindings matching the specified
72 SPARQL query.
73
74 "size"
75 Returns the number of statements in the store.
76
77 "nuke"
78 Permanently removes the store and its data.
79
81 Please report any bugs or feature requests to through the GitHub web
82 interface at <https://github.com/kasei/perlrdf/issues>.
83
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 2022-01-21 RDF::Trine::Store::Dydra(3)