File size: 7,281 Bytes
771fa58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dd8ea10
771fa58
 
 
9b8609d
 
771fa58
 
 
 
 
 
 
 
 
9b8609d
771fa58
6b11cf9
771fa58
6b11cf9
9b8609d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
771fa58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9b8609d
1f8922b
771fa58
1f8922b
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
---
license: cc-by-sa-4.0
task_categories:
- text-classification
- translation
language:
- de
- fr
- it
pretty_name: Swiss Legislation
size_categories:
- 100K<n<1M
---

# Dataset Card for Swiss Legislation

## Table of Contents
- [Table of Contents](#table-of-contents)
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)

## Dataset Description

- **Homepage:**
- **Repository:**
- **Paper:**
- **Leaderboard:**
- **Point of Contact:**

### Dataset Summary

Swiss Legislation is a multilingual, diachronic dataset of 36K Swiss laws. This dataset is part of a challenging Information Retreival task.
### Supported Tasks and Leaderboards

### Languages
  
The total number of texts in the dataset is 35,698. The dataset is saved in _lexfind_v2.jsonl_ format.
Switzerland has four official languages German, French, Italian and Romanch with some additional English laws being represenated. Laws are written by legal experts.
36K    & 18K      & 11K  & 6K  & 534 & 207
| Language   | Subset     | Number of Documents  | 
|------------|------------|----------------------|  
| German     | **de**     | 18K                  |
| French     | **fr**     | 11K                  |
| Italian    | **it**     | 6K                   |
| Romanch    | **rm**     | 534                  |
| English    | **en**     | 207                  |

## Dataset Structure

### Data Fields

Each entry in the dataset is a dictionary with the following keys:
- `canton`: the canton of origin of the legislation
  - example: "ag"
- `language`: the language of the legislation
  - example: "de"
- `uuid`: a unique identifier for the legislation
  - example: "ec312f57-05fe-4552-ba50-8c9c269e0f3b"
- `title`: the title of the legislation
  - example: "Gesetz über die Geoinformation im Kanton Aargau"
- `short`: a short description of the legislation
  - example: "Kantonales Geoinformationsgesetz"
- `abbreviation`: an abbreviation for the legislation
  - example: "KGeoIG"
- `sr_number`: a reference number for the legislation
  - example: "740.100"
- `is_active`: whether the legislation is currently in force
  - example: true
- `version_active_since`: the date since when the legislation's current version is active
  - example: "2021-09-01"
- `family_active_since`: the date since when the legislation's current version's family is active
  - example: "2011-05-24"
- `version_inactive_since`: the date since when the legislation's current version is inactive
  - example: null
- `version_found_at`: the date the legislation's current version was found
  - example: "2021-09-01"
- `pdf_url`: a link to the legislation's pdf
  - example: "https://www.lexfind.ch/tol/1557/de"
- `html_url`: a link to the legislation's html
  - example: "https://gesetzessammlungen.ag.ch/app/de/texts_of_law/740.100")_
- `pdf_content`: the legislation's pdf content
  - example: "740.100 - Gesetz über..."
- `html_content`: the legislation's html content
  - example: ""
- `changes`: a list of changes made to the legislation
  - example: []
- `history`: a list of the legislation's history
  - example: []
- `quotes`: a list of quotes from the legislation
  - example: []

### Data Instances
[More Information Needed]
### Data Fields
[More Information Needed]
### Data Splits

1. 'ch': Switzerland (Federal) - 15840
2. 'fr': Fribourg - 1633
3. 'be': Bern - 1344
4. 'vs': Valais - 1328
5. 'gr': Graubünden - 1205
6. 'ne': Neuchâtel - 1115
7. 'zh': Zurich - 974
8. 'bs': Basel-Stadt - 899
9. 'bl': Basel-Landschaft - 863
10. 'vd': Vaud - 870
11. 'ge': Geneva - 837
12. 'sg': St. Gallen - 764
13. 'ju': Jura - 804
14. 'zg': Zug - 632
15. 'ti': Ticino - 627
16. 'lu': Lucerne - 584
17. 'so': Solothurn - 547
18. 'ow': Obwalden - 513
19. 'ik': Interkantonal - 510
20. 'sh': Schaffhausen - 469
21. 'gl': Glarus - 467
22. 'tg': Thurgau - 453
23. 'sz': Schwyz - 423
24. 'ai': Appenzell Innerrhoden - 416
25. 'ag': Aargau - 483
26. 'ar': Appenzell Ausserrhoden - 330
27. 'nw': Nidwalden - 401
28. 'ur': Uri - 367
29. 
## Dataset Creation
### Curation Rationale
### Source Data
#### Initial Data Collection and Normalization

The original data are published from the Swiss Federal Supreme Court (https://www.bger.ch) in unprocessed formats (HTML). The documents were downloaded from the Entscheidsuche portal (https://entscheidsuche.ch) in HTML. 

#### Who are the source language producers?

The decisions are written by the judges and clerks in the language of the proceedings.

### Annotations
#### Annotation process

#### Who are the annotators?

Metadata is published by the Swiss Federal Supreme Court (https://www.bger.ch).

### Personal and Sensitive Information

The dataset contains publicly available court decisions from the Swiss Federal Supreme Court. Personal or sensitive information has been anonymized by the court before publication according to the following guidelines: https://www.bger.ch/home/juridiction/anonymisierungsregeln.html.

## Considerations for Using the Data
### Social Impact of Dataset
[More Information Needed]
### Discussion of Biases
[More Information Needed]
### Other Known Limitations
[More Information Needed]
## Additional Information
### Dataset Curators
[More Information Needed]
### Licensing Information

We release the data under CC-BY-4.0 which complies with the court licensing (https://www.bger.ch/files/live/sites/bger/files/pdf/de/urteilsveroeffentlichung_d.pdf)
© Swiss Federal Supreme Court, 2002-2022

The copyright for the editorial content of this website and the consolidated texts, which is owned by the Swiss Federal Supreme Court, is licensed under the Creative Commons Attribution 4.0 International licence. This means that you can re-use the content provided you acknowledge the source and indicate any changes you have made.
Source: https://www.bger.ch/files/live/sites/bger/files/pdf/de/urteilsveroeffentlichung_d.pdf

### Citation Information

Please cite our [ArXiv-Preprint](https://arxiv.org/abs/2306.09237)
```
@misc{rasiah2023scale,
      title={SCALE: Scaling up the Complexity for Advanced Language Model Evaluation}, 
      author={Vishvaksenan Rasiah and Ronja Stern and Veton Matoshi and Matthias Stürmer and Ilias Chalkidis and Daniel E. Ho and Joel Niklaus},
      year={2023},
      eprint={2306.09237},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
```