On Processing Spatial Queries in Graph Database Management Systems