glecorve commited on
Commit
c8f49de
β€’
1 Parent(s): be41585

Enriched README

Browse files
Files changed (1) hide show
  1. README.md +179 -6
README.md CHANGED
@@ -1,10 +1,4 @@
1
  ---
2
- tags:
3
- - qa
4
- - sparql
5
- language:
6
- - en
7
- access: private
8
  dataset_info:
9
  features:
10
  - name: uid
@@ -45,4 +39,183 @@ dataset_info:
45
  num_examples: 6024
46
  download_size: 79003648
47
  dataset_size: 274074112
 
 
 
 
 
 
 
 
 
48
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: uid
 
39
  num_examples: 6024
40
  download_size: 79003648
41
  dataset_size: 274074112
42
+ task_categories:
43
+ - question-answering
44
+ - text-generation
45
+ tags:
46
+ - qa
47
+ - knowledge-graph
48
+ - sparql
49
+ language:
50
+ - en
51
  ---
52
+
53
+
54
+ # Dataset Card for LC-QuAD 2.0 - SPARQLtoText version
55
+
56
+ ## Table of Contents
57
+ - [Dataset Card for LC-QuAD 2.0 - SPARQLtoText version](#dataset-card-for-lc-quad-20---sparqltotext-version)
58
+ - [Table of Contents](#table-of-contents)
59
+ - [Dataset Description](#dataset-description)
60
+ - [Dataset Summary](#dataset-summary)
61
+ - [New field `simplified_query`](#new-field-simplified_query)
62
+ - [New split "valid"](#new-split-valid)
63
+ - [Supported tasks](#supported-tasks)
64
+ - [Languages](#languages)
65
+ - [Dataset Structure](#dataset-structure)
66
+ - [Types of questions](#types-of-questions)
67
+ - [Data splits](#data-splits)
68
+ - [Additional information](#additional-information)
69
+ - [Related datasets](#related-datasets)
70
+ - [Licencing information](#licencing-information)
71
+ - [Citation information](#citation-information)
72
+ - [This version of the corpus (with normalized SPARQL queries)](#this-version-of-the-corpus-with-normalized-sparql-queries)
73
+ - [Original version](#original-version)
74
+
75
+
76
+ ## Dataset Description
77
+
78
+ - **Paper:** [SPARQL-to-Text Question Generation for Knowledge-Based Conversational Applications (AACL-IJCNLP 2022)](https://aclanthology.org/2022.aacl-main.11/)
79
+ - **Point of Contact:** GwΓ©nolΓ© LecorvΓ©
80
+
81
+ ### Dataset Summary
82
+
83
+ Special version of [LC-QuAD 2.0](https://huggingface.co/datasets/lc_quad) for the SPARQL-to-Text task
84
+
85
+ #### New field `simplified_query`
86
+
87
+ New field is named "simplified_query". It results from applying the following step on the field "query":
88
+
89
+ * Replacing URIs with a simpler format with prefix "resource:", "property:" and "ontology:".
90
+
91
+ * Spacing the delimiters `(`, `{`, `.`, `}`, `)`.
92
+
93
+ * Adding diversity to some filters which test a number (`contains ( ?var, 'number' )` can become `contains ?var = number`
94
+
95
+ * Randomizing the variables names
96
+
97
+ * Shuffling the clauses
98
+
99
+ #### New split "valid"
100
+
101
+ A validation set was randonly extracted from the test set to represent 10% of the whole dataset.
102
+
103
+ ### Supported tasks
104
+
105
+ - Knowledge-based question-answering
106
+ - Text-to-SPARQL conversion
107
+ - SPARQL-to-Text conversion
108
+
109
+ ### Languages
110
+
111
+ - English
112
+
113
+ ## Dataset Structure
114
+
115
+ The corpus follows the global architecture from the original version of CSQA (https://amritasaha1812.github.io/CSQA/).
116
+
117
+ There is one directory of the train, dev, and test sets, respectively.
118
+
119
+ Dialogues are stored in separate directories, 100 dialogues per directory.
120
+
121
+ Finally, each dialogue is stored in a JSON file as a list of turns.
122
+
123
+ ### Types of questions
124
+
125
+ Comparison of question types compared to related datasets:
126
+
127
+ | | | [SimpleQuestions](https://huggingface.co/datasets/OrangeInnov/simplequestions-sparqltotext) | [ParaQA](https://huggingface.co/datasets/OrangeInnov/paraqa-sparqltotext) | [LC-QuAD 2.0](https://huggingface.co/datasets/OrangeInnov/lcquad_2.0-sparqltotext) | [CSQA](https://huggingface.co/datasets/OrangeInnov/csqa-sparqltotext) | [WebNLQ-QA](https://huggingface.co/datasets/OrangeInnov/webnlg-qa) |
128
+ |--------------------------|-----------------|:---------------:|:------:|:-----------:|:----:|:---------:|
129
+ | **Number of triplets in query** | 1 | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
130
+ | | 2 | | βœ“ | βœ“ | βœ“ | βœ“ |
131
+ | | More | | | βœ“ | βœ“ | βœ“ |
132
+ | **Logical connector between triplets** | Conjunction | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
133
+ | | Disjunction | | | | βœ“ | βœ“ |
134
+ | | Exclusion | | | | βœ“ | βœ“ |
135
+ | **Topology of the query graph** | Direct | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
136
+ | | Sibling | | βœ“ | βœ“ | βœ“ | βœ“ |
137
+ | | Chain | | βœ“ | βœ“ | βœ“ | βœ“ |
138
+ | | Mixed | | | βœ“ | | βœ“ |
139
+ | | Other | | βœ“ | βœ“ | βœ“ | βœ“ |
140
+ | **Variable typing in the query** | None | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
141
+ | | Target variable | | βœ“ | βœ“ | βœ“ | βœ“ |
142
+ | | Internal variable | | βœ“ | βœ“ | βœ“ | βœ“ |
143
+ | **Comparisons clauses** | None | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
144
+ | | String | | | βœ“ | | βœ“ |
145
+ | | Number | | | βœ“ | βœ“ | βœ“ |
146
+ | | Date | | | βœ“ | | βœ“ |
147
+ | **Superlative clauses** | No | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
148
+ | | Yes | | | | βœ“ | |
149
+ | **Answer type** | Entity (open) | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
150
+ | | Entity (closed) | | | | βœ“ | βœ“ |
151
+ | | Number | | | βœ“ | βœ“ | βœ“ |
152
+ | | Boolean | | βœ“ | βœ“ | βœ“ | βœ“ |
153
+ | **Answer cardinality** | 0 (unanswerable) | | | βœ“ | | βœ“ |
154
+ | | 1 | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
155
+ | | More | | βœ“ | βœ“ | βœ“ | βœ“ |
156
+ | **Number of target variables** | 0 (β‡’ ASK verb) | | βœ“ | βœ“ | βœ“ | βœ“ |
157
+ | | 1 | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
158
+ | | 2 | | | βœ“ | | βœ“ |
159
+ | **Dialogue context** | Self-sufficient | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
160
+ | | Coreference | | | | βœ“ | βœ“ |
161
+ | | Ellipsis | | | | βœ“ | βœ“ |
162
+ | **Meaning** | Meaningful | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
163
+ | | Non-sense | | | | | βœ“ |
164
+
165
+
166
+ ### Data splits
167
+
168
+ Text verbalization is only available for a subset of the test set, referred to as *challenge set*. Other sample only contain dialogues in the form of follow-up sparql queries.
169
+
170
+ | | Train | Validation | Test |
171
+ | --------------------- | ---------- | ---------- | ---------- |
172
+ | Questions | 21,000 | 3,000 | 6,000 |
173
+ | NL question per query | 1 |
174
+ | Characters per query | 108 (Β± 36) |
175
+ | Tokens per question | 10.6 (Β± 3.9) |
176
+
177
+
178
+ ## Additional information
179
+
180
+ ### Related datasets
181
+
182
+ This corpus is part of a set of 5 datasets released for SPARQL-to-Text generation, namely:
183
+ - Non conversational datasets
184
+ - [SimpleQuestions](https://huggingface.co/datasets/OrangeInnov/simplequestions-sparqltotext) (from https://github.com/askplatypus/wikidata-simplequestions)
185
+ - [ParaQA](https://huggingface.co/datasets/OrangeInnov/paraqa-sparqltotext) (from https://github.com/barshana-banerjee/ParaQA)
186
+ - [LC-QuAD 2.0](https://huggingface.co/datasets/OrangeInnov/lcquad_2.0-sparqltotext) (from http://lc-quad.sda.tech/)
187
+ - Conversational datasets
188
+ - [CSQA](https://huggingface.co/datasets/OrangeInnov/csqa-sparqltotext) (from https://amritasaha1812.github.io/CSQA/)
189
+ - [WebNLQ-QA](https://huggingface.co/datasets/OrangeInnov/webnlg-qa) (derived from https://gitlab.com/shimorina/webnlg-dataset/-/tree/master/release_v3.0)
190
+
191
+ ### Licencing information
192
+
193
+ * Content from original dataset: CC-BY 3.0
194
+ * New content: CC BY-SA 4.0
195
+
196
+
197
+ ### Citation information
198
+
199
+
200
+ #### This version of the corpus (with normalized SPARQL queries)
201
+
202
+ ```bibtex
203
+ @inproceedings{lecorve2022sparql2text,
204
+ title={SPARQL-to-Text Question Generation for Knowledge-Based Conversational Applications},
205
+ author={Lecorv\'e, Gw\'enol\'e and Veyret, Morgan and Brabant, Quentin and Rojas-Barahona, Lina M.},
206
+ journal={Proceedings of the Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the International Joint Conference on Natural Language Processing (AACL-IJCNLP)},
207
+ year={2022}
208
+ }
209
+ ```
210
+
211
+ #### Original version
212
+
213
+ ```bibtex
214
+ @inproceedings{dubey2017lc2,
215
+ title={LC-QuAD 2.0: A Large Dataset for Complex Question Answering over Wikidata and DBpedia},
216
+ author={Dubey, Mohnish and Banerjee, Debayan and Abdelkawi, Abdelrahman and Lehmann, Jens},
217
+ booktitle={Proceedings of the 18th International Semantic Web Conference (ISWC)},
218
+ year={2019},
219
+ organization={Springer}
220
+ }
221
+ ```