6 lines
229 B
Plaintext
6 lines
229 B
Plaintext
// Drugs treating diseases that present specific symptoms
|
|
MATCH (s:Symptom)<-[:PRESENTS]-(d:Disease)<-[:TREATS]-(c:Compound)
|
|
RETURN s.name AS Symptom, c.name AS Drug, count(d) AS DiseaseCount
|
|
ORDER BY DiseaseCount DESC
|
|
LIMIT 20;
|