Visual interfaces are very important for human interactions in Cyberworlds. Visual querying should be one of the basic tools for data mining and retrieval in Cyberworlds. In this paper, function-based modeling of spatio-temporal range queries is described. It allows for creating an intuitive visual interface using 2D projection of 3D query shapes. The proposed approach combines visualization of time-dependent data with visualization of the range query formulation employing very compact function-based query model. It is also shown that the proposed geometric model makes constructing the queries on spatio-temporal attributes more intuitive, and allows for posing temporal range queries of any shape.