This is essentially the same general scheme that was
used in the translation of CDC. (Derived attributes
such as row and col are convenient but inessential ab-
breviations.)
5 COMPARISON WITH
PREVIOUS APPROACHES AND
CONCLUSIONS
Historically, most of the work in QSR has stemmed
from and was heavily influenced by Allen’s calculus
(Allen, 1983). Although some important early work
was couched in first-order logic (Randell et al., 1992),
by and large, following Allen it has been widely
thought that an expressive reasoning framework for
QSR powered by a general-purpose inference proce-
dure would be infeasible. Accordingly, expressivity
and reasoning completeness have been sacrificed in
the interest of efficiency. With few exceptions, QSR
systems are couched as relation algebras, and reason-
ing in such systems is performed by CSP techniques
on networks of objects constrained by binary (or oc-
casionally ternary) base relations.
In the wake of the remarkable progress that has
been achieved in SAT-solving technology over the last
decade, this approach has become questionable. The
general-purpose reasoning provided by off-the-shelf
SAT-solvers is now powering systems that solve ex-
tremely demanding problems, not only in hardware
and software verification, but in AI as well (e.g., for
planning and scheduling). That QSR could also stand
to benefit from this progress is suggested by the fol-
lowing observation: The reasoning required in many
practical QSR applications is model-based, dealing
with a finite set of objects (regions, points, lines, time
intervals, or arbitrary objects in a scene), each hav-
ing a finite number of possible spatial-attributevalues.
Therefore, one can retain first-order logic and still
achieve decidability through propositionalization, by
restricting the universe of discourse to the set of ob-
jects in question and then deciding entailment through
off-the-shelf SAT solvers.
By comparison to the CSP tradition, the approach
we have suggested in this paper can offer the follow-
ing advantages:
1. Increased expressivity: The full expressive power
of first-order logic is available, allowing for much
more natural modeling of spatial information.
Anything that could be modeled with relational
constraints can be expressed in first-order logic,
but the converse is not true. Many problems
that could not be solved—or even expressed—in
pure constraint-based calculi can be directly for-
mulated and solved in the present setting. The
furniture-arrangementproblem from section 1, for
instance, is beyond the reach of current QSR sys-
tems, but it is readily formulated and solved in
CDC.
2. Higher level of abstraction: In the present ap-
proach there is no need to compute transitivity ta-
bles or to devise or modify path-consistency al-
gorithms. These are laborious processes—often
left unfinished for many systems–that are neces-
sitated largely by the idiosyncrasies of the un-
derlying reasoning mechanism. When defining a
QSR system in our approach, one can focus on the
purely logical aspects of the primitive relations
and relegate the reasoning to the SAT solver. It
is also not necessary to require the primitive rela-
tions of the system to be JEPD (jointly exhaustive
and pairwise disjoint), a requirement that can have
somewhat awkward modeling consequences (see
footnote 1).
3. Built-in mechanisms for dealing with incomplete
spatial knowledge: The semantics of the present
framework are based on an intuitive new 3-valued
logic that is particularly apt for modeling incom-
plete spatial information. We have shown how to
compile these semantics into propositional logic.
4. Extensibility: New dimensions of spatial repre-
sentation and reasoning can be incorporated with
relatively little effort. The relative-orientation
primitives of the flip-flop calculus, for instance,
were added to the cardinal-direction primitives of
Frank’s calculus in less than two hours. By con-
trast, combining these two systems in a constraint-
based algebraic setting was a major research chal-
lenge that by itself merited publication (Isli et al.,
2001). Similar systems could be implemented for,
e.g., topological inference.
5. Orthogonal efficiency improvements: Progress
in SAT-solving technology is rapid, and should
translate into corresponding efficiency gains for
SAT-based QSR systems.
6. Prominent role for diagrams: Diagrams play a
crucial role in spatial cognition, but so far they
have been largely absent from QSR systems,
which are usually entirely algebraic, even though
QSR is recognized as “especially suited for appli-
cations that involve interaction with humans, as
they provide an interface based on human spatial
concepts” (Wallgr¨un et al., 2006, p. 39). The
system we have presented can accept diagram-
matic input, including incompletely specified di-
agrams, and can also present output diagrammat-
KEOD 2009 - International Conference on Knowledge Engineering and Ontology Development
86