PATHS: Are they restricted to within a given named graph?

I have been playing with the PATHS query in a database where all triples are in named graphs. It looks like all path steps returned are always within a given named graph. Should that be the case? Is it because I am having to start every query with "PATHS FROM ..." in order to match on any endpoints?

How does your query look like? For example, this should return paths which cross named graph boundaries:

paths from <tag:stardog:api:context:all> start ?s = :A end ?t = :B via :p

try with

@prefix : <test:> .

:g1 {
  :A :p :C .
  :C :p :B .
  :D :p :B .

:g2 {
  :A :p :D .


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.