Samyama Graph
    All knowledge graphsLife sciences

    Drug Interactions

    “What interacts with this drug, through which gene, and what was reported?”

    Drug-gene interactions, side effects, indications and adverse events from five open pharmacology databases. Bridges to the Pathways and Clinical Trials graphs.

    Nodes
    244.8K
    Edges
    387.6K
    Snapshot
    8.1 MB

    Data sources

    Built from DrugBank, SIDER, ChEMBL, DGIdb, OpenFDA. The repository carries the loaders, the licence notes for each source, and what is generated rather than collected.

    Schema

    This repository does not publish a schema file yet. The catalogue records 244,783 nodes and 387,577 edges; the labels and relationship types are described in the repository's own README rather than reproduced here, so this page cannot drift from it.

    Example queries

    These 2 queries are published by the repository, copied here unchanged. Load the graph and run them to see results — the numbers depend on the snapshot you load.

    Query 1
    MATCH (d:Drug)-[:HAS_SIDE_EFFECT]->(se:SideEffect)
    RETURN d.name, count(se) AS side_effects
    ORDER BY side_effects DESC LIMIT 5
    Query 2
    -- Polypharmacy: shared gene targets between two drugs
    MATCH (d1:Drug {name: 'Warfarin'})-[:INTERACTS_WITH_GENE]->(g:Gene)
    <-[:INTERACTS_WITH_GENE]-(d2:Drug {name: 'Aspirin'})
    RETURN g.gene_name AS shared_target
    -- Side effects of drugs in Phase 3 clinical trials (cross-KG)
    MATCH (d:Drug)-[:HAS_SIDE_EFFECT]->(se:SideEffect)
    MATCH (i:Intervention {name: d.name})<-[:TESTS]-(ct:ClinicalTrial)
    WHERE ct.phase CONTAINS '3'
    RETURN d.name, se.name, ct.nct_id

    Try it

    A packaged snapshot (8.1 MB) loads in one command, and the repository shows how. Once it is loaded, an AI agent can query it over MCP without anyone writing tools.

    Counts and sources come from the team's published catalogue; the schema and queries come from the repository.

    Partners

    AWS Partner Network
    MATH - Driving AI Evolution
    Persistent
    USM