bigquery-graph

Define and query property graphs in BigQuery using GQL and GRAPH_EXPAND.

2|1|Updated May 25, 2026
One-click install
npx skills add https://github.com/interflownex/All-in-One --skill bigquery-graph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bigquery-graph
Source: https://github.com/interflownex/All-in-One/tree/main/.github/skills/bigquery-graph
Command: npx skills add https://github.com/interflownex/All-in-One --skill bigquery-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of querying property graphs and semantic graphs in BigQuery, ensuring developers follow strict GQL standards and performance best practices to avoid common query errors and performance bottlenecks.

Core Features & Use Cases

  • GQL Query Generation: Provides standardized guidelines for writing BigQuery GoogleSQL GQL, preventing the use of unsupported languages like Cypher.
  • Schema Optimization: Offers expert advice on scoping properties, defining PK/FK constraints, and using safe aliases to ensure efficient graph execution.
  • Semantic Modeling: Guides the creation of semantic layers using measures and metadata options to ensure accurate business reporting.

Quick Start

Use the bigquery-graph skill to generate a GQL query that matches a specific node pattern and returns the result as a JSON object.

Frequently Asked Questions about bigquery-graph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write property graph queries in BigQuery using GQL?

To write property graph queries in BigQuery using GQL, you must use GoogleSQL standards and avoid unsupported languages like Cypher. This involves defining node and edge patterns to traverse graph structures and return results as JSON objects.

What is the best way to define a property graph schema in BigQuery?

The best way to define a property graph schema in BigQuery is to scope properties carefully, define primary and foreign key constraints, and use safe aliases. This ensures efficient graph execution and prevents common structural pitfalls in flattened graph views.

Can I use Cypher to query property graphs in BigQuery?

No, BigQuery does not support Cypher for property graph queries. You must use the standardized BigQuery GoogleSQL GQL syntax to ensure strict adherence to platform standards and avoid query execution errors.

How does semantic graph modeling work for business intelligence in BigQuery?

Semantic graph modeling in BigQuery works by creating semantic layers using measures and metadata options. This approach guides accurate business reporting by implementing semantic measures directly within your graph schema structure.

Why does my BigQuery GQL traversal have performance bottlenecks?

BigQuery GQL traversal performance bottlenecks often occur due to improperly scoped properties and missing PK/FK constraints. Optimizing your graph schema and using safe aliases ensures efficient graph execution and prevents these issues.