SELECT ?from ?to WHERE { ?from ex:causes ?to . ?to ex:causes* ex:MyocardialInfarction }
rete playground · documentation · github.com/caviri/rete