Fix bug in method extractfromSPARQLEndpoint in BaseRDFRepo.