Skip to content
All solutions

Fraud investigation · SQL + graph

Follow the records.
Investigate the connection.

Query transactions and trace related accounts, devices and beneficiaries in the same database.

A connection is a starting point.

A shared device or beneficiary adds context to an account. Inspect the underlying records and their timing before deciding what the connection means.

Account relationships and supporting evidenceInteractive illustration
Follow a connection
device-31Device reference
payee-08Beneficiary
Inspect the link
Evidence · device reference

Two accounts.
One recorded device.

Both account records reference device-31. That connection is a reason to investigate, not a finding of fraud.

Starting point
account-A
Related record
account-B
Next question
Was this a shared household device?

Highlighted lines show the selected relationship. All records are illustrative.

From signal to case

Let the query explain
why you looked.

OriginChainDB retrieves records and relationships. Your application defines the review criteria, assembles the case and routes it to an analyst.

  1. 01

    Select a candidate

    Use SQL to group transfers by account and examine counts or amounts. Your application chooses thresholds and the time window.

  2. 02

    Expand the context

    Follow declared relations from the candidate. Bound the number of hops and retain the identifiers behind each connection.

  3. 03

    Make a reviewable decision

    Attach source records, query parameters and timestamps to the case. Approval, escalation and account restrictions remain application decisions.

Ask a specific question.

Choose the query for the evidence you need. A graph pattern describes a relationship; it does not establish intent.

Transaction activity

Which accounts need a closer look?

Group transfers with SQL. Compare counts and totals using your application's review rules.

SQL aggregates
Shared connections

Who else references this device?

Inspect neighboring records and reverse relations to trace a shared identifier.

Neighbors and relations
Reachability

How are these accounts connected?

Use bounded traversal or path queries, with explicit depth and result limits.

Bounded traversal

Keep the evidence traceable

Model facts.
Preserve their source.

Give accounts, devices and transfers stable IDs. Declare relations on columns holding the target record's key.

Define a graph relation
Accounts
Account ID and device reference
Transfers
Transfer ID, source, beneficiary, amount and timestamp
Case evidence
Application-owned query context and review outcome

Bound the search. Keep the judgment.

Graph capability must be enabled for the selected instance. Start with a narrow frontier; broad paths can exceed query budgets. Review the documented limits before expanding a case.

Shared identifiers can have ordinary explanations. Verify identity, timing and source quality, and let your application or analyst decide whether to act.

Review graph limits

Build an investigation
you can explain.