next up previous contents
Next: Non oriented Path Up: Body Previous: Variable for property   Contents

Oriented Path

A query with an oriented path of given maximum length between two resources :

?x  kmp:Property[2]  ?y

Generates two queries and stops with the first query that succeeds :

?x  kmp:Property  ?y

and

?x  kmp:Property  ?z
?z  kmp:Property  ?y

It is possible to test all paths :

?x  all::kmp:Property[2]  ?y

If there are two paths and one all, the all applies to all paths (the all is global to the query).



Olivier Corby 2005-07-01