Protelis: practical aggregate programming
TinyDB: an acquisitional query processing system for sensor networks