Virtuoso includes a spatial database capability from version 6.01.3126 onwards. This capability is specially geared towards geographical data in RDF but can be used with SQL also. The functions implemented follow the SQL MM spatial specification where applicable but the entire SQL MM function set is not supported.

Spatial indexing is supported by a two dimensional R tree implementation. The geometries supported may have from two to four dimensions, with a choice of WGS 84 (or similar) latitude and longitude coordinates with haversine distances or a flat 2 dimensional plane for spatial reference system.