Skip to main content

Temporal Spatial-Keyword Search on Databases Using SQL

  • Conference paper
  • First Online:
Book cover Web Technologies and Applications (APWeb 2016)

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

Included in the following conference series:

  • 985 Accesses

Abstract

Massive amount of textual content is associated with location and time tags, generated on webs related to restaurant, group-buying or social networking services. Often, users tend to retrieve up-to-date information with location and text proximity to some specified descriptions. To accelerate the search process, the state-of-the-art methods resort to design new index structures and probing algorithms. Nevertheless, efficient solutions fully supported by existing RDBMS still remain an open problem. To address this problem practically, in this paper, we propose TSKSQL, a solution that processes temporal spatial-keyword similarity search using SQL statements only. The novelty and advantages of TSKSQL are listed below. (1) We design a novel signature generation scheme that is able to properly capture texture, locational and temporal information properly. We index objects based on their generated signatures using a single B+-Tree with the ability to process similarity queries by simply probing the B+-Tree. (2) We propose various optimization techniques based on RDBMS so that both CPU and I/O costs can be reduced significantly. (3) We deploy TSKSQL over a real RDBMS, PostgreSQL. We conduct extensive experiments and the results show that TSKSQL demonstrates a good efficiency and stability.

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 EPUB and 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

References

  1. Gruteser, M., Grunwald, D.: Anonymous usage of location-based services through spatial and temporal cloaking. In: Proceedings of 1st International Conference on Mobile Systems, Applications and Services, pp. 31–42. ACM (2003)

    Google Scholar 

  2. Sanderson, M., Kohler. J.: Analyzing geographic queries. In: SIGIR Workshop on Geographic Information Retrieval, pp. 8–10 (2004)

    Google Scholar 

  3. Zhou, Y., Xie, X., Wang, C., Gong, Y., Ma, W.-Y.: Hybrid index structures for location-based web search. In: Proceedings of 14th ACM International Conference on Information and Knowledge Management, pp. 155–162. ACM (2005)

    Google Scholar 

  4. Naughton, J.F.: Technical perspective: natural language to SQL translation by iteratively exploring a middle ground. ACM SIGMOD Rec. 45(1), 5 (2016)

    Article  Google Scholar 

  5. Bedo, M.V.N., dos Santos, D.P., Ponciano-Silva, M., de Azevedo-Marques, P.M., Traina Jr., C.: Endowing a content-based medical image retrieval system with perceptual similarity using ensemble strategy. J. Digit. Imaging 29(1), 22–37 (2016)

    Article  Google Scholar 

  6. Al Marri, W.J., Malluhi, Q., Ouzzani, M., Tang, M., Aref, W.G.: The similarity-aware relational database set operators. Inf. Syst. 59, 79–93 (2016)

    Article  Google Scholar 

  7. Medina, J.M., Barranco, C.D., Pons, O.: Evaluation of indexing strategies for possibilistic queries based on indexing techniques available in traditional RDBMS. Int. J. Intell. Syst. (2016)

    Google Scholar 

  8. Choudhury, F.M., Culpepper, J.S., Sellis, T., Cao, X.: Maximizing bichromatic reverse spatial and textual k nearest neighbor queries. Proc. VLDB Endow. 9(6), 456–467 (2016)

    Article  Google Scholar 

  9. Fu, A.W.-C., Chan, P.M.-S., Cheung, Y.-L., Moon, Y.S.: Dynamic vp-tree indexing for n-nearest neighbor search given pair-wise distances. VLDB J.—Int. J. Very Larg. Data Bases 9(2), 154–173 (2000)

    Article  Google Scholar 

  10. Jayalakshmi, T., Chethana, C.: A semantic search engine for indexing and retrieval of relevant text documents. Int. J. 4(5), 1–5 (2016)

    Google Scholar 

  11. Egenhofer, M.J.: Spatial SQL: a query and presentation language. IEEE Trans. Knowl. Data Eng. 6(1), 86–95 (1994)

    Article  Google Scholar 

  12. Dobrota, M., Bulajic, M., Bornmann, L., Jeremic, V.: A new approach to the QS university ranking using the composite I-distance indicator: uncertainty and sensitivity analyses. J. Assoc. Inf. Sci. Technol. 67(1), 200–211 (2016)

    Article  Google Scholar 

  13. De Felipe, I., Hristidis, V., Rishe, N.: Keyword search on spatial databases. In: 2008 IEEE 24th International Conference on Data Engineering, pp. 656–665. IEEE (2008)

    Google Scholar 

  14. Lu, J., Lu, Y., Cong, G.: Reverse spatial and textual k nearest neighbor search. In: Proceedings of 2011 ACM SIGMOD International Conference on Management of Data, pp. 349–360. ACM (2011)

    Google Scholar 

Download references

Acknowledgment

The corresponding author of this paper is Wei Lu and this work is supported in part by the funding under the National Nature Science Foundation of China No. 61502504, and the Research Funds of Renmin University of China No. 15XNLF09.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wei Lu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Wang, J., Hou, J., Huang, F., Lu, W., Du, X. (2016). Temporal Spatial-Keyword Search on Databases Using SQL. In: Morishima, A., et al. Web Technologies and Applications. APWeb 2016. Lecture Notes in Computer Science(), vol 9865. Springer, Cham. https://doi.org/10.1007/978-3-319-45835-9_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-45835-9_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-45834-2

  • Online ISBN: 978-3-319-45835-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics