1RDF::Trine::Store::HexaUssteorreC(o3n)tributed Perl DocuRmDeFn:t:aTtriionne::Store::Hexastore(3)
2
3
4

NAME

6       RDF::Trine::Store::Hexastore - RDF store implemented with the hexastore
7       index
8

VERSION

10       This document describes RDF::Trine::Store::Hexastore version 1.019
11

SYNOPSIS

13        use RDF::Trine::Store::Hexastore;
14

DESCRIPTION

16       RDF::Trine::Store::Hexastore provides an in-memory triple-store based
17       on six-way indexing as popularized by Hexastore.
18

METHODS

20       Beyond the methods documented below, this class inherits methods from
21       the RDF::Trine::Store class.
22
23       "new ()"
24           Returns a new storage object.
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 "Hexastore" for this backend.
31
32           This module also supports initializing the store from a file or
33           URL, in which case, a "sources" key may be used. This holds an
34           arrayref of hashrefs.  To load a file, you may give the file name
35           with a "file" key in the hashref, and to load a URL, use "url". See
36           example below. Furthermore, the following keys may be used:
37
38           "syntax"
39               The syntax of the parsed file or URL.
40
41           "base_uri"
42               The base URI to be used for a parsed file.
43
44           The following example initializes a Hexastore store based on a
45           local file and a remote URL:
46
47             my $store = RDF::Trine::Store->new_with_config( {
48                 storetype => 'Hexastore',
49                 sources => [
50                     {
51                         file => 'test-23.ttl',
52                         syntax => 'turtle',
53                     },
54                     {
55                         url => 'http://www.kjetil.kjernsmo.net/foaf',
56                         syntax => 'rdfxml',
57                     }
58             ]});
59
60       "store ( $filename )"
61           Write the triples data to a file specified by $filename.  This data
62           may be read back in with the "load" method.
63
64       "load ( $filename )"
65           Returns a new Hexastore object with triples data from the specified
66           file.
67
68       "temporary_store"
69           Returns a temporary (empty) triple store.
70
71       "get_statements ($subject, $predicate, $object [, $context] )"
72           Returns a stream object of all statements matching the specified
73           subject, predicate and objects. Any of the arguments may be undef
74           to match any value.
75
76       "get_pattern ( $bgp [, $context] )"
77           Returns a stream object of all bindings matching the specified
78           graph pattern.
79
80       "supports ( [ $feature ] )"
81           If $feature is specified, returns true if the feature is supported
82           by the store, false otherwise. If $feature is not specified,
83           returns a list of supported features.
84
85       "get_contexts"
86       "add_statement ( $statement [, $context] )"
87           Adds the specified $statement to the underlying model.
88
89       "remove_statement ( $statement [, $context])"
90           Removes the specified $statement from the underlying model.
91
92       "remove_statements ( $subject, $predicate, $object [, $context])"
93           Removes the specified $statement from the underlying model.
94
95       "etag"
96           Returns an Etag suitable for use in an HTTP Header.
97
98       "nuke"
99           Permanently removes all the data in the store.
100
101       "count_statements ($subject, $predicate, $object)"
102           Returns a count of all the statements matching the specified
103           subject, predicate and objects. Any of the arguments may be undef
104           to match any value.
105

BUGS

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

AUTHOR

111       Gregory Todd Williams  "<gwilliams@cpan.org>"
112
114       Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
115       software; you can redistribute it and/or modify it under the same terms
116       as Perl itself.
117
118
119
120perl v5.34.0                      2021-07-22   RDF::Trine::Store::Hexastore(3)
Impressum