Tempqa-wd
is a wikidata-based dataset focused on temporal reasoning.
Tempqa-wd
is obtained by annotating questions in TempQuestions dataset (of size 1271) with the corresponding Wikidata SPARQL queries and Wikidata answers.
We removed the questions where wikidata answers were not present. The resulting subset of 839 questions is divided into dev and test set.
The test set has 664 questions, where each question consist of the following attributes
ID
: Question id is taken as it is from the TempQuestions datasetTEXT
: Question text is taken as it is from the TempQuestions datasetSPARQL
: Wikidata SPARQL queriesANSWERS
: Wikdata answersFREEBASE_ANSWERS
: Freebase answers are taken as it is from TempQuestions datasetTEMPORAL_SIGNAL
: Temporal relation between events present in question. These are taken as it is from TempQuestions datasetTYPE
: Question type taken as it is from the TempQuestions datasetDATA_SOURCE
: Source of the question taken as it is from TempQuestions datasetCATEGORY
: Complexity of the question in terms of temporal and non-temporal reasoning required to get the answer. There are three categories:Simple
,Medium
and,Complex
Dev set has 175 questions, where each question consists of the following additional attributes along with attributes for question in the test set
AMR
: AMR corresponding to the question textLAMBDA
: Lambda expression corresponding to the question textENTITIES
: Entities present in question. Each entity consists of:SURFACEFORM
: Entity surface formWIKIDATAID
: Entity Wikidata IRI
RELATIONS
: Relations present in question. Each relation consists of:REFERENCE_EXPRESSION
: Reference variable corresponding to the sub-expression inLAMBDA
SUBJECT
: Wikidata IRI for the subject in sub-expressionPROP
: Wikidata IRI for the predicate in sub-expressionOBJECT
: Wikidata IRI for the object in sub-expressionIS_REIFIED
:true
if Wikidata predicate is reified,false
otherwiseIS_DATE
:true
if the range of Wikidata predicate is date,false
otherwise
LAMBDA_KBSPECIFIC
: Lambda expression obtained fromLAMBDA
by replacing entity and relation surface forms with Wikidata specific entity and relation IRIs.