Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
10K<n<100k
Language Creators:
found
Annotations Creators:
other
Source Datasets:
extended|other
ArXiv:
Tags:
relation extraction
License:
phucdev commited on
Commit
7276a56
1 Parent(s): 23082db

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -16
README.md CHANGED
@@ -136,32 +136,34 @@ Note:
136
  The language in the dataset is English.
137
  ## Dataset Structure
138
  ### Data Instances
139
- - **Size of downloaded dataset files:** 8.94 MB
140
- - **Size of the generated dataset:** 11.82 MB
141
 
142
  #### gids
 
 
143
  An example of 'train' looks as follows:
144
  ```json
145
  {
146
- "relation": "org:founded_by",
147
- "sentence": ["Tom", "Thabane", "resigned", "in", "October", "last", "year", "to", "form", "the", "All", "Basotho", "Convention", "-LRB-", "ABC", "-RRB-", ",", "crossing", "the", "floor", "with", "17", "members", "of", "parliament", ",", "causing", "constitutional", "monarch", "King", "Letsie", "III", "to", "dissolve", "parliament", "and", "call", "the", "snap", "election", "."],
148
- "subj_text": 10,
149
- "subj_id": 13,
150
- "obj_text": 0,
151
- "obj_id": 2
152
  }
153
  ```
154
 
155
  #### gids_formatted
 
 
156
  An example of 'train' looks as follows:
157
  ```json
158
  {
159
- "relation": "org:founded_by",
160
- "token": ["Tom", "Thabane", "resigned", "in", "October", "last", "year", "to", "form", "the", "All", "Basotho", "Convention", "-LRB-", "ABC", "-RRB-", ",", "crossing", "the", "floor", "with", "17", "members", "of", "parliament", ",", "causing", "constitutional", "monarch", "King", "Letsie", "III", "to", "dissolve", "parliament", "and", "call", "the", "snap", "election", "."],
161
- "subj_start": 10,
162
- "subj_end": 13,
163
- "obj_start": 0,
164
- "obj_end": 2
165
  }
166
  ```
167
 
@@ -174,16 +176,22 @@ The data fields are the same among all splits.
174
  - `obj_id`: the id of the relation object mention, a `string` feature.
175
  - `subj_text`: the text of the relation subject mention, a `string` feature.
176
  - `obj_text`: the text of the relation object mention, a `string` feature.
177
- - `relation`: the relation label of this instance, a `string` classification label.
178
 
 
 
 
179
  #### gids_formatted
180
  - `token`: the list of tokens of this sentence, obtained with spaCy, a `list` of `string` features.
181
  - `subj_start`: the 0-based index of the start token of the relation subject mention, an `ìnt` feature.
182
  - `subj_end`: the 0-based index of the end token of the relation subject mention, exclusive, an `ìnt` feature.
183
  - `obj_start`: the 0-based index of the start token of the relation object mention, an `ìnt` feature.
184
  - `obj_end`: the 0-based index of the end token of the relation object mention, exclusive, an `ìnt` feature.
185
- - `relation`: the relation label of this instance, a `string` classification label.
186
 
 
 
 
187
  ### Data Splits
188
 
189
  | | Train | Dev | Test |
136
  The language in the dataset is English.
137
  ## Dataset Structure
138
  ### Data Instances
 
 
139
 
140
  #### gids
141
+ - **Size of downloaded dataset files:** 8.94 MB
142
+ - **Size of the generated dataset:** 8.5 MB
143
  An example of 'train' looks as follows:
144
  ```json
145
  {
146
+ "sentence": "War as appropriate. Private Alfred James_Smurthwaite Sample. 26614. 2nd Battalion Yorkshire Regiment. Son of Edward James Sample, of North_Ormesby , Yorks. Died 2 April 1917. Aged 29. Born Ormesby, Enlisted Middlesbrough. Buried BUCQUOY ROAD CEMETERY, FICHEUX. Not listed on the Middlesbrough War Memorial Private Frederick Scott. 46449. 4th Battalion Yorkshire Regiment. Son of William and Maria Scott, of 25, Aspinall St., Heywood, Lancs. Born at West Hartlepool. Died 27 May 1918. Aged 24.",
147
+ "subj_id": "/m/02qt0sv",
148
+ "obj_id": "/m/0fnhl9",
149
+ "subj_text": "James_Smurthwaite",
150
+ "obj_text": "North_Ormesby",
151
+ "relation": 4
152
  }
153
  ```
154
 
155
  #### gids_formatted
156
+ - **Size of downloaded dataset files:** 8.94 MB
157
+ - **Size of the generated dataset:** 11.82 MB
158
  An example of 'train' looks as follows:
159
  ```json
160
  {
161
+ "token": ["announced", "he", "had", "closed", "shop", ".", "Mary", "D.", "Crisp", "Coyle", "opened", "in", "1951", ".", "Stoffey", ",", "a", "Maricopa", "County", "/", "Phoenix", "city", "resident", "and", "longtime", "customer", ",", "bought", "the", "business", "in", "2011", ",", "when", "then", "owners", "were", "facing", "closure", ".", "He", "renovated", "the", "diner", "is", "interior", ",", "increased", "training", "for", "staff", "and", "expanded", "the", "menu", "."],
162
+ "subj_start": 6,
163
+ "subj_end": 9,
164
+ "obj_start": 17,
165
+ "obj_end": 22,
166
+ "relation": 4
167
  }
168
  ```
169
 
176
  - `obj_id`: the id of the relation object mention, a `string` feature.
177
  - `subj_text`: the text of the relation subject mention, a `string` feature.
178
  - `obj_text`: the text of the relation object mention, a `string` feature.
179
+ - `relation`: the relation label of this instance, an `int` classification label.
180
 
181
+ ```python
182
+ {"NA": 0, "/people/person/education./education/education/institution": 1, "/people/person/education./education/education/degree": 2, "/people/person/place_of_birth": 3, "/people/deceased_person/place_of_death": 4}
183
+ ```
184
  #### gids_formatted
185
  - `token`: the list of tokens of this sentence, obtained with spaCy, a `list` of `string` features.
186
  - `subj_start`: the 0-based index of the start token of the relation subject mention, an `ìnt` feature.
187
  - `subj_end`: the 0-based index of the end token of the relation subject mention, exclusive, an `ìnt` feature.
188
  - `obj_start`: the 0-based index of the start token of the relation object mention, an `ìnt` feature.
189
  - `obj_end`: the 0-based index of the end token of the relation object mention, exclusive, an `ìnt` feature.
190
+ - `relation`: the relation label of this instance, an `int` classification label.
191
 
192
+ ```python
193
+ {"NA": 0, "/people/person/education./education/education/institution": 1, "/people/person/education./education/education/degree": 2, "/people/person/place_of_birth": 3, "/people/deceased_person/place_of_death": 4}
194
+ ```
195
  ### Data Splits
196
 
197
  | | Train | Dev | Test |