A SPARQL benchmark for distributed databases in IoT environments