Skip to content

Query Examples

Welcome to the gsql2rsql query examples gallery!

This section demonstrates the transpiler's capabilities across different domains. Each example shows the original OpenCypher query alongside the generated Databricks SQL.

Available Categories

Credit

  • Total Queries: 14
  • Successful: 14
  • Failed: 0

Features

  • Total Queries: 54
  • Successful: 54
  • Failed: 0

Fraud

  • Total Queries: 17
  • Successful: 17
  • Failed: 0

About These Examples

All queries are sourced from real-world use cases in:

  • Fraud Detection: Graph-based fraud ring detection, anomaly identification
  • Credit Analysis: Relationship-based credit risk assessment
  • Simple examples: Simple examples

Try These Yourself

You can run any of these queries through the transpiler using:

Bash
gsql2rsql translate --schema examples/fraud_queries.yaml "<your-query>"