reteplayground
Path

How obesity leads to diabetes (mediators)

SELECT ?from ?to WHERE {
  ?from ex:causes ?to .
  ex:Obesity ex:causes* ?from .
  ?to ex:causes* ex:Diabetes
}
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 4 nodes, 5 edges · 1.9 ms · no server, no download — the query runs in your browser.

The query

PREFIX ex: <http://ex/> SELECT ?from ?to WHERE { ?from ex:causes ?to . ex:Obesity ex:causes* ?from . ?to ex:causes* ex:Diabetes }

rete playground · documentation · github.com/caviri/rete