id stringlengths 32 32 | doc_id stringlengths 71 71 | body large_stringlengths 1 46.6k | token_count int32 1 13k | part_n int16 1 1.15k | part_of int16 1 1.15k | seq int32 0 1.68k | block_ids listlengths 1 868 | source_title large_stringlengths 24 30 | source_url stringlengths 123 137 | source_sha256 stringlengths 64 64 | locator_page int32 | locator_section stringlengths 1 2.5k | heading_path stringlengths 8 2.82k | identifier stringlengths 12 944 ⌀ | regulation_type stringclasses 34
values | enacting_body stringclasses 0
values | regulation_number stringlengths 4 31 ⌀ | year int32 1.96k 2.1k ⌀ | about large_stringlengths 8 1.45k | effective_date stringdate 1958-04-15 00:00:00 2099-09-28 00:00:00 ⌀ | chapter stringlengths 6 549 ⌀ | article stringlengths 4 2.5k ⌀ | chunker stringclasses 1
value | chunker_version stringclasses 1
value | config_hash stringclasses 1
value | profile stringclasses 1
value | attrs stringlengths 15 67 | regulation_references listlengths 0 85 | defined_terms listlengths 0 95 | paragraph_first stringlengths 3 14 ⌀ | paragraph_last stringlengths 3 16 ⌀ | embedding list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c07a89a4fa462917acb6fcccb562204 | sha256:8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | THE COUNCIL OF THE EUROPEAN UNION,
Having regard to the Treaty on the Functioning of the European Union, and in particular Article 207(4), first subparagraph, in conjunction with Article 218(9) thereof,
Having regard to the proposal from the European Commission,
Whereas:
(1) The International Agreement on Olive Oil... | 935 | 1 | 1 | 0 | [
"b00001",
"b00002",
"b00003",
"b00004",
"b00005",
"b00006",
"b00007",
"b00008",
"b00009",
"b00010",
"b00011",
"b00012",
"b00013"
] | L_2022316EN.01008601.doc | http://publications.europa.eu/resource/cellar/00000dbc-76cd-11ed-9887-01aa75ed71a1.0006.02/zip#L_2022316EN.01008601.doc.xml | 8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | null | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | Decision (EU) 2022/2391 | Decision | null | (EU) 2022/2391 | 2,022 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | 2022-11-25 | null | null | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "act"} | [
"Decision (EU) 2019/848",
"Regulation (EU) No 1308/2013"
] | [] | (1) | (8) | [
-0.029937744140625,
0.059356689453125,
-0.008514404296875,
-0.01146697998046875,
-0.052490234375,
-0.050537109375,
0.0213470458984375,
0.0298919677734375,
-0.041412353515625,
-0.04254150390625,
-0.10760498046875,
-0.06414794921875,
-0.0362548828125,
-0.006305694580078125,
-0.043029785156... |
2918a42b136b408f2b6e3ed94b9fdc31 | sha256:8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | The position to be taken on the Union’s behalf, within the Council of Members in its 116th session to be held between 28 November and 2 December 2022 or within the framework of a procedure for adoption of decisions by the Council of Members by an exchange of correspondence initiated before its next regular session in J... | 211 | 1 | 1 | 1 | [
"b00015"
] | L_2022316EN.01008601.doc | http://publications.europa.eu/resource/cellar/00000dbc-76cd-11ed-9887-01aa75ed71a1.0006.02/zip#L_2022316EN.01008601.doc.xml | 8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | null | Article 1 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils › Article 1 | Decision (EU) 2022/2391, Article 1 | Decision | null | (EU) 2022/2391 | 2,022 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | 2022-11-25 | null | Article 1 | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "article"} | [] | [] | null | null | [
0.0078277587890625,
0.06109619140625,
-0.006664276123046875,
-0.0229339599609375,
-0.053985595703125,
-0.023406982421875,
-0.004405975341796875,
0.034515380859375,
-0.0618896484375,
-0.01406097412109375,
-0.08349609375,
-0.06787109375,
-0.041656494140625,
-0.005596160888671875,
-0.048431... |
2150d25b332df2220478c9855250ecc0 | sha256:8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | The position of the Union shall be to support technical adaptations to other IOC methods or documents if they result from the revision of the trade standard applying to olive oils and olive pomace oils COI/T.15/NC No 3/Rev. 19. | 54 | 1 | 1 | 2 | [
"b00017"
] | L_2022316EN.01008601.doc | http://publications.europa.eu/resource/cellar/00000dbc-76cd-11ed-9887-01aa75ed71a1.0006.02/zip#L_2022316EN.01008601.doc.xml | 8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | null | Article 2 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils › Article 2 | Decision (EU) 2022/2391, Article 2 | Decision | null | (EU) 2022/2391 | 2,022 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | 2022-11-25 | null | Article 2 | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "article"} | [] | [] | null | null | [
-0.0240478515625,
0.043701171875,
-0.0085906982421875,
-0.01215362548828125,
-0.0296630859375,
-0.0277557373046875,
0.03271484375,
0.0237274169921875,
-0.0701904296875,
-0.019683837890625,
-0.0927734375,
-0.049713134765625,
-0.0301361083984375,
-0.006710052490234375,
-0.045074462890625,
... |
ca3ab4658a2178216e61713f4586603c | sha256:8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | Where the position referred to in Article 1 is likely to be affected by new scientific or technical information presented before or during the 116th session of the Council of Members, the Commission shall request that the adoption of the decision amending the trade standard applying to olive oils and olive-pomace oils ... | 96 | 1 | 1 | 3 | [
"b00019"
] | L_2022316EN.01008601.doc | http://publications.europa.eu/resource/cellar/00000dbc-76cd-11ed-9887-01aa75ed71a1.0006.02/zip#L_2022316EN.01008601.doc.xml | 8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | null | Article 3 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils › Article 3 | Decision (EU) 2022/2391, Article 3 | Decision | null | (EU) 2022/2391 | 2,022 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | 2022-11-25 | null | Article 3 | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "article"} | [] | [] | null | null | [
-0.0443115234375,
0.047332763671875,
-0.00783538818359375,
0.004169464111328125,
-0.034454345703125,
-0.039215087890625,
0.0269927978515625,
0.00811767578125,
-0.07208251953125,
-0.045166015625,
-0.0926513671875,
-0.08636474609375,
-0.03704833984375,
-0.00684356689453125,
-0.036560058593... |
dc9587d1296d5d7e08aa8b120521fc23 | sha256:8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | This Decision shall enter into force on the date of its adoption. | 13 | 1 | 1 | 4 | [
"b00021"
] | L_2022316EN.01008601.doc | http://publications.europa.eu/resource/cellar/00000dbc-76cd-11ed-9887-01aa75ed71a1.0006.02/zip#L_2022316EN.01008601.doc.xml | 8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | null | Article 4 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils › Article 4 | Decision (EU) 2022/2391, Article 4 | Decision | null | (EU) 2022/2391 | 2,022 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | 2022-11-25 | null | Article 4 | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "article"} | [] | [] | null | null | [
-0.016876220703125,
0.05535888671875,
-0.00733184814453125,
-0.0199432373046875,
-0.0274658203125,
-0.06170654296875,
0.0284576416015625,
0.048065185546875,
-0.045623779296875,
-0.0469970703125,
-0.094970703125,
-0.0498046875,
-0.01346588134765625,
-0.00598907470703125,
-0.03463745117187... |
e751b8d5ac7d33ec551863844e06966b | sha256:8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | Done at Brussels, 25 November 2022.
For the Council
The President
J. Síkela | 27 | 1 | 1 | 5 | [
"b00022",
"b00023",
"b00024",
"b00025"
] | L_2022316EN.01008601.doc | http://publications.europa.eu/resource/cellar/00000dbc-76cd-11ed-9887-01aa75ed71a1.0006.02/zip#L_2022316EN.01008601.doc.xml | 8fb78bd9f7a44d435dca0f2675de150ed65fda36ed523a23b7c3d14158235dbe | null | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | Decision (EU) 2022/2391 | Decision | null | (EU) 2022/2391 | 2,022 | Council Decision (EU) 2022/2391 of 25 November 2022 on the position to be taken on behalf of the European Union within the Council of Members of the International Olive Council, as regards the trade standard applying to olive oils and olive-pomace oils | 2022-11-25 | null | null | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "act"} | [] | [] | null | null | [
-0.0236663818359375,
0.069580078125,
-0.00716400146484375,
-0.00818634033203125,
-0.040740966796875,
-0.058502197265625,
0.0266571044921875,
0.033233642578125,
-0.04693603515625,
-0.037384033203125,
-0.103759765625,
-0.057861328125,
-0.019012451171875,
-0.005840301513671875,
-0.036376953... |
5683f4bb69154d1a22dc5d93bca8569c | sha256:fc788c462abced3d25b1494d35bf56694e1263bfcae8ac717bef2149234d64d9 | THE COUNCIL OF THE EUROPEAN COMMUNITIES,
Having regard to the Treaty establishing the European Economic Community, and in particular Article 113 thereof,
Having regard to the recommendation from the Commission,
Whereas it is necessary to approve the Agreements in the form of Exchanges of Letters between the European... | 106 | 1 | 1 | 0 | [
"b00001",
"b00002",
"b00003",
"b00004",
"b00005"
] | L_1986328EN.01009801.doc | http://publications.europa.eu/resource/cellar/00012784-19a8-4f6a-8457-fc6291daf9cd.0006.04/zip#L_1986328EN.01009801.doc.xml | fc788c462abced3d25b1494d35bf56694e1263bfcae8ac717bef2149234d64d9 | null | Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges of Letters between the European Economic Community and the Swiss Confederation concerning agriculture and fisheries | Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges of Letters between the European Economic Community and the Swiss Confederation concerning agriculture and fisheries | Decision 86/559/EEC | Decision | null | 86/559/EEC | 1,986 | Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges of Letters between the European Economic Community and the Swiss Confederation concerning agriculture and fisheries | 1986-09-15 | null | null | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "act"} | [] | [] | null | null | [
0.029998779296875,
0.0447998046875,
-0.00595855712890625,
-0.0290679931640625,
-0.0013704299926757812,
-0.07861328125,
0.00926971435546875,
-0.04571533203125,
-0.0269622802734375,
-0.01107025146484375,
-0.057342529296875,
-0.0740966796875,
0.04425048828125,
-0.005184173583984375,
-0.0505... |
92424469f09458cafbc24d6c42b58b0f | sha256:fc788c462abced3d25b1494d35bf56694e1263bfcae8ac717bef2149234d64d9 | The Agreements in the form of Exchanges of Letters between the European Economic Community and the Swiss Confederation concerning agriculture and fisheries are hereby approved on behalf of the Community.
The texts of the Exchanges of Letters are attached to this Decision | 47 | 1 | 1 | 1 | [
"b00007",
"b00008"
] | L_1986328EN.01009801.doc | http://publications.europa.eu/resource/cellar/00012784-19a8-4f6a-8457-fc6291daf9cd.0006.04/zip#L_1986328EN.01009801.doc.xml | fc788c462abced3d25b1494d35bf56694e1263bfcae8ac717bef2149234d64d9 | null | Article 1 | Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges of Letters between the European Economic Community and the Swiss Confederation concerning agriculture and fisheries › Article 1 | Decision 86/559/EEC, Article 1 | Decision | null | 86/559/EEC | 1,986 | Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges of Letters between the European Economic Community and the Swiss Confederation concerning agriculture and fisheries | 1986-09-15 | null | Article 1 | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "article"} | [] | [] | null | null | [
0.03204345703125,
0.040771484375,
-0.005458831787109375,
-0.031341552734375,
-0.0189056396484375,
-0.07763671875,
0.0004439353942871094,
-0.03033447265625,
-0.044097900390625,
-0.01294708251953125,
-0.0526123046875,
-0.04998779296875,
0.06011962890625,
-0.0035457611083984375,
-0.05059814... |
4193f355a476549d6620a7d6ba6ed35d | sha256:fc788c462abced3d25b1494d35bf56694e1263bfcae8ac717bef2149234d64d9 | "The President of the Council is hereby authorized to designate the person empowered to sign the Agr(...TRUNCATED) | 26 | 1 | 1 | 2 | [
"b00010"
] | L_1986328EN.01009801.doc | http://publications.europa.eu/resource/cellar/00012784-19a8-4f6a-8457-fc6291daf9cd.0006.04/zip#L_1986328EN.01009801.doc.xml | fc788c462abced3d25b1494d35bf56694e1263bfcae8ac717bef2149234d64d9 | null | Article 2 | "Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges (...TRUNCATED) | Decision 86/559/EEC, Article 2 | Decision | null | 86/559/EEC | 1,986 | "Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges (...TRUNCATED) | 1986-09-15 | null | Article 2 | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "article"} | [] | [] | null | null | [0.0278472900390625,0.0018033981323242188,-0.005420684814453125,-0.05755615234375,-0.0687255859375,-(...TRUNCATED) |
681f7efc37e00d7403639d963dc06584 | sha256:fc788c462abced3d25b1494d35bf56694e1263bfcae8ac717bef2149234d64d9 | Done at Brussels, 15 September 1986.
For the Council
The President
G. Howe | 24 | 1 | 1 | 3 | [
"b00011",
"b00012",
"b00013",
"b00014"
] | L_1986328EN.01009801.doc | http://publications.europa.eu/resource/cellar/00012784-19a8-4f6a-8457-fc6291daf9cd.0006.04/zip#L_1986328EN.01009801.doc.xml | fc788c462abced3d25b1494d35bf56694e1263bfcae8ac717bef2149234d64d9 | null | "Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges (...TRUNCATED) | "Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges (...TRUNCATED) | Decision 86/559/EEC | Decision | null | 86/559/EEC | 1,986 | "Council Decision of 15 September 1986 on the conclusion of the Agreements in the form of Exchanges (...TRUNCATED) | 1986-09-15 | null | null | markup | 1.2 | a06d37a2a3270232 | eu_lex@1.0 | {"unit": "act"} | [] | [] | null | null | [0.0231475830078125,0.047821044921875,-0.00501251220703125,-0.019989013671875,-0.021636962890625,-0.(...TRUNCATED) |
EU legal acts in force (EUR-Lex), snapshot 2026-11-28
The European Union's secondary law in force: regulations, directives, decisions and the rest of CELEX sector 3, in English. The text is the Formex 4 XML that the Publications Office keeps in its Cellar, the store behind EUR-Lex. Each act is read as its newest consolidation where the Publications Office made one, and as adopted otherwise. The data is split into retrieval-ready chunks. Each chunk carries its citation as the Official Journal writes it, the act it belongs to, its location in that act and a link to the exact file it was read from, plus the acts it cites.
- 290,367 chunks from 23,289 acts: 11,404 Regulations, 10,063 Decisions, 974 Directives, 330 Recommendations, 94 Guidelines and the rest (Opinions, Treaties, Joint Actions, Agreements, Common Positions, Rules of Procedure …).
- By unit: 130,267 article chunks, 91,882 annex chunks, 51,355 chunks of an act's own text (title, preamble, recitals, final provisions), 6,590 appendix chunks, 4,388 articles of an annex, 3,457 articles of an agreement the act concludes, and 2,428 more of attached texts. 78,746 chunks are tables.
- One chunk per unit. A unit is split only when it is longer than 4,096 tokens, counted
in the embedder's own tokenizer (Qwen3). Every corpus in this family is built to the same
standard (Ravel
docs/pipeline/STANDARD.md). - 99.4% of chunks have a citation (
identifier, e.g.Regulation (EU) 2016/679, Article 6). The other 0.6% come from 87 acts whose descriptor states no number. - Fetched on 2026-11-28 through the Cellar's public SPARQL endpoint. No account is needed.
Not the official text. Only the Official Journal of the European Union is authentic. Use it where a citation must hold.
Columns
| column | example | meaning |
|---|---|---|
identifier |
Regulation (EU) 2016/679, Article 6 · Decision 2004/527/EC, Annex · Regulation (EU) 2020/1783, Annex I · Recommendation 2014/897/EU |
the citation of the unit the chunk is from; the act alone for its own text |
body |
1. Processing shall be lawful only if and to the extent that at least one of the following applies: (a) the data subject has given consent ... |
the text, verbatim from the Formex, footnotes read in place |
part_n, part_of |
1, 3 |
a unit longer than 4,096 tokens is split on paragraph boundaries, a long table by rows; 31,926 chunks are one part of several |
heading_path |
Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 ... › CHAPTER II Principles › Article 6 Lawfulness of processing |
full location, joined by › |
regulation_type |
Regulation |
the first kind of act the title names (100%) |
regulation_number |
(EU) 2016/679 |
the act's number as its title prints it (99.4%) |
about |
Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons ... |
the act's full title |
chapter |
CHAPTER II Principles |
the outermost division the chunk is in (18.5%: most acts have no chapters) |
article |
Article 6 |
the article's number (81.8%) |
locator_section |
Article 6 Lawfulness of processing |
the chunk's own heading |
year |
2016 |
the year of the act (99.9%) |
effective_date |
the date the descriptor states for the act (99.9%) | |
source_url |
http://publications.europa.eu/resource/cellar/5f2552c2-…/zip#CL2016R0679EN0000020.0001.doc.xml |
the Cellar package the text was read from and the file in it |
source_sha256 |
SHA-256 of that file | |
source_title |
CL2016R0679EN0000020.0001.doc |
the file: CL… is a consolidation, L_… the act as published |
attrs |
{"unit": "article"} or {"unit": "annex", "kind": "table", "table_id": "t0000"} |
JSON; tables are their own chunks, rendered as Markdown |
id, doc_id, seq, block_ids, token_count |
deterministic chunk id, source hash, order and blocks within the act, token count (Qwen3's tokenizer) | |
chunker, chunker_version, config_hash, profile |
markup, 1.2, ..., eu_lex@1.0 |
how it was built |
embedding |
1,024 x float16 | the chunk's dense vector, unit length (see Embeddings) |
enacting_body, locator_page |
empty: the XML states neither |
Units
An act is read from its package descriptor (.doc.xml), which names the act's file and
each annex's in reading order. That way the act and its annexes are one document, and an
annex is cited as part of its act. Read alone, an annex file names no act.
articleis an article of the act;annexandappendixan annex and an annex inside it.annex_articleis an article of an annex, numbered from 1 again, so it is never cited as the act's own article.agreementandagreement_articleare an agreement the act concludes, and its articles.attachmentandattachment_articleare an attached resolution and its articles.actis the act's own text outside any article: title, preamble, recitals, final formula and signature.
Signals
Read from each chunk's own text by rules declared in the profile. Lists are distinct, in order of first appearance; an empty list means none was found.
| column | type | example | share of chunks |
|---|---|---|---|
regulation_references |
list | ["Decision (EU) 2019/848", "Regulation (EU) No 1308/2013"]: acts cited in the forms the Official Journal prints |
30.2% |
defined_terms |
list | ["medium power transformer", "large power transformer"]: terms the chunk defines ('x' means ...) |
2.9% |
paragraph_first, paragraph_last |
string | (1), (8): the first and last numbered paragraph in the chunk |
24.3% |
sources/manifest.jsonl lists every file used (path, URL, bytes, SHA-256), and
sources/current.txt is the snapshot list.
Not included
- 17,973 acts in force that have no English Formex, only XHTML or PDF. A later XHTML dialect would read them.
- Corrigenda, which correct an act's text rather than adding to it.
- 4 packages that would not read: 3 produced no text, and 1 holds an annex with no act around it.
- Images, which have no text.
- Earlier versions of an act: only the newest consolidation is read.
Known issues
source_titleis the file name, not the act's name. The act's name is inidentifierandabout.- Some chunks of an act's own text (preamble, recitals) have no article, so
articleis empty for them. - Some chunks of very wide annex tables (pesticide residue limits above all) are mostly table borders, and their embeddings say little.
- One act, Regulation (EC) No 903/2009, carries the year 2099. The cause is not yet traced.
Embeddings
Every chunk carries its embedding. embedding is the vector of exactly this text:
Citation: {identifier}
Location: {heading_path}
{body}
| model | Qwen/Qwen3-Embedding-0.6B at revision 97b0c614be4d77ee51c0cef4e5f07c00f9eb65b3 |
| pooling | last token, left padding, L2-normalised; max length 8,192 tokens (16 texts were longer and are embedded cut to it) |
| documents | embedded bare, no instruction |
| queries | prefix Instruct: Given a legal or regulatory question, retrieve passages that answer it\nQuery: (the model card's format) |
| precision | float16 |
| served by | vLLM, checked against the transformers reference (float32, on the CPU) on 64 chunks and 3 queries before the run: min cosine 1.00000 |
The vectors are unit length, so cosine similarity is a dot product. They are in the same
space as Azzindani/CA_LAWS_2611, Azzindani/US_CFR_2611, Azzindani/JP_LAWS_2611 and
Azzindani/DE_LAWS_2611, so one index can hold all five.
Technical details
| build | Ravel bundle 1350d6d440c8, manifest SHA-256 37bb5e4373e5fc2b…, source manifest 134c939cc75f444a…; chunker markup 1.2, profile eu_lex@1.0, dialect eu_formex@1.0 |
| size | 290,367 chunks, 23,289 acts, 197,109,089 tokens (Qwen3) |
| chunk length (Qwen3 tokens) | median 160 · p90 3,123 · p99 4,037 · max 13,018 |
| over the budget | 79 chunks are longer than 4,096 tokens: a single paragraph or table row with nowhere to split. 16 of them are longer than 8,192 |
| files | data/train-*.parquet, 7 shards; embedding is a fixed-size list of 1,024 float16 |
| sparse index | the build also fits BM25 (20,000 terms, k1 1.5, b 0.75, over 290,055 chunks) for hybrid search. It is not in this dataset |
| served | loaded into PostgreSQL with pgvector and served by Vera: 145 routing clusters. Its startup canary re-embeds a stored chunk and got cosine 1.00000 (2026-11-29) |
| spot check | through Vera, conditions for lawful processing of personal data ranks Regulation (EU) 2016/679, Article 6 first; CO2 emission standards for new passenger cars puts Regulation (EU) 2019/631, Article 1 in the top 2; maximum residue levels of pesticides in food returns Regulation (EC) No 396/2005, Annex II. Each takes under 100 ms. No labelled EU question set exists yet |
Use
from datasets import load_dataset
from sentence_transformers import SentenceTransformer
import numpy as np
ds = load_dataset("Azzindani/EU_LAWS_2611", split="train")
model = SentenceTransformer("Qwen/Qwen3-Embedding-0.6B")
q = model.encode(["Instruct: Given a legal or regulatory question, retrieve passages that answer it\n"
"Query: conditions for lawful processing of personal data"], normalize_embeddings=True)
E = np.asarray(ds["embedding"], dtype=np.float32) # 290,367 x 1,024
top = np.argsort(-(E @ q[0]))[:5]
for i in top:
print(ds[int(i)]["identifier"], "·", ds[int(i)]["source_url"])
How it was built
Built with Ravel:
ravel sources fetch eu_lex # Cellar SPARQL: 29,396 packages of acts in force
ravel build eu_lex --no-fetch -w work/std --out work/std/bundles/eu_lex \
--base-url http://localhost:8000/v1 --queue # extract (23,289 acts, 4 set aside) · chunk (markup,
# eu_lex@1.0, 4,096 Qwen3 tokens) · signals · sparse
# · verify-backend, then queued
ravel queue run -w work/std --follow # embed (vLLM) · bundle, one corpus at a time
ravel publish eu_lex -w work/std --repo Azzindani/EU_LAWS_2611 # this dataset
There is no code specific to the EU. Every Formex element, unit rule and table layout is
declared in YAML (registry/dialects/eu_formex@1.0.yaml). The citation forms, the act
kinds and the signal patterns are in the profile (registry/profiles/eu_lex@1.0.yaml). The
method is in Ravel's docs/sources/SOURCE_EU_LEX.md.
License
Reuse of EU documents is authorised by Commission Decision 2011/833/EU, on condition that the source is acknowledged. Source: Publications Office of the European Union, Cellar / EUR-Lex (eur-lex.europa.eu). © European Union.
- Downloads last month
- 2