The short answer. Attach the cited value to an immutable document revision, physical PDF page, table ID, row key, full column-header path, and unit. Preserve the locations of the cell and its supporting labels, including any footnote that supplies its unit. The answer can then open the exact evidence used to validate the claim.
A table excerpt can contain two plausible numbers. If both live on the same page, a page-level link passes a navigation check even when the answer grabbed the value from the neighboring column.
Preserve what gives the number meaning
Extract each cell with its raw text, table coordinates, bounding region and row and column spans. Keep document identity, the extraction version, a page convention, and a stable row key. Store the printed page label separately from the physical PDF page number. Duplicate row labels may require a section plus row key or a physical row location.
A multi-level header gives a value several labels, such as a reporting period and a scenario. W3C's HTML table guidance associates data cells with explicit header identifiers. Use the same relationship in a PDF-derived record, with locators that point to the actual header regions on the pinned source. This is a design adaptation of the HTML approach. The PDF extraction record must establish the relationships it claims. W3C guidance on multi-level table headers
Follow a value through a merged header
Consider this illustrative fixture from a dispatch capacity report. The physical PDF page is 8, the printed label is 6, and the heading “Q2” spans two columns. Footnote 1 on that page says the values represent thousands of units.
| Site row | Q2 › Actual | Q2 › Plan |
|---|---|---|
| North depot | 42 | 47 |
| South depot | 40 | 44 |
For “How many units did North depot actually dispatch in Q2?” the answer is 42,000 units. A reader-facing citation could be “Dispatch Capacity Report, rev. 3, PDF page 8 (printed page 6), Table 4, North depot, Q2 › Actual, footnote 1.” The linked evidence should open revision 3 with the value and supporting regions visible. The nearby number 47 yields a plausible figure from the same page. Its locator binds it to Q2 › Plan, so it fails the claim check for an actual.
Define physical PDF page numbers as one-based in the resolver in this example. If you store bounding boxes, declare origin, units, and rotation explicitly. One workable convention uses normalized coordinates from the displayed page's top left after rotation. Keep coordinates and header references associated with the same document revision so a later pagination change cannot shift the highlight unnoticed.
For the North depot value, store independent regions for the cell, the row label, the merged Q2 parent, the Actual child header, and footnote 1. The child identifies the measure within its parent's scope. Read the text and marker for the unit footnote and verify that the note applies to this cell. If the child header and a footnote give conflicting units with no source-backed way to resolve them, flag the conflict before applying any scale factor.
Validate the claim at the point of answer
Retrieve the eligible table cell and its row, header, and unit evidence as one logical bundle. Compare the claim's scope and amount with that bundle before returning it. Apply any declared conversion to the raw text and retain both the raw and reported values. If a source conflict or ambiguous span makes the header or unit uncertain, withhold the numeric claim or ask for clarification. Authorize the viewer when the citation is opened. sinc-LLM claim-to-evidence guide
Try the fixture against a single known table before approving numeric answers. Ask for the actual and the plan separately, then repeat with the unit footnote unavailable. If both questions point to the same cell, or the output supplies a scaled number without its unit evidence, keep numeric answers for that table disabled.
sinc-LLM