glecorve commited on
Commit
645f6e8
β€’
1 Parent(s): d679ece

Enriched README

Browse files
Files changed (1) hide show
  1. README.md +162 -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,166 @@ dataset_info:
45
  num_examples: 1000
46
  download_size: 1750172
47
  dataset_size: 3632421
 
 
 
 
 
 
 
 
48
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: uid
 
39
  num_examples: 1000
40
  download_size: 1750172
41
  dataset_size: 3632421
42
+ task_categories:
43
+ - conversational
44
+ - question-answering
45
+ - paraphrase-generation
46
+ tags:
47
+ - qa
48
+ - knowledge-graph
49
+ - sparql
50
  ---
51
+
52
+ # Dataset Card for ParaQA-SPARQLtoText
53
+
54
+ ## Table of Contents
55
+ - [Dataset Card for ParaQA-SPARQLtoText](#dataset-card-for-paraqa-sparqltotext)
56
+ - [Table of Contents](#table-of-contents)
57
+ - [Dataset Description](#dataset-description)
58
+ - [Dataset Summary](#dataset-summary)
59
+ - [New field `simplified_query`](#new-field-simplified_query)
60
+ - [New split "valid"](#new-split-valid)
61
+ - [Languages](#languages)
62
+ - [Dataset Structure](#dataset-structure)
63
+ - [Types of questions](#types-of-questions)
64
+ - [Data splits](#data-splits)
65
+ - [Additional information](#additional-information)
66
+ - [Related datasets](#related-datasets)
67
+ - [Licencing information](#licencing-information)
68
+ - [Citation information](#citation-information)
69
+ - [This version of the corpus (with normalized SPARQL queries)](#this-version-of-the-corpus-with-normalized-sparql-queries)
70
+ - [Original version](#original-version)
71
+
72
+
73
+ ## Dataset Description
74
+
75
+ - **Paper:** [SPARQL-to-Text Question Generation for Knowledge-Based Conversational Applications (AACL-IJCNLP 2022)](https://aclanthology.org/2022.aacl-main.11/)
76
+ - **Point of Contact:** GwΓ©nolΓ© LecorvΓ©
77
+
78
+ ### Dataset Summary
79
+
80
+ Special version of ParaQA with SPARQL queries formatted for the SPARQL-to-Text task
81
+
82
+ #### New field `simplified_query`
83
+
84
+ New field is named "simplified_query". It results from applying the following step on the field "query":
85
+
86
+ * Replacing URIs with a simpler format with prefix "resource:", "property:" and "ontology:".
87
+
88
+ * Spacing the delimiters `(`, `{`, `.`, `}`, `)`.
89
+
90
+ * Randomizing the variables names
91
+
92
+ * Shuffling the clauses
93
+
94
+ #### New split "valid"
95
+
96
+ A validation set was randonly extracted from the test set to represent 10% of the whole dataset.
97
+
98
+ ### Languages
99
+
100
+ - English
101
+
102
+ ## Dataset Structure
103
+
104
+ ### Types of questions
105
+
106
+ Comparison of question types compared to related datasets:
107
+
108
+ | | | [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) |
109
+ |--------------------------|-----------------|:---------------:|:------:|:-----------:|:----:|:---------:|
110
+ | **Number of triplets in query** | 1 | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
111
+ | | 2 | | βœ“ | βœ“ | βœ“ | βœ“ |
112
+ | | More | | | βœ“ | βœ“ | βœ“ |
113
+ | **Logical connector between triplets** | Conjunction | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
114
+ | | Disjunction | | | | βœ“ | βœ“ |
115
+ | | Exclusion | | | | βœ“ | βœ“ |
116
+ | **Topology of the query graph** | Direct | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
117
+ | | Sibling | | βœ“ | βœ“ | βœ“ | βœ“ |
118
+ | | Chain | | βœ“ | βœ“ | βœ“ | βœ“ |
119
+ | | Mixed | | | βœ“ | | βœ“ |
120
+ | | Other | | βœ“ | βœ“ | βœ“ | βœ“ |
121
+ | **Variable typing in the query** | None | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
122
+ | | Target variable | | βœ“ | βœ“ | βœ“ | βœ“ |
123
+ | | Internal variable | | βœ“ | βœ“ | βœ“ | βœ“ |
124
+ | **Comparisons clauses** | None | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
125
+ | | String | | | βœ“ | | βœ“ |
126
+ | | Number | | | βœ“ | βœ“ | βœ“ |
127
+ | | Date | | | βœ“ | | βœ“ |
128
+ | **Superlative clauses** | No | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
129
+ | | Yes | | | | βœ“ | |
130
+ | **Answer type** | Entity (open) | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
131
+ | | Entity (closed) | | | | βœ“ | βœ“ |
132
+ | | Number | | | βœ“ | βœ“ | βœ“ |
133
+ | | Boolean | | βœ“ | βœ“ | βœ“ | βœ“ |
134
+ | **Answer cardinality** | 0 (unanswerable) | | | βœ“ | | βœ“ |
135
+ | | 1 | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
136
+ | | More | | βœ“ | βœ“ | βœ“ | βœ“ |
137
+ | **Number of target variables** | 0 (β‡’ ASK verb) | | βœ“ | βœ“ | βœ“ | βœ“ |
138
+ | | 1 | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
139
+ | | 2 | | | βœ“ | | βœ“ |
140
+ | **Dialogue context** | Self-sufficient | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
141
+ | | Coreference | | | | βœ“ | βœ“ |
142
+ | | Ellipsis | | | | βœ“ | βœ“ |
143
+ | **Meaning** | Meaningful | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
144
+ | | Non-sense | | | | | βœ“ |
145
+
146
+
147
+ ### Data splits
148
+
149
+ 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.
150
+
151
+ | | Train | Validation | Test |
152
+ | --------------------- | ---------- | ---------- | ---------- |
153
+ | Questions | 3,500 | 500 | 1,000 |
154
+ | NL question per query | 1 |
155
+ | Characters per query | 103 (Β± 27) |
156
+ | Tokens per question | 10.3 (Β± 3.7) |
157
+
158
+
159
+ ## Additional information
160
+
161
+ ### Related datasets
162
+
163
+ This corpus is part of a set of 5 datasets released for SPARQL-to-Text generation, namely:
164
+ - Non conversational datasets
165
+ - [SimpleQuestions](https://huggingface.co/datasets/OrangeInnov/simplequestions-sparqltotext) (from https://github.com/askplatypus/wikidata-simplequestions)
166
+ - [ParaQA](https://huggingface.co/datasets/OrangeInnov/paraqa-sparqltotext) (from https://github.com/barshana-banerjee/ParaQA)
167
+ - [LC-QuAD 2.0](https://huggingface.co/datasets/OrangeInnov/lcquad_2.0-sparqltotext) (from http://lc-quad.sda.tech/)
168
+ - Conversational datasets
169
+ - [CSQA](https://huggingface.co/datasets/OrangeInnov/csqa-sparqltotext) (from https://amritasaha1812.github.io/CSQA/)
170
+ - [WebNLQ-QA](https://huggingface.co/datasets/OrangeInnov/webnlg-qa) (derived from https://gitlab.com/shimorina/webnlg-dataset/-/tree/master/release_v3.0)
171
+
172
+ ### Licencing information
173
+
174
+ * Content from original dataset: CC-BY 4.0
175
+ * New content: CC BY-SA 4.0
176
+
177
+
178
+ ### Citation information
179
+
180
+
181
+ #### This version of the corpus (with normalized SPARQL queries)
182
+
183
+ ```bibtex
184
+ @inproceedings{lecorve2022sparql2text,
185
+ title={SPARQL-to-Text Question Generation for Knowledge-Based Conversational Applications},
186
+ author={Lecorv\'e, Gw\'enol\'e and Veyret, Morgan and Brabant, Quentin and Rojas-Barahona, Lina M.},
187
+ 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)},
188
+ year={2022}
189
+ }
190
+ ```
191
+
192
+ #### Original version
193
+
194
+ ```bibtex
195
+ @inproceedings{kacupaj2021paraqa,
196
+ title={Paraqa: a question answering dataset with paraphrase responses for single-turn conversation},
197
+ author={Kacupaj, Endri and Banerjee, Barshana and Singh, Kuldeep and Lehmann, Jens},
198
+ booktitle={European semantic web conference},
199
+ pages={598--613},
200
+ year={2021},
201
+ organization={Springer}
202
+ }
203
+
204
+ ```