Enriched README
Browse files
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 |
+
```
|