Indexing Strategies for RDF edges/predicates on Janusgraph
Matthew Nguyen <nguyenm9@...>
Hi, I am trying to build a triplestore ontop of JG. The general model is:
Vertex (subject or object) Properties:
Edge (predicate) Properties:
So effectively we can have Vertex(subject) -> Edge (predicate) -> Vertex(object)
<matt> <employedBy> <some_company>
I'm aware of the vertex-centric indexes on edges but it appears I would need to build an index for each of the possible edge labels of <some_company> if I understand the docs correctly (https://docs.janusgraph.org/schema/index-management/index-performance/#edge-indexes). Please correct me if I'm wrong. If not, is there another strategy I can use?