Skip to content
mentoor

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

See where you stand

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?

Choose one answer

Check yourself · 2 of 5

Which question is GraphRAG built to handle better than plain chunk retrieval?

Choose one answer

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?

Choose one answer

Check yourself · 4 of 5

What is the main problem with splitting a 5,000-row CSV into fixed-size text chunks?

Choose one answer

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?

Choose one answer

Topics

  1. 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
  2. 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
  3. 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
  4. 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

110 questions · last verified 2026-12