Jakob Vokač: Jožef Stefan Institute, Ljubljana, Slovenia · Marko Grobelnik: Jožef Stefan Institute, Ljubljana, Slovenia · Dunja Mladenić: Jožef Stefan Institute, Ljubljana, Slovenia
EUR-Lex and its repository CELLAR make EU legislation freely available and machine-retrievable, but the cross-reference metadata they expose for legislation is essentially document-level and incomplete. Many legal automation tasks instead need each reference resolved to the provision it points to. We introduce an annotation scheme that pairs each reference, as a span in an act’s text, with its target provision, and a ground-truth corpus of about 4,500 annotations over four EU acts, built by manually correcting the output of a mostly deterministic extraction pipeline. Measured against this corpus, two maintained EU linkers, the Commission’s Ref2Link and LegalViz.EU, resolve the references they find well but miss most mentions, in particular indirect references that do not name their target. We also fine tuned and test a RoBERTa-large model, on our corpus using a cross-validation approach. It reached a high F1 score for detecting references on the validation sets. The dataset and code are available at https://github.com/JakobVokac/EURLex_CrossReferenceDataset_SiKDD2026.
Keywords: legal informatics, EU legislation, named entity recognition, entity linking, annotated corpus
