Spatio-temporal Pattern Queries M. Hadjieleftheriou G. Kollios P. Bakalov V. J. Tsotras.

Slides:



Advertisements
Similar presentations
The A-tree: An Index Structure for High-dimensional Spaces Using Relative Approximation Yasushi Sakurai (NTT Cyber Space Laboratories) Masatoshi Yoshikawa.
Advertisements

Finding the Sites with Best Accessibilities to Amenities Qianlu Lin, Chuan Xiao, Muhammad Aamir Cheema and Wei Wang University of New South Wales, Australia.
Spatio-temporal Databases
 Introduction  Views  Related Work  Preliminaries  Problems Discussed  Algorithm LPTA  View Selection Problem  Experimental Results.
School of Computer Science and Engineering Finding Top k Most Influential Spatial Facilities over Uncertain Objects Liming Zhan Ying Zhang Wenjie Zhang.
©Silberschatz, Korth and Sudarshan12.1Database System Concepts Chapter 12: Part C Part A:  Index Definition in SQL  Ordered Indices  Index Sequential.
STUN: SPATIO-TEMPORAL UNCERTAIN (SOCIAL) NETWORKS Chanhyun Kang Computer Science Dept. University of Maryland, USA Andrea Pugliese.
Progressive Computation of The Min-Dist Optimal-Location Query Donghui Zhang, Yang Du, Tian Xia, Yufei Tao* Northeastern University * Chinese University.
Retrieving k-Nearest Neighboring Trajectories by a Set of Point Locations Lu-An Tang, Yu Zheng, Xing Xie, Jing Yuan, Xiao Yu, Jiawei Han University of.
July 29HDMS'08 Caching Dynamic Skyline Queries D. Sacharidis 1, P. Bouros 1, T. Sellis 1,2 1 National Technical University of Athens 2 Institute for Management.
Query Processing in Databases Dr. M. Gavrilova.  Introduction  I/O algorithms for large databases  Complex geometric operations in graphical querying.
A Generic Framework for Handling Uncertain Data with Local Correlations Xiang Lian and Lei Chen Department of Computer Science and Engineering The Hong.
2-dimensional indexing structure
Quantile-Based KNN over Multi- Valued Objects Wenjie Zhang Xuemin Lin, Muhammad Aamir Cheema, Ying Zhang, Wei Wang The University of New South Wales, Australia.
--Presented By Sudheer Chelluboina. Professor: Dr.Maggie Dunham.
Spatio-temporal Databases Time Parameterized Queries.
Efficient Processing of Top-k Spatial Keyword Queries João B. Rocha-Junior, Orestis Gkorgkas, Simon Jonassen, and Kjetil Nørvåg 1 SSTD 2011.
Spatio-Temporal Databases
Optimization of Spatial Joins on Mobile Devices N. Mamoulis 1, P. Kalnis 2, S. Bakiras 3, X. Li 2 1 Department of Computer Science and Information Systems,
Themis Palpanas1 VLDB - Aug 2004 Fair Use Agreement This agreement covers the use of all slides on this CD-Rom, please read carefully. You may freely use.
Computer Science Spatio-Temporal Aggregation Using Sketches Yufei Tao, George Kollios, Jeffrey Considine, Feifei Li, Dimitris Papadias Department of Computer.
Spatio-Temporal Databases. Introduction Spatiotemporal Databases: manage spatial data whose geometry changes over time Geometry: position and/or extent.
1 SINA: Scalable Incremental Processing of Continuous Queries in Spatio-temporal Databases Mohamed F. Mokbel, Xiaopeng Xiong, Walid G. Aref Presented by.
R-tree Analysis. R-trees - performance analysis How many disk (=node) accesses we’ll need for range nn spatial joins why does it matter?
Spatio-Temporal Databases. Introduction Spatiotemporal Databases: manage spatial data whose geometry changes over time Geometry: position and/or extent.
Euripides G.M. PetrakisIR'2001 Oulu, Sept Indexing Images with Multiple Regions Euripides G.M. Petrakis Dept.
R-Trees 2-dimensional indexing structure. R-trees 2-dimensional version of the B-tree: B-tree of maximum degree 8; degree between 3 and 8 Internal nodes.
Indexing Spatio-Temporal Data Warehouses Dimitris Papadias, Yufei Tao, Panos Kalnis, Jun Zhang Department of Computer Science Hong Kong University of Science.
Trip Planning Queries F. Li, D. Cheng, M. Hadjieleftheriou, G. Kollios, S.-H. Teng Boston University.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
Roger ZimmermannCOMPSAC 2004, September 30 Spatial Data Query Support in Peer-to-Peer Systems Roger Zimmermann, Wei-Shinn Ku, and Haojun Wang Computer.
AAU A Trajectory Splitting Model for Efficient Spatio-Temporal Indexing Presented by YuQing Zhang  Slobodan Rasetic Jorg Sander James Elding Mario A.
Chapter 13 Query Processing Melissa Jamili CS 157B November 11, 2004.
Towards Robust Indexing for Ranked Queries Dong Xin, Chen Chen, Jiawei Han Department of Computer Science University of Illinois at Urbana-Champaign VLDB.
CSIS7101 – Advanced Database Technologies Spatio-Temporal Data (Part 1) On Indexing Mobile Objects Kwong Chi Ho Leo Wong Chi Kwong Simon Lui, Tak Sing.
Leonardo Guerreiro Azevedo Geraldo Zimbrão Jano Moreira de Souza Approximate Query Processing in Spatial Databases Using Raster Signatures Federal University.
Nearest Neighbor Queries Chris Buzzerd, Dave Boerner, and Kevin Stewart.
Efficient Processing of Top-k Spatial Preference Queries
Exact indexing of Dynamic Time Warping
Answering Top-k Queries Using Views Gautam Das (Univ. of Texas), Dimitrios Gunopulos (Univ. of California Riverside), Nick Koudas (Univ. of Toronto), Dimitris.
Clustering of Uncertain data objects by Voronoi- diagram-based approach Speaker: Chan Kai Fong, Paul Dept of CS, HKU.
August 30, 2004STDBM 2004 at Toronto Extracting Mobility Statistics from Indexed Spatio-Temporal Datasets Yoshiharu Ishikawa Yuichi Tsukamoto Hiroyuki.
Xuanxing Xiong and Jia Wang Electrical and Computer Engineering Illinois Institute of Technology Chicago, Illinois, United States November, 2011 Vectorless.
Monitoring k-NN Queries over Moving Objects Xiaohui Yu University of Toronto Joint work with Ken Pu and Nick Koudas.
Euripides G.M. PetrakisIR'2001 Oulu, Sept Indexing Images with Multiple Regions Euripides G.M. Petrakis Dept. of Electronic.
Trajectory Data Mining Dr. Yu Zheng Lead Researcher, Microsoft Research Chair Professor at Shanghai Jiao Tong University Editor-in-Chief of ACM Trans.
Efficient OLAP Operations in Spatial Data Warehouses Dimitris Papadias, Panos Kalnis, Jun Zhang and Yufei Tao Department of Computer Science Hong Kong.
1 Complex Spatio-Temporal Pattern Queries Cahide Sen University of Minnesota.
Indexing Time Series. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases Time Series databases Text databases.
Progressive Computation of The Min-Dist Optimal-Location Query Donghui Zhang, Yang Du, Tian Xia, Yufei Tao* Northeastern University * Chinese University.
Spatio-Temporal Databases
DASFAA 2005, Beijing 1 Nearest Neighbours Search using the PM-tree Tomáš Skopal 1 Jaroslav Pokorný 1 Václav Snášel 2 1 Charles University in Prague Department.
1 Spatial Query Processing using the R-tree Donghui Zhang CCIS, Northeastern University Feb 8, 2005.
Computer Science and Engineering Jianye Yang 1, Ying Zhang 2, Wenjie Zhang 1, Xuemin Lin 1 Influence based Cost Optimization on User Preference 1 The University.
Spatial Approximate String Search. Abstract This work deals with the approximate string search in large spatial databases. Specifically, we investigate.
Advanced Database Aggregation Query Processing
Progressive Computation of The Min-Dist Optimal-Location Query
Sameh Shohdy, Yu Su, and Gagan Agrawal
Spatio-temporal Pattern Queries
Spatial Online Sampling and Aggregation
Introduction to Spatial Databases
Structure and Content Scoring for XML
Presented by: Mahady Hasan Joint work with
Similarity Search: A Matching Based Approach
Time Relaxed Spatiotemporal Trajectory Joins
Structure and Content Scoring for XML
Continuous Motion Pattern Query
Continuous Density Queries for Moving Objects
Efficient Processing of Top-k Spatial Preference Queries
Efficient Aggregation over Objects with Extent
Presentation transcript:

