3-D visual query language for image databases