Sam Leewis
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Sam Leewis has a total of 46 co-authors. Here are the top co-authors by number of shared publications:
- Koen Smit
HU University of Applied Sciences Utrecht, Utrecht, Netherlands
15 shared publications - Annemae van de Hoef
HU University of Applied Sciences Utrecht, Utrecht, Netherlands
5 shared publications - John van Meerten
HU University of Applied Sciences Utrecht, Utrecht, Netherlands
4 shared publications Annemae van de Hoef
3 shared publicationsKoen Smit
3 shared publications- Matthijs Berkhout
Research Group on Digital Ethics, Research Centre for Learning and Innovation, University of Applied Sciences Utrecht, Utrecht, The Netherlands
3 shared publications
Latest Publications
- Open Access
- 24 February 2026
- Published by Elsevier in SSRN Electronic Journal
Applying LLMs for Automated Extraction of Business Logic from Source Code into DMN Models
System understanding is crucial for maintaining and reengineering software systems. This holds particularly for legacy systems, where information about the system is often not documented well and numerous changes over time have increased their complexity. These systems incur high maintenance costs, make it difficult to implement new functionalities, and pose challenges for reengineering activities such as modernizing parts of the system. Moreover, replacing these systems is often infeasible due to the risk of losing embedded business knowledge. Documenting the business logic embedded within such systems, for instance by means of models using Decision Model and Notation (DMN), could help address this challenge. However, the manual extraction of DMN models is difficult given the inherent complexity of these systems. In this regard, Large Language Models (LLMs) offer the potential to support the automation of this process by analyzing source code, leveraging contextual information, and performing without the need for extensive task-specific training data. In this study, we explore whether and how LLMs (GPT-4.1 and Gemini 2.5 Pro) can be applied for automated extraction of DMN models from source code. We applied the Design Science Research (DSR) methodology, supported by a theoretical literature review that identified requirements for LLM-based DMN extraction. In addition, we conducted experiments to determine prompts, model configurations, and the extent to which the extraction process could be automated. Our results indicate that LLM-based automated extraction of DMN models from source code can serve as an aid for understanding complex software systems.
- 24 February 2026
- Published by Elsevier in SSRN Electronic Journal
Open AccessApplying LLMs for Automated Extraction of Business Logic from Source Code into DMN Models
System understanding is crucial for maintaining and reengineering software systems. This holds particularly for legacy systems, where information about the system is often not documented well and numerous changes over time have increased their complexity. These systems incur high maintenance costs, make it difficult to implement new functionalities, and pose challenges for reengineering activities such as modernizing parts of the system. Moreover, replacing these systems is often infeasible due to the risk of losing embedded business knowledge. Documenting the business logic embedded within such systems, for instance by means of models using Decision Model and Notation (DMN), could help address this challenge. However, the manual extraction of DMN models is difficult given the inherent complexity of these systems. In this regard, Large Language Models (LLMs) offer the potential to support the automation of this process by analyzing source code, leveraging contextual information, and performing without the need for extensive task-specific training data. In this study, we explore whether and how LLMs (GPT-4.1 and Gemini 2.5 Pro) can be applied for automated extraction of DMN models from source code. We applied the Design Science Research (DSR) methodology, supported by a theoretical literature review that identified requirements for LLM-based DMN extraction. In addition, we conducted experiments to determine prompts, model configurations, and the extent to which the extraction process could be automated. Our results indicate that LLM-based automated extraction of DMN models from source code can serve as an aid for understanding complex software systems.
- Open Access
- 5 December 2025
- Published by Association for Computing Machinery (ACM)
- p. 17-23
Enhancing Digital Accessibility through Language-Level Classification and Adaptation: Exploring the Role of Large Language Models for Inclusive Language
- 5 December 2025
- Published by Association for Computing Machinery (ACM)
- p. 17-23
Open AccessEnhancing Digital Accessibility through Language-Level Classification and Adaptation: Exploring the Role of Large Language Models for Inclusive Language
- Open Access
- 5 December 2025
- Published by Association for Computing Machinery (ACM)
- p. 86-92
An Ethics-included Ontological Model for the Design and Evaluation of Digital Twins Technology for Spatial Planning
- 5 December 2025
- Published by Association for Computing Machinery (ACM)
- p. 86-92
Open AccessAn Ethics-included Ontological Model for the Design and Evaluation of Digital Twins Technology for Spatial Planning
- Open Access
- 15 October 2025
- Published by MDPI AG in Applied Sciences
- Vol. 15 (20) , 11060
Precision, Fitness, Generalization, and Simplicity as Quality Dimensions for Decision Discovery Algorithms
Operational decisions significantly influence organizational performance and individual well-being. Decision mining offers a method to discover and analyze decision logic from decision logs, enhancing decision-making processes. However, evaluating the quality of decision discovery algorithms remains a challenge. While precision, fitness, generalization, and simplicity are well-established quality dimensions in process mining, their adaptation to the decision mining domain is underexplored. This study adapts these four dimensions to the necessary characteristics of decision models, providing a framework for evaluating decision discovery algorithms. Using a design science research approach, we develop tailored metrics and functions and demonstrate their application through a practical example of environmental permit management modeled in Decision Model and Notation (DMN). Precision measures how the discovered decision model reproduces the observed fact types and values from the decision log, detecting over-specification in the decision model. Fitness evaluates how completely the decision model covers the behavior in the decision log, identifying missing or under-specified elements in the decision model. Generalization assesses the model’s robustness to unseen decision cases by quantifying how well the discovered decision model performs beyond the training data. Simplicity captures the complexity in the discovered decision model in relation to a human actor-specified threshold. These insights guide decision model improvements, contributing to higher transparency, accountability, and fairness in operational decision-making processes. This research bridges a gap in the body of knowledge by providing a concrete methodology for evaluating decision discovery algorithms. The results support organizations in aligning decision models with regulatory requirements and public values, while also laying a foundation for future research.
- 15 October 2025
- Published by MDPI AG in Applied Sciences
- Vol. 15 (20) , 11060
Open AccessPrecision, Fitness, Generalization, and Simplicity as Quality Dimensions for Decision Discovery Algorithms
Operational decisions significantly influence organizational performance and individual well-being. Decision mining offers a method to discover and analyze decision logic from decision logs, enhancing decision-making processes. However, evaluating the quality of decision discovery algorithms remains a challenge. While precision, fitness, generalization, and simplicity are well-established quality dimensions in process mining, their adaptation to the decision mining domain is underexplored. This study adapts these four dimensions to the necessary characteristics of decision models, providing a framework for evaluating decision discovery algorithms. Using a design science research approach, we develop tailored metrics and functions and demonstrate their application through a practical example of environmental permit management modeled in Decision Model and Notation (DMN). Precision measures how the discovered decision model reproduces the observed fact types and values from the decision log, detecting over-specification in the decision model. Fitness evaluates how completely the decision model covers the behavior in the decision log, identifying missing or under-specified elements in the decision model. Generalization assesses the model’s robustness to unseen decision cases by quantifying how well the discovered decision model performs beyond the training data. Simplicity captures the complexity in the discovered decision model in relation to a human actor-specified threshold. These insights guide decision model improvements, contributing to higher transparency, accountability, and fairness in operational decision-making processes. This research bridges a gap in the body of knowledge by providing a concrete methodology for evaluating decision discovery algorithms. The results support organizations in aligning decision models with regulatory requirements and public values, while also laying a foundation for future research.
- Open Access
- 9 June 2025
- Published by University of Maribor
- p. 755-764
Using Digital Twin Technology for Developing a Healthy and Sustainable Living Environment: A Dutch Case Study
As urban environments face increasing challenges related to sustainability in development and planning, Digital Twin (DT) technology has emerged as a potential solution for enriching real-time and historical data into spatial planning processes. This study examines the potential and application of a DT in facilitating sustainable urban development, using the Utrecht Science Park (USP) as a case study to illustrate these possibilities. Specifically, the Healthy Heidelberglaan project, a collaborative initiative with different partners within the USP, demonstrates how this technology could support sustainable urban transformation. This research employs a methodological approach that includes sensor-based data acquisition, integration with external datasets and the implementation of scalable processes for historical data analysis. As this research is ongoing, subsequent phases will focus on development, translation of geographic data, analysing potential barriers and identifying key challenges and opportunities associated with DT technology and its application.
- 9 June 2025
- Published by University of Maribor
- p. 755-764
Open AccessUsing Digital Twin Technology for Developing a Healthy and Sustainable Living Environment: A Dutch Case Study
As urban environments face increasing challenges related to sustainability in development and planning, Digital Twin (DT) technology has emerged as a potential solution for enriching real-time and historical data into spatial planning processes. This study examines the potential and application of a DT in facilitating sustainable urban development, using the Utrecht Science Park (USP) as a case study to illustrate these possibilities. Specifically, the Healthy Heidelberglaan project, a collaborative initiative with different partners within the USP, demonstrates how this technology could support sustainable urban transformation. This research employs a methodological approach that includes sensor-based data acquisition, integration with external datasets and the implementation of scalable processes for historical data analysis. As this research is ongoing, subsequent phases will focus on development, translation of geographic data, analysing potential barriers and identifying key challenges and opportunities associated with DT technology and its application.
- Open Access
- 9 June 2025
- Published by University of Maribor
- p. 567-584
Towards the Automatic Extraction of Decision Model & Notation from Dutch Legal Text
The translation from laws and regulations into actionable business rules remains challenging due to the complexity of Dutch legal text. In addition, the (semi-)manual translation of law into business rules is both time-consuming and error-prone. To address these issues, this research explores the use of Natural Language Processing (NLP) to automatically extract legal decisions and represent them in a Decision Model and Notation (DMN) model. For this purpose, existing research was reviewed to define requirements, which formed the basis for the NLP prototype. The current prototype evaluates an existing approach and aims to process unstructured Dutch legal text. However, a theoretical extension is proposed to address the structural complexity of extracting a DMN model from structured Dutch legal texts. Therefore, future research should focus on implementing the proposed approach and validating it in collaboration with legal analysts to extract a DMN model from structured Dutch legal texts.
- 9 June 2025
- Published by University of Maribor
- p. 567-584
Open AccessTowards the Automatic Extraction of Decision Model & Notation from Dutch Legal Text
The translation from laws and regulations into actionable business rules remains challenging due to the complexity of Dutch legal text. In addition, the (semi-)manual translation of law into business rules is both time-consuming and error-prone. To address these issues, this research explores the use of Natural Language Processing (NLP) to automatically extract legal decisions and represent them in a Decision Model and Notation (DMN) model. For this purpose, existing research was reviewed to define requirements, which formed the basis for the NLP prototype. The current prototype evaluates an existing approach and aims to process unstructured Dutch legal text. However, a theoretical extension is proposed to address the structural complexity of extracting a DMN model from structured Dutch legal texts. Therefore, future research should focus on implementing the proposed approach and validating it in collaboration with legal analysts to extract a DMN model from structured Dutch legal texts.
- Open Access
- 6 December 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-7
Emotion Detection in International Students Using a Social Robot
- 6 December 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-7
Open AccessEmotion Detection in International Students Using a Social Robot
- Open Access
- 6 December 2024
- Published by Association for Computing Machinery (ACM)
- p. 76-86
Digital Accessibility in Higher Education: A Dutch case study
- 6 December 2024
- Published by Association for Computing Machinery (ACM)
- p. 76-86
Open AccessDigital Accessibility in Higher Education: A Dutch case study
- Open Access
- 6 December 2024
- Published by Association for Computing Machinery (ACM)
- p. 87-94
Enhancing Educational Dynamics Integrating Large Language Models with a Social Robot
- 6 December 2024
- Published by Association for Computing Machinery (ACM)
- p. 87-94
Open AccessEnhancing Educational Dynamics Integrating Large Language Models with a Social Robot
- Open Access
- 19 November 2024
- Published by Elsevier in Information and Software Technology
- Vol. 179
Improving operational decision-making through decision mining - utilizing method engineering for the creation of a decision mining method
- 19 November 2024
- Published by Elsevier in Information and Software Technology
- Vol. 179
Open AccessImproving operational decision-making through decision mining - utilizing method engineering for the creation of a decision mining method