added query to database and removed sparql
removed unused route get_lat_long from question controller because it does not follow the one class one responsibility guidelines
removed rubocop erros