Published January 1, 2023 | Version v1
Journal article Open

Qualitative Reasoning about 2D Cardinal Directions using Answer Set Programming

  • 1. New Mexico State Univ, Dept Comp Sci, Las Cruces, NM 88003 USA
  • 2. Sabanci Univ, Fac Engn & Nat Sci, TR-34956 Istanbul, Turkiye

Description

We introduce a formal framework (called NCDC-ASP ) for representing and reasoning about cardinal directions between extended spatial objects on a plane, using Answer Set Programming (ASP). NCDC-ASP preserves the meaning of cardinal directional relations as in Cardinal Direc-tional Calculus (CDC), and provides solutions to all consistency checking problems in CDC under various conditions (i.e., for a complete/incomplete set of basic/disjunctive CDC constraints over connected/disconnected spatial objects). In particular, NCDC-ASP models a discretized version of the consistency checking problem in ASP, over a finite grid (rather than a plane), where we provide new lower bounds on the grid size to guarantee that it correctly characterizes solutions for the consistency checking in CDC. In addition, NCDC-ASP has the following two novelties im-portant for applications. NCDC-ASP introduces default CDC constraints to represent and reason about background or commonsense knowledge that involves default qualitative directional rela-tions (e.g., "the ice cream truck is by default to the north of the playground" or "the keyboard is normally placed in front of the monitor"). NCDC-ASP introduces inferred CDC constraints to allow inference of missing CDC relations and to provide them as explanations. We illustrate the uses and usefulness of NCDC-ASP with interesting scenarios from the real-world. We design and develop a variety of benchmark instances, and comprehensively evaluate NCDC-ASP from the perspectives of computational efficiency.

Files

bib-e909263f-69d8-4b2e-84c5-1e81e24154fe.txt

Files (181 Bytes)

Name Size Download all
md5:92f368ccc8490f27d01585368b2715f9
181 Bytes Preview Download