% This data is distributed under the terms of the Open Data Commons Attribution License (ODC-By) v1.0 - See more at: http://opendatacommons.org/licenses/by/1-0/ @Article{OJIOT_2018v4i1n04_Khaled, title = {Service-Relationship Programming Framework for the Social IoT}, author = {Ahmed E. Khaled and Wyatt Lindquist and Abdelsalam (Sumi) Helal}, journal = {Open Journal of Internet Of Things (OJIOT)}, issn = {2364-7108}, year = {2018}, volume = {4}, number = {1}, pages = {35--53}, note = {Special Issue: Proceedings of the International Workshop on Very Large Internet of Things (VLIoT 2018) in conjunction with the VLDB 2018 Conference in Rio de Janeiro, Brazil.}, url = {http://nbn-resolving.de/urn:nbn:de:101:1-2018080519302286990058}, urn = {urn:nbn:de:101:1-2018080519302286990058}, publisher = {RonPub}, bibsource = {RonPub}, abstract = {We argue that for a true realization of innovative programming opportunities for smart spaces, the developers should be equipped with informative tools that assist them in building domain-related applications. Such tools should utilize the services offered by the space's smart things and consider the different relationships that may tie these services opportunistically to build applications. In this paper, we utilize our Inter-thing relationships programming framework to present a distributed programming ecosystem. The framework broadens the restricted set of thing-level relationships of the evolving social IoT paradigm with a set of service-level relationships. Such relationships provide guidance into how services belonging to different things can be combined to build meaningful applications. We also present a uniform way of describing the thing services and the service-level relationships along with new capabilities for the things to dynamically generate their own services, formulate the corresponding programmable interfaces (APIs) and create an ad-hoc network of socially related smart things at runtime. We then present the semantic rules that guide the establishment of IoT applications and finally demonstrate the features of the framework through a proof-of-concept application.} }