Skip to content

Qualitative Spatial Reasoning Question Answering System

Notifications You must be signed in to change notification settings

MohammadUT/QSR-QA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The code and data are related to the paper ''Probabilistic Qualitative Spatial Reasoning with Applications to GeoQA''

Perquisites

Two spatial reasoning tools, SparQ for conventional reasoning and Probcog for probabilistic reasoning need to be installed:

Materials

This includes codes, data, evidence sets, and mln folders for two experiments:

File Description

Each experiment follows the following steps for generating answers for input questions:

  1. Query generation: Generating three types of questions (Finding relation (FR), Finding Features (FF), Yes/no (YN))
  2. Answer extraction: Feeding the generated questions in the previous step into the Probcog and SparQ Python APIs ( You have to firstly install these reasoners in your local machine). The output of this step is the generated answers from the reasoners for each question.
  3. Evaluation of the answers: Different evaluations of answers are generated from this steps (e.g., accuracy, magnitude of difference in probability values distribution, probability distribution boxplots, etc)

About

Qualitative Spatial Reasoning Question Answering System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages