Retrieving qualified customer shopping trajectories based on a query is a basic function in the prototype system. The query
condition may be a point, region, time, time interval, or even a direction and speed. For example, given a rectangle region R, a time interval t and a speed interval v, trajectories crossing R during t at a speed within v can be returned.