Skip to main content

Locality of Queries

  • Reference work entry
  • First Online:
  • 20 Accesses

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   4,499.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD   6,499.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Recommended Reading

  1. 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.

    MATH  Google Scholar 

  2. Gaifman H. On local and non-local properties. In: Proceedings of the Herbrand Symposium: Logic Colloquium ‘81. Amsterdam: North Holland; 1982.

    Google Scholar 

  3. 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.

    Google Scholar 

  4. Libkin L. On counting logics and local properties. ACM Trans Comput Logic. 2000;1(1):33–59.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pablo Barceló .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Science+Business Media, LLC, part of Springer Nature

About this entry

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics