operate and analyze moving objects ' relationships and introduces two algorithms ( relationship querying and relative relationship dynamic pattern matching ) to derive and analyze the dynamic relationships of moving objects.