Knowledge Graph Construction for SOFL Formal Specifications

Author:

Li Jiandong1ORCID,Liu Shaoying1ORCID,Liu Ai1,Huang Runhe2

Affiliation:

1. Graduate School of Advanced Science and Engineering, Hiroshima University, Hiroshima 739-8527, Japan

2. Faculty of Computer and Information Sciences, Hosei University, Tokyo 184-8584, Japan

Abstract

Formal specifications can provide a solid foundation for software development and support for techniques of software quality assurance, such as specification-based inspection and testing. To ensure that these techniques can be applied effectively in practice, efficiently and accurately understanding specifications becomes extremely important. While this may be relatively easy for well-trained developers in formal methods, it can be rather difficult for computer since computer does not easily understand specifications. This difficulty poses a challenge for realizing automatic specification-based verification techniques that are in high demand for reducing development cost and improving software reliability. In this paper, we address this problem by discussing how the formal specification can be transformed into a knowledge graph to provide comprehensible, well-organized details of the specification for developers and computers. The transformation is done by extracting and storing information about attributes of each component and by establishing relationships between components in a formal specification. We elaborate on a top-down approach of constructing a knowledge graph from a specification, including creating an ontology, designing the Entity–Relationship (ER) diagram of the relational database based on the created ontology, extracting and storing attribute and relationship information in the relational database, mapping ontology to its instances and relational data to RDF triples, and displaying knowledge graph. Further, we present a case study to show how our approach works on the formal specification of an ATM system. Finally, we describe three experiments to evaluate its performance in improving specification readability, effectively guiding inspectors to establish traceability links between specifications and programs, and detecting defects through program inspection, respectively.

Funder

ROIS NII Open Collaborative Research 2021

Chinese Government Scholarship

Publisher

World Scientific Pub Co Pte Ltd

Subject

Artificial Intelligence,Computer Graphics and Computer-Aided Design,Computer Networks and Communications,Software

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Maintainability Assessment for SOFL Formal Specifications;2023 10th International Conference on Dependable Systems and Their Applications (DSA);2023-08-10

2. Requirements‐related fault prevention during the transformation from formal specifications to programs;IET Software;2023-05-15

3. Computer-Aided Formalization of Internal Consistent Product Family Models;Applied Sciences;2023-01-30

4. Two-Level Formal Specifications for Deep Neural Networks;2023

5. Complex SPARQL Queries Based on Ontology and RDF;Proceedings of the 4th International Conference on Big Data Analytics for Cyber-Physical System in Smart City - Volume 1;2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3