Raphtory + Google BigQuery

Graph intelligence on Google Cloud data.

Query BigQuery tables, run graph analytics, and export results back to BigQuery for visualization - all within your Python environment.

Setup

Install the BigQuery client and Raphtory:

Example: Customer Segmentation

1. Query BigQuery

Fetch interaction data directly from your BigQuery dataset.

2. Build Temporal Graph

Ingest the results into Raphtory to build the customer network.

3. Run Community Detection

Use the Louvain algorithm to find groups of highly connected users.

4. Export to BigQuery

Write the community labels back to a BigQuery table for reporting.

Use Cases

  • Customer Network Segmentation: Group users based on interaction frequency and connectivity.
  • Supply Chain Risk: Identify critical nodes in supply chain data stored in BQ.
  • Social Graph Analytics: Track the spread of influence or content across user networks.