reteplayground
Select

Confounders (a common cause of two factors)

ConfounderEffect AEffect B
AgingAtherosclerosisHighCholesterol
AgingAtherosclerosisHypertension
AgingHighCholesterolHypertension
AirPollutionAtherosclerosisInflammation
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 38 rows · 5.5 ms · no server, no download — the query runs in your browser.

The query

PREFIX ex: <http://ex/> SELECT ?confounder ?effectA ?effectB WHERE { ?confounder ex:causes ?effectA . ?confounder ex:causes ?effectB . FILTER(STR(?effectA) < STR(?effectB)) } ORDER BY ?confounder

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