Spatio-temporal Pattern Queries M. Hadjieleftheriou G. Kollios P. Bakalov V. J. Tsotras

2 Motivation The need to locate spatio-temporal objects that follow specific patterns. Examples:  Identify vehicles that were close to the three recent sniper incidents  Identify clients with specific credit card usage patterns  Analyze connectivity/mobility patterns in mobile ad-hoc networks (e.g., verify that a given pattern is prevalent)

3 Example X Y T Q 2, t 2 Q 3, t 3 Q 1, t 1

4 Formulation Syntax:  S can be any spatial predicate, T can be any temporal constraint or empty Score object trajectories according to how well they satisfy the query pattern Problem: Given a query pattern use an index to score trajectories incrementally Ideally: Access only parts of trajectories necessary to guarantee correct answers. Prune trajectories fast!

5 Two Separate Problems STP Queries With Time  Every query predicate is associated with an absolute temporal constraint STP Queries With Order  Query predicates are associated with relative temporal constraint

6 Types of STP Queries Range predicates: Crosses, Leaves, Meets, …  Use Boolean score functions (crosses or not) Distance based predicates: Nearest neighbor, Group nearest neighbor, all other neighbors, …  Use aggregate score functions (min, max, average, sum, …), as long as they are monotonic Combinations of the above  Use combined scoring functions and answer each group of queries individually

