Samyama Graph
    All knowledge graphsMarketing

    Marketing Attribution

    “Which run produced this number, and from what data?”

    Every measurement a brand takes about its own media, from every method, held as claims with the run, the data and the lineage behind each one.

    Nodes
    20.1K
    Edges
    78.8K
    Node labels
    15
    Relationship types
    16

    Data sources

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

    Schema

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

    Node labels

    • Method
    • Run
    • Claim
    • Dataset
    • Source
    • Channel
    • Product
    • Segment
    • Period
    • PLLine
    • Spend
    • Decision
    • GeoTest
    • Study
    • PlanningCycle

    Relationship types

    • DERIVED_FROM
    • EXECUTED_AS
    • PRODUCED
    • CONSUMED
    • EXTRACTED_FROM
    • ABOUT
    • FOR
    • SUPERSEDES
    • BOOKED_FROM
    • CITED
    • ON
    • EXECUTED_TEST
    • COMMISSIONED
    • DUE_FOR
    • IN_CYCLE
    • FOR_CYCLE

    Example queries

    This query is 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
    // Two independent methods, one channel, one quarter - sized, not averaged.
    // Every filter lands BEFORE the two claims are paired, and the period is
    // pinned on both sides.
    MATCH (a:Claim)-[:ABOUT]->(ch:Channel)
    WHERE ch.name = "Paid Social" AND a.granularity = "channel"
    AND a.metric = "contribution"
    WITH a, ch
    MATCH (a)-[:FOR]->(p:Period) WHERE p.id = "2026-Q1"
    WITH a, ch, p
    MATCH (ma:Method)-[:EXECUTED_AS]->(:Run)-[:PRODUCED]->(a) WHERE ma.kind = "mmm"
    WITH a, ch, p, ma
    MATCH (b:Claim)-[:ABOUT]->(ch)
    WHERE b.granularity = "channel" AND b.metric = "contribution"
    WITH a, ch, p, ma, b
    MATCH (b)-[:FOR]->(pb:Period) WHERE pb.id = "2026-Q1"
    WITH a, p, ma, b
    MATCH (mb:Method)-[:EXECUTED_AS]->(:Run)-[:PRODUCED]->(b) WHERE mb.kind = "geo"
    RETURN p.id, ma.kind, a.value, mb.kind, b.value,
    abs(a.value - b.value) AS gap,
    round(100.0 * abs(a.value - b.value) / a.value) AS gap_pct

    Try it

    The repository carries the loaders that build this graph from its sources. 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