Researches on spatial and temporal databases have been done independently. In terms of spatial databases, whenever a new object instance is inserted into a database, the old one should be deleted. It stands for the difficulty to manage efficiently the historical information about spatial object that has been changed with temporal evolution. In view of temporal databases, because it did not consider supporting spatial type and operation, it is extremely hard to manage directly spatial objects without any modification. Nevertheless, because these research domains are closely related, an integration field, i.e., spatiotemporal databases, has been launched. Spatiotemporal databases support historical information as well as spatial management for the object at the same time and can deal with geometries changing over time. They can be used in the various application areas such as geographic information system (GIS), urban plan system (UPS), and car navigation system (CNS), and so on. In this paper, we design not only the spatiotemporal query processing (STQP) system, but also implement them. They include a spatiotemporal data model (STDM) that supports bitemporal concept for spatial objects. We also explain a specification of the spatiotemporal database query language, entitled as STQL as well. Compared with the results of the previous researches, we insist that it is the first pilot system in the spatiotemporal database area that supports temporal concept and spatial expression as well.