File size: 8,311 Bytes
cdf63f3
 
 
 
 
 
 
 
 
 
6f7a8d6
 
 
 
 
f204ada
 
 
02e85c8
f204ada
02e85c8
f204ada
6f7a8d6
 
 
 
6a3890f
6f7a8d6
 
 
6a3890f
 
 
6f7a8d6
 
 
 
 
 
 
0525576
 
 
 
 
 
 
 
 
 
 
 
 
 
7324cc4
 
 
 
6f7a8d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cb388fe
 
6f7a8d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f068b19
 
6f7a8d6
 
 
f068b19
6f7a8d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f068b19
 
 
 
 
6f7a8d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f204ada
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
---
license: apache-2.0
task_categories:
- question-answering
language:
- ja
size_categories:
- 1K<n<10K
---

# Japanese Wikipedia Human Retrieval dataset

This is a Japanese question answereing dataset with retrieval on Wikipedia articles
by trained human workers.

## Contributors

* [Yusuke Oda](https://github.com/odashi)
  defined the dataset specification, data structure, and the scheme of data collection.
* [Baobab, Inc.](https://baobab-trees.com/en)
  operated data collection, data checking, and formatting.

## About the dataset

Each entry represents a single QA session:
given a question sentence, the responsible worker tried to search for the appropriate
information from Wikipedia using the search box and/or inner hyperlinks, and constructed
the answer paragraphs according to the search results.
The whole process of each retrieval is recorded manually by the same worker.

All sessions are processed from 2023-12-04 to 2023-12-25 with access to Japanese Wikipedia
(http://ja.wikipedia.org/).

The dataset consists of following data:

* A question sentence
* The final answer paragraph (whole sentence, and chunks with citations)
* List of references with either extracted paragraph or summarization from a Wikipedia
article

## Target situation and limitation

We designed this dataset to ensure that the answers reflect only exact information written in the cited references,
and does not reflect any external information and/or implicit knowledges.
This design is useful to measure/investigate QA tasks with accurate retrieval from the given data source.
Please keep in mind that the dataset is not designed to provide a QA with correct information.

We requested the workers strictly to answer the questions based on only explicit citation from Wikipedia.
That means, the workers should write answers that may be different from their implicit knowledge,
and should leave the answer empty if they couldn't find any information from Wikipedia
even if they know something to answer the questions.

# Dataset chunks

As well as successful sessions with answer paragraphs, we also recorded failed sessions:
the worker failed to construct the answer from the search results.
In this case we recorded at least the retrieval process despite lack of the answer.

We release this version of the dataset with the following dataset chunks:

* "answered" chunk (838 examples): question, answer, and retrieval process
* "not_answered" chunk (433 examples): question and retrieval process (no answer)

## Data structure

Each entry has the following schema:

```js
{
    "id": number, // Entry ID
    "question": string, // Question sentence

    // Answer section
    // Absense of this field means that the worker failed to answer the question.
    "answer": {
        "text": string, // Answer paragraph

        // Answer sentences
        // These sentences are written by the workers based on the cited references.
        // The above answer paragraph is generated by joining all texts in this list.
        "sentences": [
            {
                "text": string, // Answer sentence
                "citations": number[], // List of reference IDs for citation
            }
        ],
    },

    // Reference list
    "references": [
        {
            // Either "search" or "link" field exists.

            // Information for direct search (search box on Wikipedia)
            "search": {
                "keywords": string[], // List of words input into the search box
            },

            // Information for hyperlinks
            "link": {
                "referrer": number, // The reference ID at which the worker clicked the hyperlink
            }

            // Either "page" or "not_found" field exists.

            // Extracted content
            "page": {
                "title": string, // Title of the Wikipedia article
                "url": string, // URL of the Wikipedia article

                // Either "quote" or "summary" field exists.
                // Absense of both field means that the page doesn't contain appropriate data.

                // Information for direct quotation
                // There could be multiple "page" fields with "quote" subfield if multiple
                // sentences are extracted from distant positions in the same page.
                "quote": {
                    "text": string, // Consecutive texts extracted from the article
                },

                // Information for summarization
                "summary": {
                    "text": string, // Summary text about the page written by the worker.
                    "method": string, // Description about how the worker wrote the summary.
                }
            }

            // Search result (not found)
            "not_found": {
                "url": string, // URL of the Wikipedia search results
            }
        },
    ],
}
```

Example ("answered" data ID=1):

```json
{
    "id": 1,
    "question": "経済産業省の役割について知りたい。",
    "answer": {
        "text": "経済産業省は、日本の行政機関のひとつです。経済および産業の発展ならびに鉱物資源およびエネルギー資源の供給に関する行政を所管しています。民間の経済活力の向上及び対外経済関係の円滑な発展を中心とする経済及び産業の発展並びに鉱物資源及びエネルギー資源の安定的かつ効率的な供給の確保を図るために、マクロ経済政策、産業政策、通商政策、貿易管理業務、産業技術政策、流通政策、エネルギー政策などを所管しています。",
        "sentences": [
            {
                "text": "経済産業省は、日本の行政機関のひとつです。",
                "citations": [
                    0
                ]
            },
            {
                "text": "経済および産業の発展ならびに鉱物資源およびエネルギー資源の供給に関する行政を所管しています。",
                "citations": [
                    0
                ]
            },
            {
                "text": "民間の経済活力の向上及び対外経済関係の円滑な発展を中心とする経済及び産業の発展並びに鉱物資源及びエネルギー資源の安定的かつ効率的な供給の確保を図るために、マクロ経済政策、産業政策、通商政策、貿易管理業務、産業技術政策、流通政策、エネルギー政策などを所管しています。",
                "citations": [
                    1
                ]
            }
        ]
    },
    "references": [
        {
            "search": {
                "keywords": [
                    "経済産業省"
                ]
            },
            "page": {
                "title": "経済産業省",
                "url": "https://ja.wikipedia.org/wiki/%E7%B5%8C%E6%B8%88%E7%94%A3%E6%A5%AD%E7%9C%81",
                "quote": {
                    "text": "経済産業省(けいざいさんぎょうしょう、英: Ministry of Economy, Trade and Industry、略称: METI)は、日本の行政機関のひとつ[4]。経済および産業の発展ならびに鉱物資源およびエネルギー資源の供給に関する行政を所管する[注釈 1]。"
                }
            }
        },
        {
            "search": {
                "keywords": [
                    "経済産業省"
                ]
            },
            "page": {
                "title": "経済産業省",
                "url": "https://ja.wikipedia.org/wiki/%E7%B5%8C%E6%B8%88%E7%94%A3%E6%A5%AD%E7%9C%81",
                "quote": {
                    "text": "経済産業省設置法第3条の定める任務である「民間の経済活力の向上及び対外経済関係の円滑な発展を中心とする経済及び産業の発展並びに鉱物資源及びエネルギー資源の安定的かつ効率的な供給の確保を図ること」を達成するため、マクロ経済政策、産業政策、通商政策、貿易管理業務、産業技術政策、流通政策、エネルギー政策などを所管する。"
                }
            }
        }
    ]
}
```