7 STP Queries With Time We use existing spatio-temporal index structures to answer all predicates We employ concepts from T.A. (Fagin et al.) to answer predicates incrementally We prune trajectories according to upper and lower bounds We access the actual trajectories only when good candidates have been found

8 A Simple Example P1P1 P2P2 Q P3P3 T X

9 A Simple Example P1P1 P2P2 Q P3P3 T X

10 STP Queries With Order X Y T Q2Q2 Q 3, t 3 Q 1, t 1 Q3Q3

11 The Exact Distance is Expensive Cost increases exponentially as the number of predicates increases Can be computed more efficiently by using the T.A. algorithm Can we take predicate ordering into account and speed up T.A. as well?

12 Previous Approaches Cannot Help Spatio-temporal indices cannot be used!  Full scan of temporal dimension of the index Projecting out the temporal dimension does not help! Ideally, we need to find a method that will retrieve only the trajectories that satisfy the predicates in the specified order

13 Solution Decompose the space into a grid Keep a list of trajectory ids that intersect each grid cell, along with the respective time-periods Given the query predicates compose respective lists of trajectory ids/time- instants, from the constituent cells Use a merge-join algorithm to prune trajectories that do not satisfy the order of the query

14 P1P1 P3P3 P2P2 The Index Structure A = { (P 1, 1) } A B... B = { (P 2, [2, 3]) } F = { (P 1, [3,4]), (P 2, 18) } … … This is the index that we will store

15 Example P1P1 P3P3 P2P2 A B... Q1Q1 Q2Q (P 2, 2) (P 2, 7) Q1Q1 Q2Q2 (P 2, {2,3,15,16}), (P 1, {4,5}), (P 3, 5) U = {P 2 } 1 9 (P 2, {7,8,9,17,18}), (P 3, {3,4}) P

16 Idea! Run T.A. using only the candidate trajectory data loaded so far to compute the exact distance Prove that the answer will be correct even if we don’t see the rest of the trajectory We speed up the computation cost associated with the queries as well!

17 Experimental Evaluation Synthetic datasets on the freeways of Illinois Up to 500K objects and 6,000,000 MBRs Measure the average number of disk accesses for the index and the total number of candidate trajectories that need to be retrieved Compared linear scan, R-tree, MVR-tree

18 STP Queries with Order Range Predicates

19 STP Queries with Order Distance Based Predicates

20 Conclusions Introduced a novel type of query Proposed a simple yet efficient expression mechanism Designed an efficient algorithm for STP Queries with Time Designed an efficient index structure and algorithms for STP Queries with Order Conducted extensive experiments

Thank you!