Skip to content

get_graph_schema

Get the Neo4j graph database schema.

Parameters

Parameter Type Required Description
database string Yes Database version

Returns

Complete database structure including: - Node labels and counts - Relationship types - Properties per node type - Constraints and indexes - Statistics

Node Types

  • Activity: Production processes (19,534 nodes)
  • BiosphereFlow: Environmental flows (11,645 nodes)
  • Method: Impact methods (284 nodes)
  • Location: Geographic regions
  • Unit: Measurement units

Relationship Types

  • HAS_EXCHANGE, HAS_CF, LOCATED_IN, HAS_UNIT

Example

Prompt: Show the database schema for ecoinvent-3.11-cutoff

Use Cases

  • Query development
  • Data exploration
  • Understanding relationships