added check for requestType property before handling sparql query