Semantic Complex Service Composition within an IoT Ecosystem
During the last few years, advances in single board computers, communications technologies, and efficient protocols have boosted the emergence of the Internet of Things (IoT). Applications and systems that have been designed to conform to the IoT principles typically follow a service-oriented architecture. Consequently, billions of devices have been interconnected and integrated as modular web services. The latter can be used and reused by developers to build complex applications, significantly increasing the interest on service composition techniques. This chapter elaborates on the SYNAISTHISI IoT-ready platform, in which available services are semantically annotated and can be readily mashed into applications. An ontology for attaching semantic content to services typically found in a smart meeting room is developed and integrated into the platform. Based on this ontology, the process of service composition from a developer’s perspective is analyzed, and both a manual and a semiautomatic service composition approaches are presented. To demonstrate the workflow of the two approaches, a real-world use case is presented: the creation of a complex application that counts the number of persons present within a smart meeting room, through the interconnection of simpler, IoT-enabled services.