|Did you know ...||Search Documentation:|
library(semweb/rdf_db). It provides storage and indexed querying of RDF triples. RDF data is stored as quintuples. The first three elements denote the RDF triple. The extra Graph and Line elements provide information about the origin of the triple.
The actual storage is provided by the foreign language (C)
module. Using a dedicated C-based implementation we can reduce memory
usage and improve indexing capabilities, for example by providing a
dedicated index to support entailment over
Currently the following indexes are provided (S=subject, P=predicate,
rdfs:subPropertyOfrelations. This index supports rdf_has/3 to query a property and all its children efficiently.
(rdf(R,_,_);rdf(_,_,R))normally produces many duplicate answers.
library(semweb/litindex)provides indexed search on tokens inside literals.