Datasets:
docs: refresh data card with FAIR principles + Datasheet for Datasets (Gebru et al. 2018)
Browse files
README.md
CHANGED
|
@@ -1,112 +1,135 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
- ja
|
| 6 |
task_categories:
|
| 7 |
- text-retrieval
|
| 8 |
-
pretty_name: ReCaRe
|
|
|
|
|
|
|
| 9 |
tags:
|
| 10 |
- legal
|
| 11 |
-
-
|
|
|
|
| 12 |
- bilingual
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
configs:
|
| 14 |
- config_name: corpus-en
|
| 15 |
-
data_files:
|
| 16 |
-
- split: corpus
|
| 17 |
-
path: corpus-en/corpus.jsonl
|
| 18 |
- config_name: corpus-ja
|
| 19 |
-
data_files:
|
| 20 |
-
- split: corpus
|
| 21 |
-
path: corpus-ja/corpus.jsonl
|
| 22 |
- config_name: queries-rat2rev-en
|
| 23 |
-
data_files:
|
| 24 |
-
- split: queries
|
| 25 |
-
path: queries-rat2rev-en/queries.jsonl
|
| 26 |
- config_name: queries-rat2rev-ja
|
| 27 |
-
data_files:
|
| 28 |
-
- split: queries
|
| 29 |
-
path: queries-rat2rev-ja/queries.jsonl
|
| 30 |
- config_name: queries-rev2rev-en
|
| 31 |
-
data_files:
|
| 32 |
-
- split: queries
|
| 33 |
-
path: queries-rev2rev-en/queries.jsonl
|
| 34 |
- config_name: queries-rev2rev-ja
|
| 35 |
-
data_files:
|
| 36 |
-
- split: queries
|
| 37 |
-
path: queries-rev2rev-ja/queries.jsonl
|
| 38 |
- config_name: qrels-rat2rev-en
|
| 39 |
-
data_files:
|
| 40 |
-
- split: train
|
| 41 |
-
path: qrels-rat2rev-en/train.jsonl
|
| 42 |
-
- split: validation
|
| 43 |
-
path: qrels-rat2rev-en/validation.jsonl
|
| 44 |
-
- split: test
|
| 45 |
-
path: qrels-rat2rev-en/test.jsonl
|
| 46 |
- config_name: qrels-rat2rev-ja
|
| 47 |
-
data_files:
|
| 48 |
-
- split: train
|
| 49 |
-
path: qrels-rat2rev-ja/train.jsonl
|
| 50 |
-
- split: validation
|
| 51 |
-
path: qrels-rat2rev-ja/validation.jsonl
|
| 52 |
-
- split: test
|
| 53 |
-
path: qrels-rat2rev-ja/test.jsonl
|
| 54 |
- config_name: qrels-rev2rev-en
|
| 55 |
-
data_files:
|
| 56 |
-
- split: train
|
| 57 |
-
path: qrels-rev2rev-en/train.jsonl
|
| 58 |
-
- split: validation
|
| 59 |
-
path: qrels-rev2rev-en/validation.jsonl
|
| 60 |
-
- split: test
|
| 61 |
-
path: qrels-rev2rev-en/test.jsonl
|
| 62 |
- config_name: qrels-rev2rev-ja
|
| 63 |
-
data_files:
|
| 64 |
-
- split: train
|
| 65 |
-
path: qrels-rev2rev-ja/train.jsonl
|
| 66 |
-
- split: validation
|
| 67 |
-
path: qrels-rev2rev-ja/validation.jsonl
|
| 68 |
-
- split: test
|
| 69 |
-
path: qrels-rev2rev-ja/test.jsonl
|
| 70 |
- config_name: metadata-en
|
| 71 |
-
data_files:
|
| 72 |
-
- split: metadata
|
| 73 |
-
path: metadata-en/dataset.jsonl
|
| 74 |
- config_name: metadata-ja
|
| 75 |
-
data_files:
|
| 76 |
-
- split: metadata
|
| 77 |
-
path: metadata-ja/dataset.jsonl
|
| 78 |
---
|
| 79 |
|
| 80 |
# ReCaRe — A Bilingual Legal Benchmark for Revision Candidate Retrieval
|
| 81 |
|
| 82 |
-
ReCaRe (pronounced "re-care")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
-
- **
|
| 85 |
-
- **
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
-
| Config
|
| 90 |
-
|---|---|---|
|
| 91 |
-
| `corpus-en`
|
| 92 |
-
| `
|
| 93 |
-
| `queries-
|
| 94 |
-
| `
|
| 95 |
-
| `
|
| 96 |
-
| `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
|
|
|
|
|
|
| 98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
## Quick start
|
| 101 |
|
|
|
|
|
|
|
| 102 |
```python
|
| 103 |
from datasets import load_dataset
|
| 104 |
|
| 105 |
corpus = load_dataset("kasys/ReCaRe", "corpus-en", split="corpus")
|
| 106 |
queries = load_dataset("kasys/ReCaRe", "queries-rat2rev-en", split="queries")
|
| 107 |
qrels = load_dataset("kasys/ReCaRe", "qrels-rat2rev-en") # train/validation/test
|
| 108 |
-
```
|
| 109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
### Convert qrels to `trec_eval` format
|
| 112 |
|
|
@@ -119,29 +142,251 @@ df[["query-id", "iter", "corpus-id", "score"]].to_csv(
|
|
| 119 |
"qrels.trec", sep=" ", header=False, index=False)
|
| 120 |
```
|
| 121 |
|
| 122 |
-
##
|
| 123 |
|
| 124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
|
| 126 |
-
|
| 127 |
|
| 128 |
-
|
| 129 |
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
|
| 139 |
-
|
| 140 |
|
| 141 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
|
| 143 |
-
|
| 144 |
-
|
|
|
|
| 145 |
|
| 146 |
-
|
| 147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license:
|
| 3 |
+
- cc-by-4.0
|
| 4 |
+
- cc0-1.0
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
- ja
|
| 8 |
task_categories:
|
| 9 |
- text-retrieval
|
| 10 |
+
pretty_name: ReCaRe — A Bilingual Legal Benchmark for Revision Candidate Retrieval
|
| 11 |
+
size_categories:
|
| 12 |
+
- 100K<n<1M
|
| 13 |
tags:
|
| 14 |
- legal
|
| 15 |
+
- law
|
| 16 |
+
- multilingual
|
| 17 |
- bilingual
|
| 18 |
+
- retrieval
|
| 19 |
+
- benchmark
|
| 20 |
+
- bm25
|
| 21 |
+
- dense-retrieval
|
| 22 |
+
- cross-lingual
|
| 23 |
+
- eu-law
|
| 24 |
+
- japanese-law
|
| 25 |
configs:
|
| 26 |
- config_name: corpus-en
|
|
|
|
|
|
|
|
|
|
| 27 |
- config_name: corpus-ja
|
|
|
|
|
|
|
|
|
|
| 28 |
- config_name: queries-rat2rev-en
|
|
|
|
|
|
|
|
|
|
| 29 |
- config_name: queries-rat2rev-ja
|
|
|
|
|
|
|
|
|
|
| 30 |
- config_name: queries-rev2rev-en
|
|
|
|
|
|
|
|
|
|
| 31 |
- config_name: queries-rev2rev-ja
|
|
|
|
|
|
|
|
|
|
| 32 |
- config_name: qrels-rat2rev-en
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
- config_name: qrels-rat2rev-ja
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
- config_name: qrels-rev2rev-en
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
- config_name: qrels-rev2rev-ja
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
- config_name: metadata-en
|
|
|
|
|
|
|
|
|
|
| 37 |
- config_name: metadata-ja
|
|
|
|
|
|
|
|
|
|
| 38 |
---
|
| 39 |
|
| 40 |
# ReCaRe — A Bilingual Legal Benchmark for Revision Candidate Retrieval
|
| 41 |
|
| 42 |
+
> ReCaRe (pronounced "re-care") supports retrieval research on **document
|
| 43 |
+
> maintenance**: locating which provisions of a legal corpus must change when
|
| 44 |
+
> a new amendment is proposed, and which other provisions must change with
|
| 45 |
+
> them. Built from European Union law (EUR-Lex) and Japanese law (e-Gov)
|
| 46 |
+
> across 703 amendment events and ~181k articles, ReCaRe defines two
|
| 47 |
+
> Revision Candidate Retrieval (RCR) tasks — Rat2Rev and Rev2Rev — over a
|
| 48 |
+
> shared bilingual corpus.
|
| 49 |
|
| 50 |
+
- **Repository**: <https://huggingface.co/datasets/kasys/ReCaRe>
|
| 51 |
+
- **Owner / Org**: `kasys` (HuggingFace) — corresponds to `kasys-lab` on GitHub
|
| 52 |
+
- **License**: CC BY 4.0 (EU subset) / CC BY 4.0 + CC0 1.0 (Japanese subset)
|
| 53 |
+
- **DOI**: _to be filled in once HF Settings → Generate DOI is run on `v0.1.0`_
|
| 54 |
+
- **Version**: `v0.1.0` (initial public release for CIKM 2026 Resource paper)
|
| 55 |
+
- **Code**: analysis & baseline code at `kasys-lab/ReCaRe` (GitHub, see #15)
|
| 56 |
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
## Dataset summary
|
| 60 |
+
|
| 61 |
+
Document corpora in regulated settings are not static. Statutes are amended,
|
| 62 |
+
internal policies are revised, software specifications are updated. Yet most
|
| 63 |
+
information retrieval (IR) research has framed retrieval as a one-shot
|
| 64 |
+
question-answering problem over a frozen corpus, leaving the IR aspects of
|
| 65 |
+
*document maintenance* — finding which documents need to change, and which
|
| 66 |
+
other documents must change with them — comparatively underexplored.
|
| 67 |
+
|
| 68 |
+
ReCaRe formalises two complementary retrieval problems that arise during
|
| 69 |
+
document maintenance:
|
| 70 |
+
|
| 71 |
+
- **Rat2Rev** (Rationale-to-Revision Retrieval): given the *textual rationale*
|
| 72 |
+
of a proposed amendment (long, abstract), retrieve the concrete articles
|
| 73 |
+
that must be modified to implement the amendment.
|
| 74 |
+
- **Rev2Rev** (Revision-to-Revision Retrieval): given one already-revised
|
| 75 |
+
article, retrieve the other articles revised in the same legislative event
|
| 76 |
+
(co-revised articles).
|
| 77 |
+
|
| 78 |
+
Both tasks share a single bilingual corpus (~91k EU articles in English +
|
| 79 |
+
~90k Japanese articles) and are released under CC BY 4.0 / CC0.
|
| 80 |
+
|
| 81 |
+
The dataset is the resource artifact of the CIKM 2026 paper
|
| 82 |
+
*"ReCaRe: A Bilingual Legal Benchmark for Revision Candidate Retrieval."*
|
| 83 |
+
|
| 84 |
+
## Configs (12)
|
| 85 |
|
| 86 |
+
| Config | Splits | Schema | Records |
|
| 87 |
+
| --- | --- | --- | --- |
|
| 88 |
+
| `corpus-en` | `corpus` | `{_id, text}` | 91,361 |
|
| 89 |
+
| `corpus-ja` | `corpus` | `{_id, text}` | 90,170 |
|
| 90 |
+
| `queries-rat2rev-en` | `queries` | `{_id, text}` | 340 |
|
| 91 |
+
| `queries-rat2rev-ja` | `queries` | `{_id, text}` | 363 |
|
| 92 |
+
| `queries-rev2rev-en` | `queries` | `{_id, text}` | 1,509 |
|
| 93 |
+
| `queries-rev2rev-ja` | `queries` | `{_id, text}` | 1,653 |
|
| 94 |
+
| `qrels-rat2rev-en` | `train` / `validation` / `test` | `{query-id, corpus-id, score}` | 2,063 / 1,948 / 2,080 |
|
| 95 |
+
| `qrels-rat2rev-ja` | same | same | 3,228 / 2,501 / 3,395 |
|
| 96 |
+
| `qrels-rev2rev-en` | same | same | 12,088 / 8,189 / 8,156 |
|
| 97 |
+
| `qrels-rev2rev-ja` | same | same | 15,054 / 13,591 / 14,853 |
|
| 98 |
+
| `metadata-en` | `metadata` | 16-field amendment metadata (see below) | 91,361 |
|
| 99 |
+
| `metadata-ja` | `metadata` | same | 90,170 |
|
| 100 |
|
| 101 |
+
> All configs are JSONL. Use a 4-line snippet (below) to convert qrels to
|
| 102 |
+
> TREC format if your stack expects that.
|
| 103 |
|
| 104 |
+
### `metadata-*` schema (verbatim from construction pipeline)
|
| 105 |
+
|
| 106 |
+
`amendment_law_id`, `law_id`, `type_of_change`, `egov_compare_url`,
|
| 107 |
+
`law_title_before`, `revision_id_before`, `article_id_before`,
|
| 108 |
+
`article_number_before`, `caption_before`, `text_before`,
|
| 109 |
+
`law_title_after`, `revision_id_after`, `article_id_after`,
|
| 110 |
+
`article_number_after`, `caption_after`, `text_after`.
|
| 111 |
+
|
| 112 |
+
Records with `amendment_law_id == "None"` are unchanged articles
|
| 113 |
+
(~85–93%); records with non-`None` amendment IDs are revisions traceable to
|
| 114 |
+
a specific amending act. The metadata configs are intended for downstream
|
| 115 |
+
analyses that need full provenance and are **not** required for running the
|
| 116 |
+
retrieval tasks themselves (use the `corpus`, `queries`, `qrels` configs).
|
| 117 |
|
| 118 |
## Quick start
|
| 119 |
|
| 120 |
+
### Python (`datasets`)
|
| 121 |
+
|
| 122 |
```python
|
| 123 |
from datasets import load_dataset
|
| 124 |
|
| 125 |
corpus = load_dataset("kasys/ReCaRe", "corpus-en", split="corpus")
|
| 126 |
queries = load_dataset("kasys/ReCaRe", "queries-rat2rev-en", split="queries")
|
| 127 |
qrels = load_dataset("kasys/ReCaRe", "qrels-rat2rev-en") # train/validation/test
|
|
|
|
| 128 |
|
| 129 |
+
print(corpus[0]) # {'_id': '...', 'text': '...'}
|
| 130 |
+
print(queries[0]) # {'_id': '...', 'text': '...'}
|
| 131 |
+
print(qrels["test"][0]) # {'query-id': '...', 'corpus-id': '...', 'score': 1}
|
| 132 |
+
```
|
| 133 |
|
| 134 |
### Convert qrels to `trec_eval` format
|
| 135 |
|
|
|
|
| 142 |
"qrels.trec", sep=" ", header=False, index=False)
|
| 143 |
```
|
| 144 |
|
| 145 |
+
### BEIR loader (after rename)
|
| 146 |
|
| 147 |
+
```python
|
| 148 |
+
from datasets import load_dataset
|
| 149 |
+
import pandas as pd, os
|
| 150 |
+
os.makedirs("recare-en/qrels", exist_ok=True)
|
| 151 |
+
load_dataset("kasys/ReCaRe", "corpus-en", split="corpus")\
|
| 152 |
+
.to_json("recare-en/corpus.jsonl", lines=True, force_ascii=False)
|
| 153 |
+
load_dataset("kasys/ReCaRe", "queries-rat2rev-en", split="queries")\
|
| 154 |
+
.to_json("recare-en/queries.jsonl", lines=True, force_ascii=False)
|
| 155 |
+
pd.DataFrame(load_dataset("kasys/ReCaRe", "qrels-rat2rev-en", split="test"))\
|
| 156 |
+
.to_csv("recare-en/qrels/test.tsv", sep="\t", index=False)
|
| 157 |
+
# then:
|
| 158 |
+
from beir.datasets.data_loader import GenericDataLoader
|
| 159 |
+
corpus, queries, qrels = GenericDataLoader(data_folder="recare-en").load(split="test")
|
| 160 |
+
```
|
| 161 |
|
| 162 |
+
---
|
| 163 |
|
| 164 |
+
## FAIR principles
|
| 165 |
|
| 166 |
+
ReCaRe is published with explicit attention to the FAIR principles
|
| 167 |
+
(Findable, Accessible, Interoperable, Reusable) for research data
|
| 168 |
+
[Wilkinson et al. 2016, *Sci. Data*].
|
| 169 |
+
|
| 170 |
+
### F — Findable
|
| 171 |
+
|
| 172 |
+
The dataset has a globally unique persistent identifier — a HuggingFace-issued
|
| 173 |
+
DOI (DataCite) on this page (Settings → Generate DOI on tag `v0.1.0`), and is
|
| 174 |
+
discoverable via HuggingFace Hub search, the `datasets` library, the project
|
| 175 |
+
homepage, and the CIKM 2026 paper. A Zenodo mirror with an additional
|
| 176 |
+
permanent DOI is published in the companion repository. Each record carries
|
| 177 |
+
a stable `_id` (article identifier) traceable back to its source act
|
| 178 |
+
(CELEX number for EU, e-Gov / 法令索引 / 衆議院議案 ID for JP) so that
|
| 179 |
+
individual articles, queries, and amendments can be cited unambiguously.
|
| 180 |
+
|
| 181 |
+
### A — Accessible
|
| 182 |
+
|
| 183 |
+
The full dataset is openly accessible without authentication or registration
|
| 184 |
+
via the HuggingFace `datasets` library and via direct HTTPS download from
|
| 185 |
+
this page. The repository is `public` and licenses are
|
| 186 |
+
machine-readable (SPDX) in the YAML front-matter. We commit to keeping the
|
| 187 |
+
artifact accessible for the lifetime of HuggingFace; should the platform
|
| 188 |
+
become unavailable, the Zenodo mirror remains canonical and self-describing
|
| 189 |
+
JSONL means consumers can ingest the data with any standard parser.
|
| 190 |
+
|
| 191 |
+
### I — Interoperable
|
| 192 |
+
|
| 193 |
+
The data is stored in **JSONL with BEIR-canonical schemas** so it works out
|
| 194 |
+
of the box with the existing IR ecosystem (BEIR loaders, `ir_measures`,
|
| 195 |
+
`pytrec_eval`, Pyserini, sentence-transformers). Field names follow BEIR
|
| 196 |
+
conventions (`_id`, `text`, `query-id`, `corpus-id`, `score`); a one-paste
|
| 197 |
+
TREC qrels conversion snippet is provided above for `trec_eval`. The
|
| 198 |
+
metadata configs use a flat 16-field schema documented in this README, so
|
| 199 |
+
relational joins back to amendment-level provenance are straightforward.
|
| 200 |
+
|
| 201 |
+
### R — Reusable
|
| 202 |
+
|
| 203 |
+
Each record is released under a clearly identified open license (CC BY 4.0
|
| 204 |
+
for EU sources; CC BY 4.0 / CC0 1.0 for Japanese sources, both inherited
|
| 205 |
+
from the upstream public bodies). Provenance is preserved at the record
|
| 206 |
+
level via the `metadata-*` configs, which carry the source amendment ID,
|
| 207 |
+
the canonical comparison URL, and the before/after article text. Construction
|
| 208 |
+
methodology (alignment via Dice/Simpson with minor-edit filtering, query
|
| 209 |
+
typing, train/validation/test split inheritance) is documented in the
|
| 210 |
+
companion paper and summarised in the *Datasheet* section below. The
|
| 211 |
+
versioning scheme is semver-aligned (`v0.1.0` for this release); future
|
| 212 |
+
patches that reissue qrels or correct alignment errors will land as
|
| 213 |
+
`v0.1.x`.
|
| 214 |
+
|
| 215 |
+
---
|
| 216 |
+
|
| 217 |
+
## Datasheet for Datasets
|
| 218 |
+
|
| 219 |
+
The following follows the *Datasheets for Datasets* template
|
| 220 |
+
[Gebru et al. 2018, arXiv:1803.09010] and answers each section concisely.
|
| 221 |
+
For details, see the CIKM 2026 paper.
|
| 222 |
+
|
| 223 |
+
### Motivation
|
| 224 |
+
|
| 225 |
+
ReCaRe was created because existing legal-IR benchmarks (COLIEE, BSARD,
|
| 226 |
+
LeCaRD, STARD, LegalBench-RAG) cover statutory or case-law question
|
| 227 |
+
answering but not *document maintenance* — finding which provisions must
|
| 228 |
+
change when a corpus evolves. Two retrieval tasks of high practical
|
| 229 |
+
relevance to legal drafting and policy revision (Rat2Rev, Rev2Rev) had no
|
| 230 |
+
shared benchmark. The dataset was constructed by Hiroyoshi Itō, Yūma
|
| 231 |
+
Kurokawa, Makoto P. Kato (University of Tsukuba) and Sumio Fujita
|
| 232 |
+
(LY Corporation) for academic research, with no commissioned funding.
|
| 233 |
+
|
| 234 |
+
### Composition
|
| 235 |
+
|
| 236 |
+
Each instance is either an **article** (a single legal provision; ~181k
|
| 237 |
+
total across two languages), a **query** (an amendment rationale text in
|
| 238 |
+
Rat2Rev, or a revised article in Rev2Rev; 703 + 3,162 queries respectively),
|
| 239 |
+
or a **qrel** (a relevance judgment of the form `(query, article)`).
|
| 240 |
+
Coverage spans 340 EU amendment events (2010–2025) and 363 Japanese
|
| 241 |
+
amendment events (2019–2025). Articles contain only public legal text;
|
| 242 |
+
metadata records carry IDs and timestamps but no personal information.
|
| 243 |
+
There are no missing values in the released JSONL — articles or amendments
|
| 244 |
+
without complete provenance were dropped during construction.
|
| 245 |
+
|
| 246 |
+
### Collection process
|
| 247 |
+
|
| 248 |
+
Source documents were retrieved from public legal portals: EUR-Lex
|
| 249 |
+
(CC BY 4.0 / CC0; CELEX-numbered consolidated acts) for EU law, and
|
| 250 |
+
e-Gov 法令検索 + 日本法令索引 + 衆議院議案 (CC BY 4.0 / CC0) for Japanese
|
| 251 |
+
law. We downloaded full consolidated text per act, extracted articles by
|
| 252 |
+
the official numbering scheme, and collected explicit
|
| 253 |
+
amendment events (acts that explicitly amend prior acts). Acquisition spanned
|
| 254 |
+
2025-Q3–2026-Q1. No human subjects were involved. The two-language design
|
| 255 |
+
follows from the choice to ground the benchmark in two jurisdictions whose
|
| 256 |
+
legal-revision practices differ (EU consolidation tradition vs. Japanese
|
| 257 |
+
amending-act tradition).
|
| 258 |
+
|
| 259 |
+
### Preprocessing / cleaning / labeling
|
| 260 |
+
|
| 261 |
+
Articles are paired with revisions via **Dice / Simpson coefficient
|
| 262 |
+
matching** between before/after article text, with **minor-edit removal**
|
| 263 |
+
filtering out punctuation-only and renumbering-only changes. Queries for
|
| 264 |
+
Rat2Rev are the official rationale text of each amending act; queries for
|
| 265 |
+
Rev2Rev are individual revised articles (one query per revised article, up
|
| 266 |
+
to 5 queries per amendment). Qrels are derived deterministically from the
|
| 267 |
+
amendment alignment: a `(rationale, article)` pair is positive iff the
|
| 268 |
+
article is among those revised by that amendment; a `(revised-article,
|
| 269 |
+
article)` pair is positive iff both are revised by the same amendment
|
| 270 |
+
event. Train / validation / test splits are inherited from
|
| 271 |
+
the prior DEIM 2026 papers (Itō et al. 2F-01, Kurokawa et al. 4F-04) for
|
| 272 |
+
direct comparability with their reported numbers. Construction code is
|
| 273 |
+
**not** released (it depends on internal scrapers); the relationship is
|
| 274 |
+
documented in the paper, and label validity is independently verified by
|
| 275 |
+
two-rater blind annotation on a stratified 200-pair sample (see *Limitations*).
|
| 276 |
+
|
| 277 |
+
### Uses
|
| 278 |
+
|
| 279 |
+
The dataset is intended for academic IR research on document maintenance,
|
| 280 |
+
revision retrieval, multilingual / cross-jurisdictional retrieval, and as
|
| 281 |
+
a difficulty contrast point for general-domain BEIR benchmarks (low
|
| 282 |
+
query-document lexical overlap, multi-target qrels, implicit dependency).
|
| 283 |
+
It is **not** intended to support automated legal drafting, automated
|
| 284 |
+
revision recommendation in production legal workflows, or legal advice;
|
| 285 |
+
retrieved articles are revision **candidates** for expert review, not
|
| 286 |
+
authoritative outputs. Users should not infer that a model performing well
|
| 287 |
+
on ReCaRe is suitable for unsupervised legal-corpus maintenance. Other
|
| 288 |
+
appropriate uses include: training and evaluation of multilingual dense
|
| 289 |
+
retrievers, ablation of long-context vs. short-context retrieval models,
|
| 290 |
+
cross-task generalisation studies between Rat2Rev and Rev2Rev, and as
|
| 291 |
+
held-out legal benchmark in foundation-model evaluations.
|
| 292 |
+
|
| 293 |
+
### Distribution
|
| 294 |
+
|
| 295 |
+
ReCaRe is distributed publicly via HuggingFace Datasets (`kasys/ReCaRe`,
|
| 296 |
+
this page) under CC BY 4.0 / CC0 (per source-language license), with a
|
| 297 |
+
HuggingFace-issued DOI (DataCite) on tag `v0.1.0`. A Zenodo mirror with an
|
| 298 |
+
additional permanent DOI provides redundancy. The dataset is freely
|
| 299 |
+
downloadable without registration. Source code for analysis / baselines is
|
| 300 |
+
distributed separately at `kasys-lab/ReCaRe` (GitHub).
|
| 301 |
|
| 302 |
+
### Maintenance
|
| 303 |
|
| 304 |
+
The dataset is maintained by the authors. Versioning follows semver:
|
| 305 |
+
`v0.1.0` is the initial public release; corrective releases (e.g. label
|
| 306 |
+
fixes, new amendment events) will land as `v0.1.x` (patch) or `v0.x.0`
|
| 307 |
+
(minor). Each release is git-tagged on this HuggingFace repo and mirrored
|
| 308 |
+
to Zenodo. Issues (errata, license clarifications, schema questions) are
|
| 309 |
+
tracked at the project's GitHub repository
|
| 310 |
+
(<https://github.com/mpkato/CIKM2026-ito-kurokawa>). There is no
|
| 311 |
+
guaranteed support timeline, but we intend to keep the dataset accessible
|
| 312 |
+
and answer well-formed issues for at least the duration of the CIKM 2026
|
| 313 |
+
review cycle and the subsequent academic year.
|
| 314 |
+
|
| 315 |
+
---
|
| 316 |
+
|
| 317 |
+
## Statistics summary
|
| 318 |
+
|
| 319 |
+
| Subset | Amendments | Articles | Rat2Rev queries | Rev2Rev queries | Period | License |
|
| 320 |
+
| --- | --- | --- | --- | --- | --- | --- |
|
| 321 |
+
| ReCaRe-EN (EU) | 340 | 91,361 | 340 | 1,509 | 2010–2025 | CC BY 4.0 |
|
| 322 |
+
| ReCaRe-JA (JP) | 363 | 90,170 | 363 | 1,653 | 2019–2025 | CC BY 4.0 / CC0 |
|
| 323 |
+
| **Total** | **703** | **181,531** | **703** | **3,162** | — | — |
|
| 324 |
+
|
| 325 |
+
## Limitations
|
| 326 |
+
|
| 327 |
+
- **Annotator-construction overlap.** The relevance-label validity check
|
| 328 |
+
(sampled 200 q-d pairs, 2 raters, blind) is performed by authors of the
|
| 329 |
+
construction pipeline. Future work: third-party annotation.
|
| 330 |
+
- **Coverage windows differ.** EU period is 2010–2025; Japanese period is
|
| 331 |
+
2019–2025. This is a function of upstream availability and is documented
|
| 332 |
+
in the paper.
|
| 333 |
+
- **Construction code not released.** The alignment pipeline depends on
|
| 334 |
+
internal scrapers (EUR-Lex / e-Gov) that are not part of the release.
|
| 335 |
+
The dataset itself, however, is fully public so that retrieval-side
|
| 336 |
+
experiments are completely reproducible.
|
| 337 |
+
- **Implicit dependency in Rev2Rev.** Some co-revised article pairs share
|
| 338 |
+
no surface vocabulary; this is the intended difficulty of the task but
|
| 339 |
+
means lexical retrievers underperform.
|
| 340 |
+
- **Not a substitute for legal advice.** The dataset is a research
|
| 341 |
+
resource. Retrieved articles are revision *candidates* for expert review.
|
| 342 |
+
|
| 343 |
+
## Ethical considerations
|
| 344 |
+
|
| 345 |
+
ReCaRe contains only **public legal text** (statutes and amending acts
|
| 346 |
+
published by the European Union and the Japanese government). No personal
|
| 347 |
+
data, no human-subjects data, and no proprietary content is included.
|
| 348 |
+
References to officials or named parties in legal text appear because they
|
| 349 |
+
are part of the public record and are not subject to research-purpose
|
| 350 |
+
privacy obligations. The annotation step (label validity verification) is
|
| 351 |
+
performed by the paper's co-authors on already-public legal articles, with
|
| 352 |
+
no external participants, so the work is **not subject to IRB review**.
|
| 353 |
+
See the CIKM 2026 paper §3.3 (Ethical Considerations) for the full
|
| 354 |
+
treatment.
|
| 355 |
+
|
| 356 |
+
## License & attribution
|
| 357 |
+
|
| 358 |
+
- **EU subset**: data sourced from EUR-Lex under CC BY 4.0 (EUR-Lex
|
| 359 |
+
re-use notice). Attribution: European Union, EUR-Lex.
|
| 360 |
+
- **Japanese subset**: data sourced from e-Gov 法令検索, 日本法令索引,
|
| 361 |
+
衆議院議案 — under CC BY 4.0 / CC0 1.0 as published. Attribution: 日本国
|
| 362 |
+
政府.
|
| 363 |
+
- **ReCaRe construction & curation**: © the authors (Itō, Kurokawa, Kato,
|
| 364 |
+
Fujita), released under CC BY 4.0 to match the upstream EU subset.
|
| 365 |
+
|
| 366 |
+
When using ReCaRe, please cite both the dataset DOI and the CIKM 2026
|
| 367 |
+
paper.
|
| 368 |
+
|
| 369 |
+
## Citation
|
| 370 |
+
|
| 371 |
+
```bibtex
|
| 372 |
+
@inproceedings{ito2026recare,
|
| 373 |
+
title = {{ReCaRe}: A Bilingual Legal Benchmark for Revision Candidate Retrieval},
|
| 374 |
+
author = {It\={o}, Hiroyoshi and Kurokawa, Y\={u}ma and Kato, Makoto P. and Fujita, Sumio},
|
| 375 |
+
booktitle = {Proceedings of the 35th ACM International Conference on Information and Knowledge Management},
|
| 376 |
+
series = {CIKM '26},
|
| 377 |
+
year = {2026},
|
| 378 |
+
publisher = {Association for Computing Machinery},
|
| 379 |
+
note = {Resource Track. Dataset DOI: \url{https://doi.org/<HF DOI>} ; \url{https://huggingface.co/datasets/kasys/ReCaRe}},
|
| 380 |
+
}
|
| 381 |
+
```
|
| 382 |
|
| 383 |
+
> The DOI placeholder will be replaced once HF Settings → Generate DOI is
|
| 384 |
+
> run on tag `v0.1.0`. Camera-ready citation will list both the HF DOI and
|
| 385 |
+
> the Zenodo mirror DOI.
|
| 386 |
|
| 387 |
+
## Contact
|
| 388 |
|
| 389 |
+
- Hiroyoshi Itō (first author, Rev2Rev) — University of Tsukuba
|
| 390 |
+
- Yūma Kurokawa (first author, Rat2Rev) — University of Tsukuba
|
| 391 |
+
- Makoto P. Kato (corresponding author) — `mpkato@slis.tsukuba.ac.jp`
|
| 392 |
+
- Sumio Fujita — LY Corporation
|