| RDF::Trine::Store::Hexastore(3pm) | User Contributed Perl Documentation | RDF::Trine::Store::Hexastore(3pm) |
RDF::Trine::Store::Hexastore - RDF store implemented with the hexastore index
This document describes RDF::Trine::Store::Hexastore version 1.019
use RDF::Trine::Store::Hexastore;
RDF::Trine::Store::Hexastore provides an in-memory triple-store based on six-way indexing as popularized by Hexastore.
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Store class.
The "storetype" key must be "Hexastore" for this backend.
This module also supports initializing the store from a file or URL, in which case, a "sources" key may be used. This holds an arrayref of hashrefs. To load a file, you may give the file name with a "file" key in the hashref, and to load a URL, use "url". See example below. Furthermore, the following keys may be used:
The following example initializes a Hexastore store based on a local file and a remote URL:
my $store = RDF::Trine::Store->new_with_config( {
storetype => 'Hexastore',
sources => [
{
file => 'test-23.ttl',
syntax => 'turtle',
},
{
url => 'http://www.kjetil.kjernsmo.net/foaf',
syntax => 'rdfxml',
}
]});
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.
Gregory Todd Williams "<gwilliams@cpan.org>"
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| 2022-12-12 | perl v5.36.0 |