Does RDFLib has a way to representing a specific path over several triplets in a closed world assumption?
Say I have
(s1, p1, o1)
(o1, p2, o2)
(o1, p3, o2)
I would like to say (s1 p1 / o1 / p3 / o2) meaning that the specific path by which I want to reach from s1 to o2 is via "p1, o1, p3" even when more paths exits.
If this is not supported by RDFLib, what would be a good way to represent that so that in the future I could compose a SPARQL query starting from the "path" (s1 p1 / o1 / p3 / o2) adding ?p4 ?o3.
Thank you,
Maxim.