
proposed a third novel approach by combining these
two algorithms, and carefully analysed the results ob-
tained from all three approaches. The results of our
analysis show that all three methods return good high-
level generalisations with our novel combined method
performing better than the other two methods for the
given dataset. We acknowledge that only a small
number of users completed our survey, but from these
preliminary results, we see that real IoT users also
identified the results returned by our three approaches
as good high-level generalisations. In future work, we
will investigate how to consistently return the most
accurate high-level generalisation for a user’s rules,
by either using one or a combination of the presented
methods. We also plan to focus on improving the ac-
curacy of the results so that more often the first result
returned is the most accurate high-level generalisation
and the number of cases where no result is returned is
minimised or even completely eliminated. Finally, we
are going to investigate how our solution can best be
integrated into existing IoT platforms as illustrated in
Figure 1 to further evaluate the proposed NLP-based
rule translation approach with end users.
REFERENCES
Attoh, E. and Signer, B. (2021). A Middleware for Implicit
Human-Computer Interaction Across IoT Platforms.
In Adjunct Proc. of UbiComp 2021.
Attoh, E. and Signer, B. (2023a). From Proprietary to High-
Level Trigger-Action Programming Rules: A Natu-
ral Language Processing Approach. Technical Report
WISE-2023-01, Vrije Universiteit Brussel.
Attoh, E. and Signer, B. (2023b). Transforming Proprietary
to High-Level Trigger-Action Programming Rules
Dataset. https://doi.org/10.5281/zenodo.10033916.
Barricelli, B. R. et al. (2019). End-User Development, End-
User Programming and End-User Software Engineer-
ing: A Systematic Mapping Study. Journal of Systems
and Software, 149.
Cabitza, F. et al. (2017). Rule-based Tools for the Configu-
ration of Ambient Intelligence Systems: A Compara-
tive User Study. MTAP, 76(4).
Corno, F., De Russis, L., and Monge Roffarello, A. (2021).
Devices, Information, and People: Abstracting the
Internet of Things for End-User Personalization. In
Proc. of IS-EUD 2021.
Corno, F., De Russis, L., and Roffarello, A. M. (2019). A
High-Level Semantic Approach to End-User Develop-
ment in the Internet of Things. International Journal
of Human-Computer Studies, 125.
Corno, F. et al. (2020a). HeyTAP: Bridging the Gaps
Between Users’ Needs and Technology in IF-THEN
Rules via Conversation. In Proc. of AVI 2020.
Corno, F. et al. (2020b). TAPrec: Supporting the Composi-
tion of Trigger-Action Rules Through Dynamic Rec-
ommendations. In Proc. of IUI 2020.
Coutaz, J. and Crowley, J. L. (2016). A First-Person Expe-
rience with End-User Development for Smart Homes.
IEEE Pervasive Computing, 15(2).
Desolda, G. et al. (2016). End-User Development for the
Internet of Things: EFESTO and the 5W Composition
Paradigm. In Proc. of RMC 2016.
Gardner, M. et al. (2017). AllenNLP: A Deep Semantic
Natural Language Processing Platform. In Proc. of
NLP-OSS.
Huang, T.-H. K., Azaria, A., and Bigham, J. P. (2016). In-
structableCrowd: Creating IF-THEN Rules via Con-
versations With the Crowd. In Proc. of CHI 2016 EA.
Jeong, H. et al. (2019). Big Data and Rule-based Recom-
mendation System in Internet of Things. Cluster Com-
puting, 22(1).
Kr
¨
uger, J. (2018). When to Extract Features: Towards a
Recommender System. In Proc. of ICSE 2018 Com-
panion.
Li, T. J.-J. et al. (2017). Programming IoT Devices by
Demonstration Using Mobile Apps. In Proc. of IS-
EUD 2017.
Longo, C. F. et al. (2022). Towards Ontological Interop-
erability of Cognitive IoT Agents Based on Natural
Language Processing. Intelligenza Artificiale, 16(1).
Markopoulos, P. et al. (2017). End-User Development for
the Internet of Things. TOCHI, 24(2).
Mattioli, A. and Patern
`
o, F. (2021). Recommendations for
Creating Trigger-Action Rules in a Block-based Envi-
ronment. Behaviour & Information Technology, 40.
Mi, X. et al. (2017). An Empirical Characterization of
IFTTT: Ecosystem, Usage, and Performance. In
Proc. of IMC 2017.
Nguyen, A. T. et al. (2016). API Code Recommenda-
tion Using Statistical Learning From Fine-Grained
Changes. In Proc. of FSE 2016.
Noura, M., Atiquzzaman, M., and Gaedke, M. (2019). In-
teroperability in Internet of Things: Taxonomies and
Open Challenges. Mobile Networks and Applications,
24(3).
Ospan, B. et al. (2018). Context Aware Virtual Assistant
With Case-based Conflict Resolution in Multi-User
Smart Home Environment. In Proc. of CoCoNet 2018.
Qurashi, A. W., Holmes, V., and Johnson, A. P. (2020).
Document Processing: Methods for Semantic Text
Similarity Analysis. In Proc. of INISTA 2020.
Sambra, A. V. et al. (2016). Solid: A Platform for Decen-
tralized Social Applications Based on Linked Data.
Technical report, MIT CSAIL & Qatar Computing
Research Institute.
Trullemans, S., Van Holsbeeke, L., and Signer, B. (2017).
The Context Modelling Toolkit: A Unified Multi-
layered Context Modelling Approach. PACMHCI,
1(EICS).
Ur, B. et al. (2016). Trigger-Action Programming in the
Wild: An Analysis of 200,000 IFTTT Recipes. In
Proc. of CHI 2016.
Towards a Write once Run Anywhere Approach in End-User IoT Development
225