Query rewriting for semantic query optimization in spatial databases uri icon