Representing a path for further querying

21 views
Skip to first unread message

ma...@vekslers.org

unread,
Dec 27, 2018, 3:21:42 AM12/27/18
to rdflib-dev
Hi,

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.

Richard Dijkstra

unread,
Mar 10, 2019, 10:41:34 AM3/10/19
to rdflib-dev
Dear Maxim,

Is this question still open? If not, I'd like to know your solution.

Kind regards,
Richard
Reply all
Reply to author
Forward
0 new messages