Samyama Graph
    All knowledge graphsLife sciences

    Clinical Trials

    “Which trials are recruiting for this condition, and what do they use as comparators?”

    575K+ studies from ClinicalTrials.gov, enriched with the MeSH disease hierarchy, RxNorm drug normalisation, ATC classification and OpenFDA adverse events.

    Nodes
    7.63M
    Edges
    15.53M
    Node labels
    15
    Relationship types
    24
    Snapshot
    711 MB

    Data sources

    Built from AACT, MeSH, RxNorm. The repository carries the loaders, the licence notes for each source, and what is generated rather than collected.

    Schema

    15 node labels and 24 relationship types, read from the schema file the loader applies — so every name here exists in the graph.

    Node labels

    • ClinicalTrial
    • Condition
    • Intervention
    • ArmGroup
    • Outcome
    • Sponsor
    • Site
    • AdverseEvent
    • MeSHDescriptor
    • Drug
    • DrugClass
    • Publication
    • Gene
    • Protein
    • LabTest

    Relationship types

    • STUDIES
    • TESTS
    • HAS_ARM
    • USES
    • MEASURES
    • SPONSORED_BY
    • CONDUCTED_AT
    • REPORTED
    • PUBLISHED_IN
    • CODED_AS_MESH
    • CODED_AS_DRUG
    • BROADER_THAN
    • CLASSIFIED_AS
    • PARENT_CLASS
    • TARGETS
    • TREATS
    • INTERACTS_WITH
    • HAS_ADVERSE_EFFECT
    • ENCODES
    • ASSOCIATED_WITH
    • MEASURED_BY
    • DESCRIBES
    • TAGGED_WITH
    • LOCATED_IN

    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 (t:ClinicalTrial)-[:REPORTED]->(ae:AdverseEvent)
    RETURN ae.term, count(DISTINCT t) AS trials
    ORDER BY trials DESC LIMIT 5
    Query 2
    -- Drug repurposing: diabetes drugs in Alzheimer trials
    MATCH (d:Drug)<-[:CODED_AS_DRUG]-(i1:Intervention)<-[:TESTS]-(t1:ClinicalTrial)-[:STUDIES]->(c1:Condition)
    WHERE c1.name CONTAINS 'Diabetes'
    WITH d
    MATCH (d)<-[:CODED_AS_DRUG]-(i2:Intervention)<-[:TESTS]-(t2:ClinicalTrial)-[:STUDIES]->(c2:Condition)
    WHERE c2.name CONTAINS 'Alzheimer'
    RETURN d.name, count(t2) AS alzheimer_trials ORDER BY alzheimer_trials DESC
    -- Trial sites by country for breast cancer
    MATCH (t:ClinicalTrial)-[:STUDIES]->(c:Condition), (t)-[:CONDUCTED_AT]->(site:Site)
    WHERE c.name CONTAINS 'Breast Cancer'
    RETURN site.country, count(DISTINCT t) AS trials ORDER BY trials DESC

    Try it

    A packaged snapshot (711 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