NAME

RDFStore::FindIndex - implementation of the FindIndex RDF API

SYNOPSIS

use RDFStore::FindIndex;
my $myindex = new RDFStore::FindIndex({});

use Data::MagicTie;
tie %index,"Data::MagicTie",'index';
my $mypresistentindex = new RDFStore::FindIndex(\%index);

DESCRIPTION

This modules implement a very simple and dirty indexing for RDFStore::Stanford::Statement(s) using three hashes one indexing by subject, one by predicate one by object. Each hash contain a copy of the statement actually containing such a subject, predicate or object. It is not really efficient due the fact that it requires to keep as value in hashes a copy of the BLOBed statement - see Data::MagicTie(3)

An instance of RDFStore::FindIndex can be passed to RDFStore::Model to help it searching the RDF triplets store.

SEE ALSO

Data::MagicTie(3) RDFStore::Model(3)

AUTHOR

Alberto Reggiori <alberto.reggiori@jrc.it>