SELECT DISTINCT ?treatment ?target WHERE { ?target ex:causes+ ex:MyocardialInfarction . ?treatment ex:reduces ?target } ORDER BY ?treatment
rete playground · documentation · github.com/caviri/rete