Get example queries
get-example-queriesGet example Cypher queries for this graph database.
WHEN TO USE:
When starting to explore a new graph
When you need query patterns for specific node types
When learning the relationship structure
After getting errors to see correct syntax
RETURNS: List of example queries with explanations, tailored to the actual schema present in this graph.
NOTES:
The examples are real working queries for this specific graph, so they carry its actual property names and relationships
Copy and modify them rather than writing a traversal from scratch
⚠️ QUERY PATTERN NOTE: When joining multiple relationships from the same node, use comma-separated patterns in a SINGLE MATCH clause (not multiple MATCH clauses):
✅ GOOD:
MATCH (f:Fact)-[:R1]->(a), (f)-[:R2]->(b)❌ BAD:
MATCH (f:Fact)-[:R1]->(a) MATCH (f)-[:R2]->(b)(may timeout)
📅 PERIOD.period_type VALUES: Period nodes classify time context into three types:
instant- Point-in-time (balance sheet dates)duration- A date range (income statement periods) — useduration_typefor subtypeforever- Unbounded period (rare)
📅 PERIOD.duration_type VALUES (only when period_type = 'duration'):
quarterly- ~3 months durationsemi_annual- ~6 months durationnine_months- ~9 months durationannual- ~12 months durationother- Non-standard durations Note: Element.period_type indicates the expected period type for that metric - different from Period.period_type!
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-example-queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Optional category filter (e.g., 'entity', 'financial', 'relationships', 'aggregations') |