Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
asahi417 commited on
Commit
e291650
1 Parent(s): 8e24b9b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -240
README.md CHANGED
@@ -27,256 +27,21 @@ The number of triples in each split is summarized in the table below.
27
 
28
  - Number of instances (`filter_unified.min_entity_4_max_predicate_10`)
29
 
30
- | | train | validation | test |
31
  |:--------------------------------|--------:|-------------:|-------:|
32
  | number of pairs | 603 | 68 | 122 |
33
  | number of unique relation types | 157 | 52 | 34 |
34
 
35
- - Number of pairs in each relation type (`filter_unified.min_entity_4_max_predicate_10`)
36
-
37
- | | number of pairs (train) | number of pairs (validation) | number of pairs (test) |
38
- |:----------------------------------------------------------|--------------------------:|-------------------------------:|-------------------------:|
39
- | [Academic Subject] studies [Topic] | 3 | 0 | 0 |
40
- | [Airline] is in [Airline Alliance] | 3 | 2 | 0 |
41
- | [Army] has [Fleet] | 9 | 1 | 0 |
42
- | [Art Work] follows after [Art Work] | 2 | 1 | 0 |
43
- | [Art Work] is a translation of [Art Work] | 2 | 1 | 0 |
44
- | [Art Work] is painted by [Person] | 1 | 2 | 0 |
45
- | [Art Work] is sculpted by [Person] | 4 | 0 | 0 |
46
- | [Art Work] is written by [Person] | 1 | 0 | 0 |
47
- | [Artifact] has a shape of [Shape] | 1 | 0 | 0 |
48
- | [Artifact] is a patron saint of [Country] | 4 | 0 | 0 |
49
- | [Artifact] is a type of [Type] | 3 | 0 | 0 |
50
- | [Artifact] is built on [Date] | 5 | 0 | 0 |
51
- | [Artifact] is discovered by [Person] | 4 | 0 | 0 |
52
- | [Artifact] is formation of [Army] | 1 | 1 | 0 |
53
- | [Artifact] is formed from [Artifact] | 9 | 0 | 0 |
54
- | [Artifact] is influenced by [Artifact] | 6 | 1 | 0 |
55
- | [Artifact] is maintained by [Company] | 6 | 2 | 0 |
56
- | [Artifact] is name of [Artifact] | 10 | 0 | 0 |
57
- | [Artifact] is named after [Person] | 5 | 0 | 0 |
58
- | [Artifact] is the OS of [Software] | 3 | 0 | 0 |
59
- | [Artifact] is the platform of [Game] | 4 | 0 | 0 |
60
- | [Artifact] is used for its namesake of [Artifact] | 3 | 0 | 0 |
61
- | [Artists] leads [Movement] | 7 | 0 | 0 |
62
- | [Award] is presented by [Company] | 1 | 0 | 0 |
63
- | [Bank] is the central bank of [Country] | 1 | 0 | 0 |
64
- | [Bridge] crosses [Artifact] | 3 | 1 | 0 |
65
- | [Bridge] crosses [River] | 1 | 0 | 0 |
66
- | [Building] has an architectural style of [Person] | 5 | 0 | 0 |
67
- | [City] is a twin city of [City] | 6 | 2 | 0 |
68
- | [City] is in [Country] | 1 | 0 | 0 |
69
- | [City] is the capital of [Country] | 2 | 0 | 0 |
70
- | [Company] is a subsidiary of [Company] | 3 | 1 | 0 |
71
- | [Company] is in a sector of [Sector] | 2 | 0 | 0 |
72
- | [Company] operates [Vehicle] | 1 | 0 | 0 |
73
- | [Company] owns [Product] | 3 | 1 | 0 |
74
- | [Company] publishes [Art Work] | 7 | 0 | 0 |
75
- | [Competition] is a league of [Sport] | 2 | 2 | 0 |
76
- | [Council] is the council of [Country] | 6 | 0 | 0 |
77
- | [Country] has [History] | 2 | 0 | 0 |
78
- | [Country] is [Political Party] assembly | 4 | 1 | 0 |
79
- | [Country] is enclaved by [Country] | 4 | 0 | 0 |
80
- | [Country] is in [Continent] | 2 | 0 | 0 |
81
- | [Country] joins [War] | 2 | 1 | 0 |
82
- | [Country]'s county seat is [Location] | 6 | 0 | 0 |
83
- | [Country]'s flag is [Artifact] | 1 | 0 | 0 |
84
- | [Culture] is originated in [Country] | 2 | 0 | 0 |
85
- | [Currency] is used in [Country] | 3 | 2 | 0 |
86
- | [Disease] is caused by [Virus] | 4 | 0 | 0 |
87
- | [Event] is since [Date] | 3 | 0 | 0 |
88
- | [Event] takes place at [Location] | 4 | 0 | 0 |
89
- | [Fictional Character] is a mascot of [Sport Team] | 2 | 1 | 0 |
90
- | [Fictional Character] is from [Art Work] | 6 | 1 | 0 |
91
- | [Food] is made from [Ingredient] | 6 | 0 | 0 |
92
- | [Government] is the government of [Country] | 4 | 0 | 0 |
93
- | [Government] is the jurisdiction of [City] | 1 | 0 | 0 |
94
- | [Group] has a section of [Group] | 6 | 1 | 0 |
95
- | [Group] is a predecessor of [Group] | 5 | 0 | 0 |
96
- | [Group] is a religious order of [Group] | 1 | 0 | 0 |
97
- | [Group] is created on [Date] | 6 | 0 | 0 |
98
- | [Group] is founded at [Location] | 9 | 0 | 0 |
99
- | [Group] is founded by [Person] | 6 | 0 | 0 |
100
- | [Group] is founded on [Date] | 2 | 0 | 0 |
101
- | [Group] is legislature of [Country] | 2 | 0 | 0 |
102
- | [Group] is the parliament of [Country] | 2 | 0 | 0 |
103
- | [Group]'s leader is [Person] | 3 | 0 | 0 |
104
- | [Head of Government] is appointed by [Head of Government] | 1 | 0 | 0 |
105
- | [Island] is [Country] | 1 | 0 | 0 |
106
- | [Job] is the head of state in [Location] | 1 | 0 | 0 |
107
- | [Land] is [Country] | 1 | 1 | 0 |
108
- | [Language] consists of [Alphabet] | 4 | 0 | 0 |
109
- | [Language] is a dialect of [Language] | 5 | 0 | 0 |
110
- | [Location] is a sovereign state of [Location] | 7 | 1 | 0 |
111
- | [Location] is an Indian reservation in [Country] | 9 | 0 | 0 |
112
- | [Location] is an administrative center of [Location] | 6 | 0 | 0 |
113
- | [Location] is exclave of [Country] | 4 | 0 | 0 |
114
- | [Location] is in [Planet] | 1 | 0 | 0 |
115
- | [Location] is next to [Location] | 1 | 0 | 0 |
116
- | [Location] is on the coast of [Ocean] | 5 | 0 | 0 |
117
- | [Location] is split from [Location] | 2 | 0 | 0 |
118
- | [Location] is the highest peak in [Country] | 2 | 0 | 0 |
119
- | [Medication] is for [Disease] | 4 | 0 | 0 |
120
- | [Movie] is [Genre] | 9 | 1 | 0 |
121
- | [Movie] is a libretto by [Person] | 6 | 0 | 0 |
122
- | [Movie] is a spinoff of [Movie] | 1 | 0 | 0 |
123
- | [Movie] is in the universe of [Art Work] | 1 | 0 | 0 |
124
- | [Movie] is produced by [Company] | 6 | 1 | 0 |
125
- | [Music Artist] is [Genre] | 7 | 0 | 0 |
126
- | [Music] is made by [Artist] | 1 | 1 | 0 |
127
- | [Music] is released on [Date] | 4 | 0 | 0 |
128
- | [Organization]'s ideology is [Ideology] | 5 | 0 | 0 |
129
- | [PC]'s cpu is [CPU] | 8 | 1 | 0 |
130
- | [Person] and [Person] are married | 5 | 0 | 0 |
131
- | [Person] belongs to [Record Label] | 1 | 1 | 0 |
132
- | [Person] built [Artifact] | 5 | 0 | 0 |
133
- | [Person] causes [War] | 2 | 0 | 0 |
134
- | [Person] creates [Work] | 4 | 0 | 0 |
135
- | [Person] dies at [Location] | 5 | 2 | 0 |
136
- | [Person] dies on [Date] | 5 | 1 | 0 |
137
- | [Person] has a house in [Location] | 9 | 0 | 0 |
138
- | [Person] is [Occupation] | 3 | 0 | 0 |
139
- | [Person] is [Sex] | 2 | 1 | 0 |
140
- | [Person] is a candidate of [Election] | 3 | 1 | 0 |
141
- | [Person] is a chancellor of [Country] | 4 | 0 | 0 |
142
- | [Person] is a coach of [Sport Team] | 3 | 0 | 0 |
143
- | [Person] is a concubine of [Person] | 4 | 0 | 0 |
144
- | [Person] is a consort of [Person] | 3 | 1 | 0 |
145
- | [Person] is a husband of [Person] | 2 | 0 | 0 |
146
- | [Person] is a manager of [Sport Team] | 3 | 0 | 0 |
147
- | [Person] is a member of [Music Group] | 6 | 1 | 0 |
148
- | [Person] is a mistress of [Person] | 4 | 0 | 0 |
149
- | [Person] is a premier of [Group] | 3 | 0 | 0 |
150
- | [Person] is a presenter of [TV show] | 2 | 0 | 0 |
151
- | [Person] is a student of [Person] | 1 | 0 | 0 |
152
- | [Person] is active in [Location] | 2 | 1 | 0 |
153
- | [Person] is awarded by [Award] | 5 | 0 | 0 |
154
- | [Person] is born in [Country] | 5 | 1 | 0 |
155
- | [Person] is born in [Location] | 4 | 1 | 0 |
156
- | [Person] is born on [Date] | 5 | 2 | 0 |
157
- | [Person] is buried at [Tomb] | 5 | 0 | 0 |
158
- | [Person] is drafted by [Group] | 3 | 0 | 0 |
159
- | [Person] is from [Era] | 6 | 0 | 0 |
160
- | [Person] is in [Prison] | 3 | 0 | 0 |
161
- | [Person] is killed by [Person] | 2 | 1 | 0 |
162
- | [Person] is played at [Group] | 7 | 3 | 0 |
163
- | [Person] is the chair of [Group] | 1 | 0 | 0 |
164
- | [Person] is the emperor of [Country] | 6 | 0 | 0 |
165
- | [Person] is the leader of [Dynasty] | 4 | 1 | 0 |
166
- | [Person] is the mayor of [City] | 2 | 0 | 0 |
167
- | [Person] is the monarch of [Country] | 4 | 0 | 0 |
168
- | [Person] is the president of [Country] | 3 | 1 | 0 |
169
- | [Person] is the prime minister of [Country] | 3 | 1 | 0 |
170
- | [Person] is the queen of [Country] | 5 | 0 | 0 |
171
- | [Person] live in [Location] | 8 | 1 | 0 |
172
- | [Person] plays in [Movie] | 3 | 0 | 0 |
173
- | [Person] plays in [Sport Team] | 8 | 0 | 0 |
174
- | [Person] studies [Academic Subject] | 6 | 1 | 0 |
175
- | [Person] studies at [School] | 9 | 1 | 0 |
176
- | [Pet] is a pet of [Person] | 1 | 0 | 0 |
177
- | [Planet] is in the orbit of [Orbit] | 1 | 0 | 0 |
178
- | [Play] is performed by [Person] | 7 | 2 | 0 |
179
- | [Railway] is in [Location] | 4 | 0 | 0 |
180
- | [Religion] is a denomination by [Artifact] | 2 | 2 | 0 |
181
- | [River] drains [Location] | 5 | 0 | 0 |
182
- | [River] is a tributary of [River] | 4 | 0 | 0 |
183
- | [River] outflows to [Location] | 3 | 0 | 0 |
184
- | [Software] is under license of [License] | 5 | 3 | 0 |
185
- | [Software] is used for [Purpose] | 3 | 0 | 0 |
186
- | [Software] is written in [Programming Language] | 6 | 1 | 0 |
187
- | [Sport Team] is an affiliate of [Sport Team] | 2 | 1 | 0 |
188
- | [Sport Team] plays at [Competition] | 5 | 0 | 0 |
189
- | [Sport Team] plays in [Competition] | 8 | 0 | 0 |
190
- | [Sport Team] wins [Competition] | 5 | 0 | 0 |
191
- | [Sport Team]'s home field is [Location] | 4 | 0 | 0 |
192
- | [Star] is a [Constellation] | 1 | 0 | 0 |
193
- | [State] is a state of [Country] | 1 | 0 | 0 |
194
- | [System] is a system in [Artifact] | 7 | 2 | 0 |
195
- | [Town] is in [Location] | 1 | 0 | 0 |
196
- | [Art Work] is directed by [Person] | 0 | 1 | 0 |
197
- | [Planet] is a satellite of [Planet] | 0 | 2 | 0 |
198
- | [Act] is signed by [Person] | 0 | 0 | 2 |
199
- | [Airline] has a hub in [Location] | 0 | 0 | 7 |
200
- | [Artifact] is a coat of arms of [Group] | 0 | 0 | 5 |
201
- | [Artifact] is a result of [Artifact] | 0 | 0 | 1 |
202
- | [Artifact] is found in [Artifact] | 0 | 0 | 4 |
203
- | [Artifact] is in [Color] | 0 | 0 | 4 |
204
- | [Artifact] is manufactured by [Company] | 0 | 0 | 5 |
205
- | [Artist] is produced by [Person] | 0 | 0 | 1 |
206
- | [City] is a capital town of [Country] | 0 | 0 | 6 |
207
- | [Country] claims [City] | 0 | 0 | 1 |
208
- | [Country] is a member of [Group] | 0 | 0 | 4 |
209
- | [Event] starts on [Date] | 0 | 0 | 2 |
210
- | [Group] is [Religion] | 0 | 0 | 6 |
211
- | [Group] is legislative body of [Country] | 0 | 0 | 8 |
212
- | [Group] is merged into [Group] | 0 | 0 | 4 |
213
- | [Group] speaks [Language] | 0 | 0 | 5 |
214
- | [License] is approved by [Organization] | 0 | 0 | 3 |
215
- | [Location] is a ballpark of [Sport Team] | 0 | 0 | 3 |
216
- | [Location] is a river mouth of [Bay] | 0 | 0 | 1 |
217
- | [Movie] is screenplayed by [Person] | 0 | 0 | 5 |
218
- | [Movie] stars [Actor] | 0 | 0 | 2 |
219
- | [Music] is an anthem of [Country] | 0 | 0 | 1 |
220
- | [Occupation] lives in [Location] | 0 | 0 | 1 |
221
- | [Person] belongs to [Political Party] | 0 | 0 | 10 |
222
- | [Person] is a chief executive of [Company] | 0 | 0 | 1 |
223
- | [Person] is a child of [Person] | 0 | 0 | 2 |
224
- | [Person] is the king of [Country] | 0 | 0 | 4 |
225
- | [Person] plays [Instrument] | 0 | 0 | 6 |
226
- | [Person] speaks [Language] | 0 | 0 | 1 |
227
- | [Radio Program] is broadcasted on [Radio Channel] | 0 | 0 | 3 |
228
- | [Software] is developed by [Company] | 0 | 0 | 1 |
229
- | [Station] is the terminus of [Railway] | 0 | 0 | 3 |
230
- | [TV Series] is broadcasted on [TV Channel] | 0 | 0 | 1 |
231
- | [Timezone] is a timezon in [Country] | 0 | 0 | 9 |
232
-
233
- ### Other Statistics
234
-
235
- | | number of pairs | number of unique relation types |
236
- |:--------------------------------------------|------------------:|----------------------------------:|
237
- | min_entity_1_max_predicate_100 (train) | 7075 | 212 |
238
- | min_entity_1_max_predicate_100 (validation) | 787 | 166 |
239
- | min_entity_1_max_predicate_50 (train) | 4131 | 212 |
240
- | min_entity_1_max_predicate_50 (validation) | 459 | 156 |
241
- | min_entity_1_max_predicate_25 (train) | 2358 | 212 |
242
- | min_entity_1_max_predicate_25 (validation) | 262 | 144 |
243
- | min_entity_1_max_predicate_10 (train) | 1134 | 210 |
244
- | min_entity_1_max_predicate_10 (validation) | 127 | 94 |
245
- | min_entity_2_max_predicate_100 (train) | 4873 | 195 |
246
- | min_entity_2_max_predicate_100 (validation) | 542 | 139 |
247
- | min_entity_2_max_predicate_50 (train) | 3002 | 193 |
248
- | min_entity_2_max_predicate_50 (validation) | 334 | 139 |
249
- | min_entity_2_max_predicate_25 (train) | 1711 | 195 |
250
- | min_entity_2_max_predicate_25 (validation) | 191 | 113 |
251
- | min_entity_2_max_predicate_10 (train) | 858 | 194 |
252
- | min_entity_2_max_predicate_10 (validation) | 96 | 81 |
253
- | min_entity_3_max_predicate_100 (train) | 3659 | 173 |
254
- | min_entity_3_max_predicate_100 (validation) | 407 | 116 |
255
- | min_entity_3_max_predicate_50 (train) | 2336 | 174 |
256
- | min_entity_3_max_predicate_50 (validation) | 260 | 115 |
257
- | min_entity_3_max_predicate_25 (train) | 1390 | 173 |
258
- | min_entity_3_max_predicate_25 (validation) | 155 | 94 |
259
- | min_entity_3_max_predicate_10 (train) | 689 | 171 |
260
- | min_entity_3_max_predicate_10 (validation) | 77 | 59 |
261
- | min_entity_4_max_predicate_100 (train) | 2995 | 158 |
262
- | min_entity_4_max_predicate_100 (validation) | 333 | 105 |
263
- | min_entity_4_max_predicate_50 (train) | 1989 | 157 |
264
- | min_entity_4_max_predicate_50 (validation) | 222 | 102 |
265
- | min_entity_4_max_predicate_25 (train) | 1221 | 158 |
266
- | min_entity_4_max_predicate_25 (validation) | 136 | 76 |
267
- | min_entity_4_max_predicate_10 (train) | 603 | 157 |
268
- | min_entity_4_max_predicate_10 (validation) | 68 | 52 |
269
-
270
 
