Skip to main content

A Semantics for a Query Language over Sensors, Streams and Relations

  • Conference paper
Sharing Data, Information and Knowledge (BNCOD 2008)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 5071))

Included in the following conference series:

Abstract

We introduce a query language over sensors, streams and relations and formally describe its semantics. Although the language was specifically designed for sensor network querying, where data is pulled into streams, the semantics contributed in the paper also encompasses the case in which data is pushed onto streams or else lies stored in classical relations. The approach taken is that continuous queries over streams are an extension of classical queries over stored extents. Apart from the fact that query evaluation over streams is reactive, or periodic, the main difference is the conception of windows as an additional collection type with the consequent use of type converter operations to and from streams and windows (which, as bounded collections of tuples, can be operated on in a relational-algebraic setting). The language and the semantics we provide for it advance on previous work in being more comprehensive with respect to the collection types allowed and in being more flexible as to the number and content of the windows contributing to the result at each evaluation event of a continuous query. The formalization advances on previous work in clarifying the implementation onus.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abadi, D.J., Carney, D., Çetintemel, U., Cherniack, M., et al.: Aurora: A new Model and Architecture for Data Stream Management. VLDB J. 12(2), 120–139 (2003)

    Article  Google Scholar 

  2. Arasu, A., Babu, S., Widom, J.: The CQL continuous query language: semantic foundations and query execution. VLDB J 15(2), 121–142 (2006)

    Article  Google Scholar 

  3. Arasu, A., Widom, J.: A Denotational Semantics for Continuous Queries over Streams and Relations. SIGMOD Record 33(3), 6–12 (2004)

    Article  Google Scholar 

  4. Babcock, B., Babu, S., Datar, M., Motwani, R., Widom, J.: Models and Issues in Data Stream Systems. In: PODS, pp. 1–16 (2002)

    Google Scholar 

  5. Chandrasekaran, S., Cooper, O., Deshpande, A., Franklin, M.J., et al.: TelegraphCQ: Continuous Dataflow Processing for an Uncertain World. In: CIDR (2003)

    Google Scholar 

  6. Chen, J., DeWitt, D.J., Tian, F., Wang, Y.: NiagaraCQ: A Scalable Continuous Query System for Internet Databases. In: SIGMOD, pp. 379–390 (2000)

    Google Scholar 

  7. Cranor, C.D., Johnson, T., Spatscheck, O., Shkapenyuk, V.: Gigascope: A Stream Database for Network Applications. In: SIGMOD, pp. 647–651 (2003)

    Google Scholar 

  8. Galpin, I., Brenninkmeijer, C.Y.A., Jabeen, F., Fernandes, A.A.A., Paton, N.W.: An Architecture for Query Optimization in Sensor Networks. In: Proc. ICDE (2008)

    Google Scholar 

  9. Golab, L., Özsu, M.T.: Issues in data stream management. SIGMOD Record 32(2), 5–14 (2003)

    Article  Google Scholar 

  10. Madden, S., Franklin, M.J., Hellerstein, J.M., Hong, W.: TinyDB: An Acquisitional Query Processing System for Sensor Networks. ACM Trans. Database Syst. 30(1), 122–173 (2005)

    Article  Google Scholar 

  11. Maier, D., Li, J., Tucker, P.A., Tufte, K., Papadimos, V.: Semantics of Data Streams and Operators. In: Eiter, T., Libkin, L. (eds.) ICDT 2005. LNCS, vol. 3363, pp. 37–52. Springer, Heidelberg (2004)

    Google Scholar 

  12. Maier, D., Tucker, P.A., Garofalakis, M.: Filtering, Punctuation, Windows and Synopses. In: Chaudhury, N.A., et al. (eds.) StreamDataManagement, ch. 3, Springer, Heidelberg (2005)

    Google Scholar 

  13. Rundensteiner, E.A., Ding, L., Sutherland, T.M., Zhu, Y., et al.: CAPE: Continuous Query Engine with Heterogeneous-Grained Adaptivity. In: VLDB (2004)

    Google Scholar 

  14. Yao, Y., Gehrke, J.: Query Processing in Sensor Networks. In: CIDR (2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Alex Gray Keith Jeffery Jianhua Shao

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Brenninkmeijer, C.Y.A., Galpin, I., Fernandes, A.A.A., Paton, N.W. (2008). A Semantics for a Query Language over Sensors, Streams and Relations. In: Gray, A., Jeffery, K., Shao, J. (eds) Sharing Data, Information and Knowledge. BNCOD 2008. Lecture Notes in Computer Science, vol 5071. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-70504-8_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-70504-8_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-70503-1

  • Online ISBN: 978-3-540-70504-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics