Open lecoqlibre opened 2 months ago
Quick question, why not annotate indices directly?
<> a ex:StartsWithMetaIndex;
ex:forProperty ex:firstName.
<path/to/first-letter-index.ttl> a ex:StartsWithIndex;
ex:forProperty ex:firstName;
ex:forValue "a".
And we could also use SHACL:
<path/to/first-letter-index.ttl> a ex:StartsWithIndex;
ex:hasShape [
sh:path ex:firstName;
sh:pattern "a.*" .
] .
The meta index says where to find indexes for a property starting with some letters:
Here is an example of an instance index (
first-letter-index
):I tried over our test file of 5 000 users. With a depth of 10 letters, here is an
ls
command that shows size of the index files: