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