  In the sensing as a service paradigm, Internet of Things (IoT) Middleware
platforms allow data consumers to retrieve the data they want without knowing
the underlying technical details of IoT resources (i.e. sensors and data
processing components). However, configuring an IoT middleware platform and
retrieving data is a significant challenge for data consumers as it requires
both technical knowledge and domain expertise. In this paper, we propose a
knowledge driven approach called Context Aware Sensor Configuration Model
(CASCOM) to simplify the process of configuring IoT middleware platforms, so
the data consumers, specifically non-technical personnel, can easily retrieve
the data they required. In this paper, we demonstrate how IoT resources can be
described using semantics in such away that they can later be used to compose
service work-flows. Such automated semantic-knowledge based IoT resource
composition approach advances the current research. We demonstrate the
feasibility and the usability of our approach through a prototype
implementation based on an IoT middleware called Global Sensor Networks (GSN),
though our model can be generalized to any other middleware platform.
