--- language: - en task_categories: - text-retrieval size_categories: - 10K **Coref note:** `documents_coref` reuses the **same char offsets** as `documents` > (i.e. the plain-text coordinate space) so that the single `queries` config drives > overlap-based gold matching for *both* configs. The `chunk` text differs (antecedents > inlined), so `chunk_end_char - chunk_start_char` need not equal `len(chunk)` in the > coref config — the offsets act as stable passage locators, not coref-text lengths. ### `queries` | field | type | notes | | --- | --- | --- | | `original_query` / `query` | string | query text | | `answer` | list[string] | gold passage text(s) | | `score` | list[int64] | relevance per gold fragment (from DAPR qrels) | | `source_url` | list[string] | document id per gold fragment | | `frag_start_char` / `frag_end_char` | list[int64] | char span of each gold passage | | `n_gold` | int64 | number of gold fragments | ## Gold matching A chunk is **gold** for a query if it shares `source_url` with a gold fragment and its `[chunk_start_char, chunk_end_char)` overlaps that fragment's `[frag_start_char, frag_end_char)`. Because each chunk is a whole passage and each gold fragment is a whole passage, every gold fragment maps to **exactly one** chunk (verified: 1,165 / 1,165 gold fragments recover as exactly one chunk in both `documents` and `documents_coref`). ## Provenance Built from `UKPLab/dapr` configs `ConditionalQA-corpus`, `ConditionalQA-corpus_coref`, `ConditionalQA-queries` (test), and `ConditionalQA-qrels` (test). Documents are reconstructed by concatenating passages in `paragraph_no` order (joined with `\n`) to assign char offsets; gold fragment spans are the char spans of the gold passages referenced by the qrels. ## Citation ```bibtex @article{wang2023dapr, title = "DAPR: A Benchmark on Document-Aware Passage Retrieval", author = "Kexin Wang and Nils Reimers and Iryna Gurevych", journal= "arXiv preprint arXiv:2305.13915", year = "2023", url = "https://arxiv.org/abs/2305.13915" } ```