Synonyms
Gaifman-locality; Hanf-locality; Locality
Definition
Letσ be a relational signature without constant symbols. Given a σ-structure \( \mathcal{A} \), its Gaifman graph, denoted by \( G\left(\mathcal{A}\right) \), has A (the domain of \( \mathcal{A} \)) as the set of nodes. There is an edge (a1, a2) in \( G\left(\mathcal{A}\right) \) if there is a relation symbol R in σ such that for some tuple t in the interpretation of this relation in \( \mathcal{A} \), both a1, a2 occur in t. The distance d(a1, a2) is the distance in the Gaifman graph, with d(a, a) = 0. If ā and \( \overline{b} \) are tuples of elements, then d(\( \overline{a},\overline{b} \)) stands for the minimum of d(a, b), where a ∈ ā and b ∈ \( \overline{b} \).
Let \( \mathcal{A} \) be a σ-structure, and ā = (a1, …,am) ∈ Am. The radius r ball around ā is the set \( {B}_r^{\mathcal{A}}\left(\overline{a}\right)\kern0.5em =\kern0.5em \left\{b\in A\left|d\left(\overline{a},b\right)\le r\right.\right\} \). The r-neighborhoo...
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsRecommended Reading
Hanf W. Model-theoretic methods in the study of elementary logic. In: Addison JW et al., editors. The theory of models. Amsterdam: North Holland; 1965. p. 132–45.
Gaifman H. On local and non-local properties. In: Proceedings of the Herbrand Symposium: Logic Colloquium ‘81. Amsterdam: North Holland; 1982.
Libkin L. On the forms of locality over finite models. Proceedings of the 12th IEEE Conference on Logic in Computer Science; 1997. p. 204–15.
Libkin L. On counting logics and local properties. ACM Trans Comput Logic. 2000;1(1):33–59.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Science+Business Media, LLC, part of Springer Nature
About this entry
Cite this entry
Barceló, P. (2018). Locality of Queries. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_1270
Download citation
DOI: https://doi.org/10.1007/978-1-4614-8265-9_1270
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-8266-6
Online ISBN: 978-1-4614-8265-9
eBook Packages: Computer ScienceReference Module Computer Science and Engineering