Retrieval over structured data and graphs
For engineers
Answering questions from databases, spreadsheets and knowledge graphs with text-to-SQL, entity lookups and GraphRAG instead of plain text chunks
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A text-to-SQL tool must never change data. Where should that rule be enforced?
Check yourself · 2 of 5
Which question is GraphRAG built to handle better than plain chunk retrieval?
Check yourself · 3 of 5
A user asks, "How many support tickets were open last Friday, and what is our response-time target?" How should it be retrieved?
Check yourself · 4 of 5
What is the main problem with splitting a 5,000-row CSV into fixed-size text chunks?
Check yourself · 5 of 5
A model writes a valid query that sums orders.total_cents after joining order_items, and revenue looks three times too high. What is the likely cause?
Topics
- Text-to-SQL for questions over tables4 min read · Letting a model write read-only SQL against a described schema, with guardrails, row limits and checks on the result
- GraphRAG and knowledge-graph retrieval4 min read · Extracting entities and relations into a graph, community summaries for global questions, and the build cost compared with plain RAG
- Mixing table lookups with document search4 min read · Questions that need a number from a database and an explanation from a policy document, combined in one grounded answer
- Retrieving from spreadsheets and JSON records4 min read · Why chunking a CSV breaks rows from headers, and loading tables, product catalogues and JSON into queryable form instead
Start here
- From Local to Global: A Graph RAG Approach to Query-Focused Summarization (opens in a new tab)PaperFree
The paper behind GraphRAG: entity graphs, community summaries and why plain RAG fails on whole-corpus questions.
- GraphRAG documentation (Microsoft) (opens in a new tab)DocsFree
The indexing pipeline, query modes (local, global) and configuration of an open-source GraphRAG system.
- BIRD text-to-SQL benchmark (opens in a new tab)PaperFree
A text-to-SQL benchmark on large, messy databases, with a leaderboard showing how far models still are from reliable.
Helps to know first
110 questions · last verified 2026-12