Skip to main content Accessibility help
×
Hostname: page-component-7479d7b7d-k7p5g Total loading time: 0 Render date: 2024-07-13T20:48:31.602Z Has data issue: false hasContentIssue false

2 - Logical aspects of spatial databases

Published online by Cambridge University Press:  01 June 2011

Bart Kuijpers
Affiliation:
Hasselt University
Jan Van den Bussche
Affiliation:
Hasselt University
Javier Esparza
Affiliation:
Technische Universität München
Christian Michaux
Affiliation:
Université de Mons, Belgium
Charles Steinhorn
Affiliation:
Vassar College, New York
Get access

Summary

Introduction

In this chapter, we consider spatial databases that are modeled as semi-algebraic sets and we present some logic-based languages to query them. We discuss various properties of these query languages, mainly concerning their expressive power.

The basic query language in this context is first-order logic over the real numbers extended with predicates to address the spatial database relations (Section 2.2). We discuss geometric properties that are expressible in this logic (Section 2.3) and then focus on first-order expressible topological properties of 2-dimensional spatial datasets. A property is called topological if it is invariant under homeomorphisms of the ambient space. We give a characterization of topological elementary equivalence and present a point-based language, called cone logic that captures exactly the topological queries expressible in first-order logic over the reals (Section 2.4 and 2.7). Next, we present another point-based language that captures the first-order queries that are invariant under affinities (Section 2.6).

The second half of this chapter is devoted to extensions of first-order logic over the reals with some form of recursion. We briefly discuss two such extensions: spatial Datalog and first-order logic extended with a while-loop (Section 2.8). We discuss in more detail extensions of first-order logic with different types of transitive-closure operators, with or without stop-conditions (Section 2.9) and investigate their expressive power (Section 2.10). The evaluation of queries expressed in transitive-closure logic with or without stop conditions may be non-terminating.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2011

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×