On 16/12/2020 16:23, Laura Morales wrote:
> I'm able to configure Fuseki for fulltext search with Lucene, but I
don't see any other type of indexes in the documentation. If there is a
property that is (ab)used to link multiple datatypes, say for example
It's indexed - see the database directory. Lots of files. In fact, it is
"totally indexed" and no actual table.
On 16/12/2020 16:34, Laura Morales wrote:
Andy can confirm, but AFAIK everything is indexed in Jena.
And a number is stored as such .
Yes.
Sorry how does/can it index this?
:alice :age 21; :age "twenty-one" .
By converting everything to strings?
TDB specific answer:
:alice :age "21"^^xsd:integer .
:alice :age "twenty-one"^^xsd:string .
Each URI, bNode literal (= RDF Term) is converted to a NodeId - a 64 bit
number.
3 NodeIds is a triple and each stored in separate b+trees in the order
SPO, POS, OSP.
There is a table NodeId <-> RDF Term
TDB1 : RDF terms in Turtle syntax
TDB2 : RDF terms in binary
Also: NodeId for integer 21 is not stored but encoded into the NodeId
(theer are a few bits for "its an integer", and some other datatypes)
Memory:
It stores pointers in 3 hashmaps indexing small chunks of triples that
are scanned.
Andy