cyanic-selkie commited on
Commit
376f280
·
verified ·
1 Parent(s): b0d7e38

Adds the entity type tag to the dataset.

Browse files
Files changed (4) hide show
  1. README.md +36 -27
  2. test.parquet +2 -2
  3. train.parquet +2 -2
  4. validation.parquet +2 -2
README.md CHANGED
@@ -7,6 +7,7 @@ language:
7
  tags:
8
  - wikidata
9
  - wikipedia
 
10
  - named-entity-linking
11
  pretty_name: AIDA CoNLL-YAGO Wikidata
12
  size_categories:
@@ -39,6 +40,7 @@ The code for generating the dataset can be found [here](https://github.com/cyani
39
 
40
  ### Supported Tasks
41
 
 
42
  - `named-entity-linking`: The dataset can be used to train a model for Named Entity Linking.
43
 
44
  ### Languages
@@ -61,45 +63,51 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
61
 
62
  ```
63
  {
64
- "uuid": "f647d183-ed81-4513-b607-2c9cbc98930a"
65
- "document_id": 1393,
66
- "text": "Russ Berrie president to retire in July . OAKLAND , N.J. 1996-12-06 Russ Berrie and Co Inc said on Friday that A. Curts Cooke will retire as president and chief operating officer effective July 1 , 1997 . Cooke will provide consulting services to the company through July 1 , 1998 , and will continue to serve as a director , the toy and gift maker said .",
67
  "entities": [
68
  {
69
- "start": 0,
70
- "end": 11,
71
- "pageid": 1448050,
72
- "qid": 6404433
 
73
  },
74
  {
75
- "start": 42,
76
- "end": 49,
77
- "pageid": 124995,
78
- "qid": 795396
 
79
  },
80
  {
81
- "start": 52,
82
- "end": 56,
83
- "pageid": 21648,
84
- "qid": 1408
 
85
  },
86
  {
87
- "start": 68,
88
- "end": 90,
89
- "pageid": null,
90
- "qid": null
 
91
  },
92
  {
93
- "start": 111,
94
- "end": 125,
95
- "pageid": null,
96
- "qid": null
 
97
  },
98
  {
99
- "start": 205,
100
- "end": 210,
101
- "pageid": null,
102
- "qid": null
 
103
  }
104
  ]
105
  }
@@ -114,6 +122,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
114
  - `entities`: a list of structs representing entities, each entity has:
115
  - `start`: an integer representing the inclusive starting UTF-8 code point of the entity
116
  - `end`: an integer representing the exclusive ending UTF-8 code point of the entity
 
117
  - `qid`: an integer representing the Wikidata QID this entity refers to; it can be null if the entity didn't exist in Wikidata at the time of the creation of the original dataset
118
  - `pageid`: an integer representing the Wikipedia pageID this entity refers to; it can be null if the entity didn't exist in Wikipedia at the time of the creation of the original dataset
119
 
 
7
  tags:
8
  - wikidata
9
  - wikipedia
10
+ - named-entity-recognition
11
  - named-entity-linking
12
  pretty_name: AIDA CoNLL-YAGO Wikidata
13
  size_categories:
 
40
 
41
  ### Supported Tasks
42
 
43
+ - `named-entity-recognition`: The dataset can be used to train a model for Named Entity Recognition.
44
  - `named-entity-linking`: The dataset can be used to train a model for Named Entity Linking.
45
 
46
  ### Languages
 
63
 
64
  ```
65
  {
66
+ "uuid": "52360a8f-f36f-4b17-b9b4-e83827bc716a"
67
+ "document_id": 1222,
68
+ "text": "Woman charged over N. Ireland arms find . BELFAST 1996-12-06 A woman was charged on Friday with terrorist offences after three Irish Republican Army mortar bombs were found in a Belfast house , police said . Police said the bombs were found hidden with incendiaries and ammunition that were blocked up behind a kitchen wall . The 35-year-old woman was charged with possession of explosives with intent to endanger life and making a house available for the purpose of terrorism , police said . She will appear in court on Saturday . Her name was not released . Security forces said the bombs may have been intended for use in a pre-Christmas bombing campaign by the guerrilla group that is battling to oust Britain from Northern Ireland .",
69
  "entities": [
70
  {
71
+ "start": 19,
72
+ "end": 29,
73
+ "tag": 2,
74
+ "pageid": 21265,
75
+ "qid": 26
76
  },
77
  {
78
+ "start": 42,
79
+ "end": 49,
80
+ "tag": 2,
81
+ "pageid": 5046,
82
+ "qid": 10686
83
  },
84
  {
85
+ "start": 127,
86
+ "end": 148,
87
+ "tag": 3,
88
+ "pageid": 2261091,
89
+ "qid": 175284
90
  },
91
  {
92
+ "start": 178,
93
+ "end": 185,
94
+ "tag": 2,
95
+ "pageid": 5046,
96
+ "qid": 10686
97
  },
98
  {
99
+ "start": 706,
100
+ "end": 713,
101
+ "tag": 2,
102
+ "pageid": 31717,
103
+ "qid": 145
104
  },
105
  {
106
+ "start": 719,
107
+ "end": 735,
108
+ "tag": 2,
109
+ "pageid": 21265,
110
+ "qid": 26
111
  }
112
  ]
113
  }
 
122
  - `entities`: a list of structs representing entities, each entity has:
123
  - `start`: an integer representing the inclusive starting UTF-8 code point of the entity
124
  - `end`: an integer representing the exclusive ending UTF-8 code point of the entity
125
+ - `tag`: an integer representing the entity type (1 - person, 2 - location, 3 - organization, 4 - miscellaneous)
126
  - `qid`: an integer representing the Wikidata QID this entity refers to; it can be null if the entity didn't exist in Wikidata at the time of the creation of the original dataset
127
  - `pageid`: an integer representing the Wikipedia pageID this entity refers to; it can be null if the entity didn't exist in Wikipedia at the time of the creation of the original dataset
128
 
test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:926269e6eee7d8eae707f056b34022684ebd938f45e7b8f9f0f1e822f1d019d5
3
- size 161738
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8569b5509d63034c4752227aee88e36cbe277c13101957ee328de817f04743d
3
+ size 165894
train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:32bd3dd27bc3c7f5b12d622ceee1162dda5c8eaccc39c5b6d44f82b1222ee221
3
- size 629272
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6916931efdedd906abcff9bb5625d2135429301e191daa7adf0fa307707203a0
3
+ size 645362
validation.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9573ddd7ad545bd4d7168ad5eee6bafdf657d7ee7a1b1f78fdb5b7cb8ade3cf0
3
- size 195038
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9368145771b68376d9d6fc1bb116be6e6b242f6784b74020ba39be2715185811
3
+ size 199477