Semantic Interoperability on Blockchain by Generating Smart Contracts Based on Knowledge Graphs

dc.contributor.authorVan Woensel, William
dc.contributor.authorSeneviratne, Oshani
dc.date.accessioned2024-09-24T17:58:50Z
dc.date.available2024-09-24T17:58:50Z
dc.date.issued2024-09-11
dc.description.abstractBackground: Health 3.0 allows decision making to be based on longitudinal data from multiple institutions, from across the patient's healthcare journey. In such a distributed setting, blockchain smart contracts can act as neutral intermediaries to implement trustworthy decision making. Objective: In a distributed setting, transmitted data will be structured using standards (such as HL7 FHIR) for semantic interoperability. In turn, the smart contract will require interoperability with this standard, implement a complex communication setup (e.g., using oracles), and be developed using blockchain languages (e.g., Solidity). We propose the encoding of smart contract logic using a high-level semantic Knowledge Graph, using concepts from the domain standard. We then deploy this semantic KG on blockchain. Methods: Off-chain, a code generation pipeline compiles the KG into a concrete smart contract, which is then deployed on-chain. Our pipeline targets an intermediary bridge representation, which can be transpiled into a specific blockchain language. Our choice avoids on-chain rule engines, with unpredictable and likely higher computational cost; it is thus in line with the economic rules of blockchain. Results: We applied our code generation approach to generate smart contracts for 3 health insurance cases from Medicare. We discuss the suitability of our approach - the need for a neutral intermediary - for a number of healthcare use cases. Our evaluation finds that the generated contracts perform well in terms of correctness and execution cost ("gas") on blockchain. Conclusions: We showed that it is feasible to automatically generate smart contract code based on a semantic KG, in a way that respects the economic rules of blockchain. Future work includes studying the use of Large Language Models (LLM) in our approach, and evaluations on other blockchains.
dc.identifier.urihttp://hdl.handle.net/10393/46604
dc.language.isoen
dc.rightsAttribution-NonCommercial-ShareAlike 4.0 Internationalen
dc.rights.urihttp://creativecommons.org/licenses/by-nc-sa/4.0/
dc.subjectHealth 3.0
dc.subjectKnowledge Graphs
dc.subjectBlockchain
dc.subjectSmart Contracts
dc.subjectSemantic Web
dc.subjectNotation3
dc.subjectHealth Insurance
dc.titleSemantic Interoperability on Blockchain by Generating Smart Contracts Based on Knowledge Graphs
dc.typePreprint

Fichiers

Trousse originale

Voici les éléments 1 - 1 sur 1
En cours de chargement...
Vignette d'image
Nom:
Semantic_interoperability_on_Blockchain.pdf
Taille:
948.24 KB
Format:
Adobe Portable Document Format

Trousse de licence

Voici les éléments 1 - 1 sur 1
En cours de chargement...
Vignette d'image
Nom:
license.txt
Taille:
2.26 KB
Format:
Item-specific license agreed upon to submission
Description: