We introduce CoQEx as a method to answering queries on entity counts by consolidating evidences across multiple text snippets. The CoQEx methodology uses a span-based QA model to separately extract candidate count contexts and instances from the top-50 search-engine snippets. The user is shown the following components.
Unlike previous systems, our method infers final answers from multiple observations, supports semantic qualifiers for the counts, and provides evidence by enumerating representative instances.
Here we provide the data for our paper:
- Answering Count Queries with Explanatory Evidence Ghosh et al. SIGIR 2022 (https://dl.acm.org/doi/pdf/10.1145/3477495.3531870).
- Answering Count Queries with Structured Answers from Text Ghosh et al. submitted to JoWS (https://arxiv.org/pdf/2209.07250.pdf)
And the code for setting up an interactive user demonstration. Try out our user demonstration of CoQEx which allows free 100 queries per day.
The data for the SIGIR'22 and JoWS experiments can be found in the respective folders in data. The dataset comprises:
-
CoQuADdataset - training data for inference, groundtruth annoatation for infernce, contextualization and explanations, annotated dataset characteristics. Version 2 contains more evaluation data and query characteristics. -
stresstest- a set of hand-curated challenging count queries with groundtruth inferences. -
lcquad_v2- subset of count queries from LC-QuAD v2 dataset with groundtruth inferences. -
natural_questions- a subset of count queries from Natural Questions dataset with groundtruth inferences.
Run ./download.sh to download all data in the dataset folder or download them individually.
The code for setting up a Flask app of CoQEx is included in the folder coqex/.
A pipeline for executing CoQEx coming up soon.
If you use our work please cite us:
@inproceedings{ghosh2022answering,
title = "Answering Count Queries with Explanatory Evidence",
author = "Shrestha Ghosh and Simon Razniewski and Gerhard Weikum",
booktitle = "To appear at SIGIR 2022",
month = jul,
year = "2022",
}This work is licensed under a Creative Commons Attribution 4.0 International License.
