EUR-LexRD Similar Case Relevance for EU Court Judgments
Grade how relevant a candidate EU Court of Justice judgment is to a query judgment on a four-step scale, using a radio scheme. Pairs are real EUR-LexRD rows.
Try it live — no install
Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.
Run live in your browserGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/legal/eurlexrd-similar-case-relevance
potato start config.yamlAbout this dataset
EUR-LexRD is a similar case retrieval dataset built from judgments of the Court of Justice of the European Union and published by Christof Koolen at the Natural Legal Language Processing Workshop 2026. Nine legal experts, all students in the KU Leuven Master of Laws program, graded 12,365 query and candidate pairs, with an ordinal Krippendorff alpha of 0.71 reported in the paper.
Annotators in the study read the summary and the full text of both judgments and chose one of four grades, from not relevant to directly relevant, in answer to the question of whether the candidate would meaningfully assist a legal expert with the issue in the query. This design keeps the four grades and the question. Because EUR-Lex returned HTTP 202 to a script, the design shows the query summary and the candidate's name, ECLI, and date instead of the full texts. Ten pairs from two query cases are included, and the adjudicated grade is stored in each item as a private key so annotators do not see it.
The query summaries are generated by a language model, and the paper states that they were not validated against the judgments. The annotations, relevance judgments, and summaries are released under CC BY 4.0 (attribution to Christof Koolen). Case titles, ECLIs, and dates are EUR-Lex metadata that the dataset's license notice does not relicense.
- Query and candidate pairs in the release
- 12,365
- Expert annotators
- 9
- Relevance grades
- 4
- Sample pairs in this design
- 10 real pairs from 2 query cases
Configuration File
This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# EUR-LexRD: graded relevance of a candidate Court of Justice judgment to a query judgment (NLLP 2026)
#
# Paper: Koolen, "The EUR-Lex Retrieval Dataset: A Section-Aware and Human-Annotated Dataset for
# Long-Form Similar Case Retrieval", NLLP 2026, https://aclanthology.org/2026.nllp-1.11/
# (ACL Anthology bib doi 10.18653/2026.nllp-1.11)
# Data: https://doi.org/10.48804/TK4IER (KU Leuven RDR) and
# https://github.com/christofkoolen/eurlex-retrieval-dataset. LICENSE_DATA.txt in the repository
# states CC BY 4.0 for the human relevance annotations, qrels and query metadata. The query
# summaries and case titles in sample-data.json come from the repository's data/shared/query_pool.jsonl
# and data/annotations/final_adjudicated_annotations.csv (CC BY 4.0, attribution to Christof Koolen). The
# summaries are LLM-generated by the dataset's author (paper, data preparation step ii and the limitations section) and the paper says they
# were not validated against the originals. Case titles, ECLIs and dates are EUR-Lex metadata, which the
# repository's LICENSE_DATA.txt does not relicense (its section 3); they are public EU records, reused here by name only.
# Protocol (paper section 3.4 and the repository's "Annotation Guidelines.pdf"): nine legal experts
# "assigned a relevance score to each query-candidate pair based on cases' summary and full
# text" on "a four-step labeling scale":
# Label 0 - Not relevant: "no meaningful legal usefulness in relation to the query case".
# Label 1 - Marginally relevant: "some general or contextual connection ... but offers little
# real value in resolving it".
# Label 2 - Substantially relevant: "clearly relevant and would be useful for legal analysis
# in relation to the query case, despite not constituting a directly relevant case".
# Label 3 - Directly relevant: "directly addresses the same issue and would be a key authority
# for resolving the underlying issue in the query case".
# The guideline's leading question is "Would this candidate document meaningfully assist a legal
# expert in addressing the issue presented in the query document?"
# Attribution (LICENSE_DATA.txt section 2): data by Christof Koolen, EUR-Lex Retrieval Dataset, CC BY 4.0.
# Adaptations: annotators in the study read the summary and the full text of both judgments in an
# annotation sheet. Here the query summary is shown and the candidate appears by name, ECLI and date,
# because EUR-Lex answered the sample-data links with HTTP 202 to a script and no link is claimed
# to load. Ten pairs from two of the 100 query cases are used. The adjudicated grade is kept in
# each item as `reference_label`, listed in private_keys so that it does not reach the annotator's page.
annotation_task_name: "EUR-LexRD case-law relevance"
data_files:
- sample-data.json
item_properties:
id_key: id
text_key: query_summary
private_keys: [reference_label]
task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl
user_config:
allow_all_users: true
instance_display:
layout:
direction: vertical
gap: 12px
fields:
- key: query_title
type: text
label: "Query case"
- key: query_ecli
type: text
label: "Query ECLI"
- key: query_summary
type: text
label: "Query case summary"
- key: candidate_title
type: text
label: "Candidate case"
- key: candidate_ecli
type: text
label: "Candidate ECLI"
- key: candidate_date
type: text
label: "Candidate judgment date"
annotation_schemes:
- annotation_type: radio
name: relevance
description: "Would this candidate judgment meaningfully assist a legal expert in addressing the issue presented in the query judgment?"
labels:
- "0 - Not relevant"
- "1 - Marginally relevant"
- "2 - Substantially relevant"
- "3 - Directly relevant"
sequential_key_binding: true
label_requirement:
required: true
annotation_instructions: |
Judge each query-candidate pair on its own. Relevance is functional and legal. Ask whether the
candidate addresses the same or a closely related legal issue, relies on similar principles or
doctrine, and could inform, support or clarify the analysis of the query case. Shared terminology,
shared provisions or the same general domain are surface similarity and do not make a candidate relevant.
Use 3 only when the candidate would be a key authority for the issue in the query case.
Sample Data
[
{
"id": "eurlexrd_001",
"query_title": "European Union Agency for the Cooperation of Energy Regulators v Aquind Ltd",
"query_ecli": "ECLI:EU:C:2023:182",
"query_date": "2023-03-09",
"query_summary": "The European Union Agency for the Cooperation of Energy Regulators (ACER) appealed a General Court judgment that annulled a decision by ACER’s Board of Appeal. The Board of Appeal had upheld ACER’s refusal to grant Aquind Ltd an exemption for a proposed electricity interconnector under Regulation No 714/2009. The General Court found that the Board of Appeal erred in law by limiting its review of ACER’s complex technical and economic assessments to merely checking for manifest errors of assessment. The General Court reasoned that the Board’s composition, expertise, and powers (including the ability to exercise ACER’s powers or remit the case) indicated the legislature intended it to conduct a full review, ensuring effective judicial protection, as a limited review by the Board would lead to the General Court conducting only a limited review of the final decision. ACER argued that the Board was intended for rapid, simplified review and should only check for manifest errors, consistent with the limited review standard applied by the EU Courts over agency discretion. The Court of Justice dismissed ACER’s first ground of appeal, confirming that the Board of Appeal was intended to conduct a full review of complex assessments, distinguishing this internal review from the limited review standard applied to the EU Courts when assessing agency discretion. The second ground of appeal was dismissed as ineffective. Consequently, the main appeal was dismissed in its entirety.",
"candidate_title": "Fundación Tatiana Pérez de Guzmán el Bueno and Stiftung für Forschung und Lehre (SFL) v Single Resolution Board",
"candidate_ecli": "ECLI:EU:T:2022:311",
"candidate_date": "2022-06-01",
"reference_label": "0"
},
{
"id": "eurlexrd_002",
"query_title": "European Union Agency for the Cooperation of Energy Regulators v Aquind Ltd",
"query_ecli": "ECLI:EU:C:2023:182",
"query_date": "2023-03-09",
"query_summary": "The European Union Agency for the Cooperation of Energy Regulators (ACER) appealed a General Court judgment that annulled a decision by ACER’s Board of Appeal. The Board of Appeal had upheld ACER’s refusal to grant Aquind Ltd an exemption for a proposed electricity interconnector under Regulation No 714/2009. The General Court found that the Board of Appeal erred in law by limiting its review of ACER’s complex technical and economic assessments to merely checking for manifest errors of assessment. The General Court reasoned that the Board’s composition, expertise, and powers (including the ability to exercise ACER’s powers or remit the case) indicated the legislature intended it to conduct a full review, ensuring effective judicial protection, as a limited review by the Board would lead to the General Court conducting only a limited review of the final decision. ACER argued that the Board was intended for rapid, simplified review and should only check for manifest errors, consistent with the limited review standard applied by the EU Courts over agency discretion. The Court of Justice dismissed ACER’s first ground of appeal, confirming that the Board of Appeal was intended to conduct a full review of complex assessments, distinguishing this internal review from the limited review standard applied to the EU Courts when assessing agency discretion. The second ground of appeal was dismissed as ineffective. Consequently, the main appeal was dismissed in its entirety.",
"candidate_title": "Republic of Austria v European Commission",
"candidate_ecli": "ECLI:EU:T:2018:439",
"candidate_date": "2018-07-12",
"reference_label": "0"
}
]
// ... and 8 more itemsTry it live — no install
Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.
Run live in your browserGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/legal/eurlexrd-similar-case-relevance
potato start config.yamlDataset & paper
Koolen, NLLP 2026
- Paper DOI
- 10.18653/2026.nllp-1.11
- Dataset DOI
- 10.48804/TK4IER
Citation (BibTeX)
@inproceedings{koolen-2026-eur,
title = "The {EUR}-Lex Retrieval Dataset: A Section-Aware and Human-Annotated Dataset for Long-Form Similar Case Retrieval",
author = "Koolen, Christof",
editor = "Aletras, Nikolaos and
Chalkidis, Ilias and
Barrett, Leslie and
Goanț{\u{a}}, C{\u{a}}t{\u{a}}lina and
Preoțiuc-Pietro, Daniel and
Spanakis, Gerasimos and
Xu, Shanshan",
booktitle = "Proceedings of the Natural Legal Language Processing Workshop 2026",
month = oct,
year = "2026",
address = "Budapest, Hungary",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2026.nllp-1.11/",
doi = "10.18653/2026.nllp-1.11",
pages = "101--118",
ISBN = "979-8-89176-494-1"
}Details
Annotation Types
Domain
Use Cases
Tags
Found an issue or want to improve this design?
Open an Issue(opens in a new tab)Related Designs
AdMIRe - Advancing Multimodal Idiomaticity Representation
Multimodal idiomaticity task (SemEval-2025 Task 1, Subtask A): given a potentially idiomatic nominal compound in a context sentence, annotators rank five candidate images by how well each represents the sense in which the compound is used.
Adverse Drug Event Extraction (CADEC)
Named entity recognition for adverse drug events from patient-reported experiences, based on the CADEC corpus (Karimi et al., 2015). Annotates drugs, adverse effects, symptoms, diseases, and findings from colloquial health forum posts with mapping to medical vocabularies (SNOMED-CT, MedDRA).
AfriHate - Hate and Abusive Language for African Languages
Multilingual content-moderation annotation following the AfriHate scheme (Muhammad et al., NAACL 2025), a collection of hate speech and abusive language datasets for 15 African languages including Amharic, Hausa, Igbo, Yoruba, Swahili, Somali and isiZulu. Native speakers familiar with the regional culture assign each tweet a three-way label - hate, abusive, or neutral - and, when the tweet is hateful, mark the targeted attribute (e.g. ethnicity, religion, politics, gender). Sample items are mild, constructed illustrations that avoid real slurs or targeting of real groups; an English gloss is provided for reference only.