Datasets:
dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
- multilingual
|
| 6 |
+
pretty_name: ParlIR
|
| 7 |
+
task_categories:
|
| 8 |
+
- text-retrieval
|
| 9 |
+
task_ids:
|
| 10 |
+
- document-retrieval
|
| 11 |
+
tags:
|
| 12 |
+
- european-parliament
|
| 13 |
+
- parliamentary-questions
|
| 14 |
+
- test-collection
|
| 15 |
+
configs:
|
| 16 |
+
- config_name: corpus
|
| 17 |
+
data_files:
|
| 18 |
+
- split: corpus
|
| 19 |
+
path: v1.0/corpus.jsonl
|
| 20 |
+
- config_name: queries
|
| 21 |
+
data_files:
|
| 22 |
+
- split: queries
|
| 23 |
+
path: v1.0/queries.jsonl
|
| 24 |
+
- config_name: queries-xling
|
| 25 |
+
data_files:
|
| 26 |
+
- split: queries
|
| 27 |
+
path: v1.0/queries_xling.jsonl
|
| 28 |
+
- config_name: qrels-answer
|
| 29 |
+
data_files:
|
| 30 |
+
- split: train
|
| 31 |
+
path: v1.0/qrels/answer_train.tsv
|
| 32 |
+
- split: dev
|
| 33 |
+
path: v1.0/qrels/answer_dev.tsv
|
| 34 |
+
- split: test
|
| 35 |
+
path: v1.0/qrels/answer_test.tsv
|
| 36 |
+
sep: " "
|
| 37 |
+
header: null
|
| 38 |
+
column_names: [query_id, iteration, doc_id, relevance]
|
| 39 |
+
- config_name: qrels-cite
|
| 40 |
+
data_files:
|
| 41 |
+
- split: train
|
| 42 |
+
path: v1.0/qrels/cite_train.tsv
|
| 43 |
+
- split: dev
|
| 44 |
+
path: v1.0/qrels/cite_dev.tsv
|
| 45 |
+
- split: test
|
| 46 |
+
path: v1.0/qrels/cite_test.tsv
|
| 47 |
+
sep: " "
|
| 48 |
+
header: null
|
| 49 |
+
column_names: [query_id, iteration, doc_id, relevance]
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
# ParlIR
|
| 53 |
+
|
| 54 |
+
European Parliament written questions (terms 8–10, 2014–2026) paired with their official Commission/Council
|
| 55 |
+
answers, released as an IR test collection. Code and full documentation:
|
| 56 |
+
https://github.com/NaiveNeuron/ParlIR-ecir-2027 (private until the authors release it).
|
| 57 |
+
|
| 58 |
+
## Tasks
|
| 59 |
+
|
| 60 |
+
All tasks have qrels files `qrels/<task>_<split>.tsv` (splits `train`, `dev`, `test`).
|
| 61 |
+
|
| 62 |
+
- **AnswerRet** (`answer`, config `qrels-answer`): retrieve the official answer to a question from the full answer
|
| 63 |
+
corpus; binary known-item qrels; primary metric MRR@10.
|
| 64 |
+
- **Lenient AnswerRet** (`answerlenient`): the official answer (rel 2) plus typed equivalent answers (rel 1):
|
| 65 |
+
`twin_question`, `duplicate_answer`, `near_duplicate_answer` (listed in `equivalents.jsonl`).
|
| 66 |
+
- **CiteRet** (`cite`, config `qrels-cite`; canonical citation task): retrieve earlier answers that the official
|
| 67 |
+
answer explicitly cross-references; eligible = answers published before the official reply's date (drafting
|
| 68 |
+
time); metric: known-citation recall (R@10, R@100). `citehc` is the explicit-referral subset.
|
| 69 |
+
- **Pre-submission variant** (`precedent`, `precedenthc`): same citation edges, eligible = answers published before
|
| 70 |
+
the question date.
|
| 71 |
+
|
| 72 |
+
## Files
|
| 73 |
+
|
| 74 |
+
All files of a release live under `<version>/` (this card: `v1.0/`); the git tag `v1.0` freezes them. Runs and
|
| 75 |
+
audit records are under `v1.0/experiments/{runs,audit}/`.
|
| 76 |
+
|
| 77 |
+
- `corpus.jsonl`: `_id` (`<QID>-ASW`), `text` (masked, canonical), `raw_text` (header-stripped, unmasked),
|
| 78 |
+
`date`, `institution`, `answers` (question ids), `header`, `source_url`.
|
| 79 |
+
- `queries.jsonl`: `_id`, `subject`, `text` (masked subject + body), `raw_text`, `date`, `source_url`, `type`
|
| 80 |
+
(E/P), `term`, `addressee`, `author`, `orig_lang`, `orig_lang_src` (`csv`/`detail`), `answer`, `header`, `split`
|
| 81 |
+
(train/dev/test/null), `joint_size`.
|
| 82 |
+
- `queries_xling.jsonl`: official non-English versions of questions: `_id`, `lang`, `text` (masked), `raw_text`.
|
| 83 |
+
- `equivalents.jsonl`: `qid`, `equivalent_answers` (list of `{doc, type}`).
|
| 84 |
+
- `precedent_meta.jsonl`: per query, citation edges (`cited`, `answer`, provenance `via` ⊆ {`hyperlink`, `url`,
|
| 85 |
+
`text`}, `referral` flag), with the eligible answers under the pre-submission and drafting cutoffs.
|
| 86 |
+
- `qrels/<task>_<split>.tsv` for `answer`, `answerlenient`, `cite`, `citehc`, `precedent`, `precedenthc`: TREC
|
| 87 |
+
format `qid 0 docid rel` (whitespace-separated, no header).
|
| 88 |
+
- `build_manifest.json`: counts and sha256 checksums.
|
| 89 |
+
- LLM pooled-audit pools (sensitivity analysis only; reproducible from the sample seed and the runs).
|
| 90 |
+
|
| 91 |
+
**Masking.** Headers are removed structurally; every question/answer identifier (including URL-embedded ids, hyphen
|
| 92 |
+
variants, ids glued to a language code, and typo forms) is replaced by `[REF]`; term-8 PE-number footers and
|
| 93 |
+
co-signatory/supporter lines are removed. The validator checks for identifiers independently of the masker.
|
| 94 |
+
|
| 95 |
+
Splits are temporal (train 2014–2021, dev 2022–2023, test 2024–2026); 2015 questions are dated from their XML
|
| 96 |
+
header.
|
| 97 |
+
|
| 98 |
+
**Counts (v1.0).** Corpus 76,536 answers (Commission 70,397, VP/HR 4,181, Council 1,892, unknown 66); 78,314
|
| 99 |
+
queries = train 59,612, dev 7,735, test 10,962, plus 5 unsplit; `queries_xling.jsonl` 7,683 texts in 22 languages;
|
| 100 |
+
equivalent answers for 1,396 queries (twin_question 419, duplicate_answer 852, near_duplicate_answer 296).
|
| 101 |
+
Qrels (queries / pairs):
|
| 102 |
+
|
| 103 |
+
| Task | train | dev | test |
|
| 104 |
+
|---|---|---|---|
|
| 105 |
+
| `answer` | 59,612 / 59,612 | 7,735 / 7,735 | 10,962 / 10,962 |
|
| 106 |
+
| `answerlenient` | 59,612 / 70,463 | 7,735 / 7,854 | 10,962 / 11,239 |
|
| 107 |
+
| `cite` | 3,767 / 5,592 | 299 / 441 | 396 / 634 |
|
| 108 |
+
| `citehc` | 2,991 / 4,199 | 186 / 245 | 256 / 352 |
|
| 109 |
+
| `precedent` | 2,302 / 3,393 | 252 / 364 | 301 / 481 |
|
| 110 |
+
| `precedenthc` | 1,788 / 2,462 | 159 / 208 | 192 / 269 |
|
| 111 |
+
|
| 112 |
+
CiteRet test (396 queries) is a small-sample secondary task; report confidence intervals.
|
| 113 |
+
|
| 114 |
+
## Licence and attribution
|
| 115 |
+
|
| 116 |
+
Source data: European Parliament Open Data Portal, © European Union, CC BY 4.0; Commission answers under
|
| 117 |
+
Decision 2011/833/EU (CC BY 4.0 via C(2019) 1655); Council answers under Decision (EU) 2017/1842. Texts were
|
| 118 |
+
modified (header removal, identifier masking). ParlIR annotations: CC BY 4.0. Author names are MEPs acting in
|
| 119 |
+
an official capacity; they are metadata only and not part of the retrieval text.
|
| 120 |
+
|
| 121 |
+
## Citation
|
| 122 |
+
|
| 123 |
+
```bibtex
|
| 124 |
+
@inproceedings{parlir2027,
|
| 125 |
+
title = {ParlIR: TODO(authors)},
|
| 126 |
+
author = {TODO(authors)},
|
| 127 |
+
booktitle = {Advances in Information Retrieval (ECIR 2027)},
|
| 128 |
+
year = {2027}
|
| 129 |
+
}
|
| 130 |
+
```
|