SQL, graphs and passages 00:00:01 How many orders, and why did they fail? On the incident desk are two requests: count every eligible order, and explain what those orders had in common. Ben can fetch the three most similar reports in milliseconds. He still has no defensible total. The representation determines which questions an answer can support. A passage retriever selects a bounded sample of relevant text. A structured query can aggregate every eligible row under specified joins and filters. A graph organizes entities and relationships so a query can follow links or summarize groups. Each design needs a distinct ground truth and a record of which data and permissions were used. For the count, query the complete authorized record set with a defined time range and distinct order identity. For the cause, trace links into relevant incident descriptions and verify that they refer to that same population. 00:01:00 Use an aggregate and a linked report The question asks for a complete order count and the shared cause described by engineers. Validate date, status and grain against a fixture containing repeated line items. Retrieve connected reports and confirm source passages for each claimed relationship. Cite the query snapshot for the count and the original reports for the explanation. 00:01:23 Match each question to its source Resolve business terms into measures, units and time windows before creating a query. Validate the tables, filters and joins, then check the result with known fixtures. A query that executes successfully can still double-count orders after joining line items. One order has three items. Counting joined rows returns three. Verify the expected order-level grain before publishing the count. Extract entities and relationships with provenance, resolve aliases, and retain uncertainty. Local graph queries answer neighborhood questions. corpus-level summaries can aggregate evidence across clusters. Measure extraction and synthesis errors independently. Two reports name “Mercury.” One refers to a payment service and one to a project. Merging them creates a false dependency. Use passage retrieval for a quoted exception, S Q L for a complete governed aggregate, and graph exploration for relationships across reports. Explain the coverage and freshness of the selected source to the reader. Ten retrieved incident reports can illustrate a recurring fault but cannot establish that exactly ten orders were affected. Ask whether the user wants a total, an explanation or a relationship. Define metrics and join keys in a governed semantic layer. Constrain analytical execution to authorized read-only data and bound its cost. For graph retrieval, keep links back to evidence: entity resolution can merge unrelated records, and community summaries can omit exceptions. The answer may combine a verified numeric result with separately sourced narrative. 00:03:11 Can a ranked sample prove a total? Which evidence can settle the exact number of eligible orders? Top K retrieval ranks a sample. It does not enumerate every record satisfying a predicate. Ben returns the number and the explanation with separate evidence. A correct aggregate cannot invent a cause, and a convincing incident story cannot establish how many rows satisfied the rule.