Multi-dimensional contexts for querying IoT networks