271
  ### Filtering to Remove Noise
272
  We apply filtering to keep triples with named-entities in either of head or tail (`named-entity filter`).
273
  Then, we remove predicates if they have less than three triples (`rare-predicate filter`).
274
  After the filtering, we manually remove too vague and noisy predicate, and unify same predicates with different names (see the annotation [here](https://huggingface.co/datasets/relbert/t_rex/raw/main/predicate_manual_check.csv)).
275
 
276
- | Dataset | `raw` | `named-entity filter` | `rare-predicate` |
277
- |:----------|-----------:|-----------------------:|-----------------:|
278
- | Triples | 20,877,472 | 12,561,573 | 12,561,250 |
279
- | Predicate | 1,616 | 1,470 | 1,237 |
280
 
281
  ### Filtering to Purify the Dataset
282
  We reduce the size of the dataset by applying filtering based on the number of predicates and entities in the triples.
 
27
 
28
  - Number of instances (`filter_unified.min_entity_4_max_predicate_10`)
29
 
30
+ | | train | validation | test |
31
  |:--------------------------------|--------:|-------------:|-------:|
32
  | number of pairs | 603 | 68 | 122 |
33
  | number of unique relation types | 157 | 52 | 34 |
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  ### Filtering to Remove Noise
37
  We apply filtering to keep triples with named-entities in either of head or tail (`named-entity filter`).
38
  Then, we remove predicates if they have less than three triples (`rare-predicate filter`).
39
  After the filtering, we manually remove too vague and noisy predicate, and unify same predicates with different names (see the annotation [here](https://huggingface.co/datasets/relbert/t_rex/raw/main/predicate_manual_check.csv)).
40
 
41
+ | Dataset | `raw` | `named-entity filter` | `rare-predicate` | `unify-denoise-predicate` |
42
+ |:----------|-----------:|-----------------------:|-----------------:|--------------------------:|
43
+ | Triples | 20,877,472 | 12,561,573 | 12,561,250 | 432,781 |
44
+ | Predicate | 1,616 | 1,470 | 1,237 | 246 |
45
 
46
  ### Filtering to Purify the Dataset
47
  We reduce the size of the dataset by applying filtering based on the number of predicates and entities in the triples.