baobab-odashi commited on
Commit
6f7a8d6
1 Parent(s): f7beff4

Upload data and README

Browse files
Files changed (3) hide show
  1. README.md +159 -3
  2. data/answered.jsonl +0 -0
  3. data/not_answered.jsonl +0 -0
README.md CHANGED
@@ -1,3 +1,159 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Japanese Wikipedia Human Retrieval dataset
2
+
3
+ This is a Japanese question answereing dataset with retrieval on Wikipedia articles
4
+ by trained human workers.
5
+
6
+ ## About the dataset
7
+
8
+ Each entry represents a single QA session:
9
+ given a question sentence, the responsible worker tried to search for the appropriate
10
+ information from Wikipedia using the search box and/or inner hyperlinks, and constructs
11
+ the answer paragraphs according to the search results.
12
+ The whole process of each retrieval is recorded manually by the same worker.
13
+
14
+ The dataset consists of following data:
15
+
16
+ * A question sentence
17
+ * The final answer paragraph (whole sentence, and chunks with citations)
18
+ * List of references with either extracted paragraph or summarization from a Wikipedia
19
+ article
20
+
21
+ As well as the successful session, we also recorded the failed session: the worker
22
+ failed to construct the answer from the search results. In this case we recorded
23
+ at least the retrieval process despite lack of the answer.
24
+
25
+ We release this version of the dataset with the following dataset chunks:
26
+
27
+ * "answered" chunk (838 examples): question, answer, and retrieval process
28
+ * "not_answered" chunk (433 examples): question and retrieval process (no answer)
29
+
30
+ ## Data structure
31
+
32
+ Each entry has the following schema:
33
+
34
+ ```js
35
+ {
36
+ "id": number, // Entry ID
37
+ "question": string, // Question sentence
38
+
39
+ // Answer section
40
+ // Absense of this field means that the worker failed to answer the question.
41
+ "answer": {
42
+ "text": string, // Answer paragraph
43
+
44
+ // Answer sentences
45
+ // The answer paragraph is generated by joining all texts in this list.
46
+ "sentences": [
47
+ {
48
+ "text": string, // Answer sentence
49
+ "citations": number[], // List of reference IDs for citation
50
+ }
51
+ ],
52
+ },
53
+
54
+ // Reference list
55
+ "references": [
56
+ {
57
+ // Either "search" or "link" field exists.
58
+
59
+ // Information for direct search (search box on Wikipedia)
60
+ "search": {
61
+ "keywords": string[], // List of words input into the search box
62
+ },
63
+
64
+ // Information for hyperlinks
65
+ "link": {
66
+ "referrer": number, // The reference ID at which the worker clicked the hyperlink
67
+ }
68
+
69
+ // Extracted content
70
+ "page": {
71
+ "title": string, // Title of the Wikipedia article
72
+ "url": string, // URL of either Wikipedia article or search results
73
+
74
+ // Either "quote" or "summary" field exists.
75
+ // Absense of both field means that the page doesn't contain appropriate data.
76
+
77
+ // Information for direct quotation
78
+ // There could be multiple "page" fields with "quote" subfield if multiple
79
+ // sentences are extracted from distant positions in the same page.
80
+ "quote": {
81
+ "text": string, // Consecutive texts extracted from the article
82
+ },
83
+
84
+ // Information for summarization
85
+ "summary": {
86
+ "text": string, // Summary text about the page written by the worker.
87
+ "method": string, // Description about how the worker wrote the summary.
88
+ }
89
+ }
90
+ },
91
+ ],
92
+ }
93
+ ```
94
+
95
+ Example ("answered" data ID=1):
96
+
97
+ ```json
98
+ {
99
+ "id": 1,
100
+ "question": "経済産業省の役割について知りたい。",
101
+ "answer": {
102
+ "text": "経済産業省は、日本の行政機関のひとつです。経済および産業の発展ならびに鉱物資源およびエネルギー資源の供給に関する行政を所管しています。民間の経済活力の向上及び対外経済関係の円滑な発展を中心とする経済及び産業の発展並びに鉱物資源及びエネルギー資源の安定的かつ効率的な供給の確保を図るために、マクロ経済政策、産業政策、通商政策、貿易管理業務、産業技術政策、流通政策、エネルギー政策などを所管しています。",
103
+ "sentences": [
104
+ {
105
+ "text": "経済産業省は、日本の行政機関のひとつです。",
106
+ "citations": [
107
+ 0
108
+ ]
109
+ },
110
+ {
111
+ "text": "経済および産業の発展ならびに鉱物資源およびエネルギー資源の供給に関する行政を所管しています。",
112
+ "citations": [
113
+ 0
114
+ ]
115
+ },
116
+ {
117
+ "text": "民間の経済活力の向上及び対外経済関係の円滑な発展を中心とする経済及び産業の発展並びに鉱物資源及びエネルギー資源の安定的かつ効率的な供給の確保を図るために、マクロ経済政策、産業政策、通商政策、貿易管理業務、産業技術政策、���通政策、エネルギー政策などを所管しています。",
118
+ "citations": [
119
+ 1
120
+ ]
121
+ }
122
+ ]
123
+ },
124
+ "references": [
125
+ {
126
+ "search": {
127
+ "keywords": [
128
+ "経済産業省"
129
+ ]
130
+ },
131
+ "page": {
132
+ "title": "経済産業省",
133
+ "url": "https://ja.wikipedia.org/wiki/%E7%B5%8C%E6%B8%88%E7%94%A3%E6%A5%AD%E7%9C%81",
134
+ "quote": {
135
+ "text": "経済産業省(けいざいさんぎょうしょう、英: Ministry of Economy, Trade and Industry、略称: METI)は、日本の行政機関のひとつ[4]。経済および産業の発展ならびに鉱物資源およびエネルギー資源の供給に関する行政を所管する[注釈 1]。"
136
+ }
137
+ }
138
+ },
139
+ {
140
+ "search": {
141
+ "keywords": [
142
+ "経済産業省"
143
+ ]
144
+ },
145
+ "page": {
146
+ "title": "経済産業省",
147
+ "url": "https://ja.wikipedia.org/wiki/%E7%B5%8C%E6%B8%88%E7%94%A3%E6%A5%AD%E7%9C%81",
148
+ "quote": {
149
+ "text": "経済産業省設置法第3条の定める任務である「民間の経済活力の向上及び対外経済関係の円滑な発展を中心とする経済及び産業の発展並びに鉱物資源及びエネルギー資源の安定的かつ効率的な供給の確保を図ること」を達成するため、マクロ経済政策、産業政策、通商政策、貿易管理業務、産業技術政策、流通政策、エネルギー政策などを所管する。"
150
+ }
151
+ }
152
+ }
153
+ ]
154
+ }
155
+ ```
156
+
157
+ ## Corresponding author
158
+
159
+ * Yusuke Oda (@odashi on GitHub)
data/answered.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/not_answered.jsonl ADDED
The diff for this file is too large to render. See raw diff