JSON-LD Based Web API Semantic Annotation Considering Distributed Knowledge
Based on semantically annotated Web APIs, automatic Web API composition can be implemented easily. The operation can greatly improve efficiency of building a software system. However, in real world, semantic annotation for Web APIs will encounter various difficulties, because of their distribution a...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
IEEE
2020-01-01
|
Series: | IEEE Access |
Subjects: | |
Online Access: | https://ieeexplore.ieee.org/document/9245595/ |
id |
doaj-516e1e774a3e40419315f3ff395fa43b |
---|---|
record_format |
Article |
spelling |
doaj-516e1e774a3e40419315f3ff395fa43b2021-03-30T04:14:49ZengIEEEIEEE Access2169-35362020-01-01819720319722110.1109/ACCESS.2020.30349379245595JSON-LD Based Web API Semantic Annotation Considering Distributed KnowledgeXianghui Wang0https://orcid.org/0000-0002-5887-7775Qian Sun1Jinlong Liang2Department of Computer Science and Technology, Shandong Jianzhu University, Jinan, ChinaDepartment of Computer Science and Technology, Shandong Jianzhu University, Jinan, ChinaInformation Center, Shandong Provincial Qianfoshan Hospital, First Affiliated Hospital of Shandong First Medical University, Jinan, ChinaBased on semantically annotated Web APIs, automatic Web API composition can be implemented easily. The operation can greatly improve efficiency of building a software system. However, in real world, semantic annotation for Web APIs will encounter various difficulties, because of their distribution and function diversity, such as disunited API description formats, response result with complex structure, shortage of business domain ontologies, semantic conflicts among distributed knowledge, and so on. To solve these difficulties, we propose a JSON-LD based Web API semantic annotation approach (JWASA). JWASA can assist professional developers to semi-automatically complete semantic annotation of Web APIs. A common Web API description ontology is firstly defined, including necessary vocabularies about invocation information, functional semantics, and non-functional features. Then, JWASA automatically converts a Web API description into a document in an united JSON format, and assist developers to semi-automatically embed semantic information of crucial elements of the API by means of a lightweight Linked Data format JSON-LD. Meanwhile, a semantic annotation specification is proposed to deal with various complex situations in Web API description, e.g: too many response parameters, no request parameters, etc. In addition, to improve efficiency of annotation, JWASA provides some extra operations, including automatic new ontology or vocabulary creation, automatic functional semantics extraction etc. Also, JWASA provides semi-automatically bridge rule generation algorithm, which can infer implied relationships among vocabularies (e.g: sub-class, super-class, equality). JWASA focuses on the semantic annotation of functionality of Web APIs, and can create effective semantic Web APIs for future API automatic composition. We implement a prototype system and carry out a series of experiments to evaluate JWASA on real Web APIs crawled from Internet. Experiments show that our approach is effective and efficient.https://ieeexplore.ieee.org/document/9245595/Web APIsemantic annotationJSON-LDontology creationdistributed knowledge |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Xianghui Wang Qian Sun Jinlong Liang |
spellingShingle |
Xianghui Wang Qian Sun Jinlong Liang JSON-LD Based Web API Semantic Annotation Considering Distributed Knowledge IEEE Access Web API semantic annotation JSON-LD ontology creation distributed knowledge |
author_facet |
Xianghui Wang Qian Sun Jinlong Liang |
author_sort |
Xianghui Wang |
title |
JSON-LD Based Web API Semantic Annotation Considering Distributed Knowledge |
title_short |
JSON-LD Based Web API Semantic Annotation Considering Distributed Knowledge |
title_full |
JSON-LD Based Web API Semantic Annotation Considering Distributed Knowledge |
title_fullStr |
JSON-LD Based Web API Semantic Annotation Considering Distributed Knowledge |
title_full_unstemmed |
JSON-LD Based Web API Semantic Annotation Considering Distributed Knowledge |
title_sort |
json-ld based web api semantic annotation considering distributed knowledge |
publisher |
IEEE |
series |
IEEE Access |
issn |
2169-3536 |
publishDate |
2020-01-01 |
description |
Based on semantically annotated Web APIs, automatic Web API composition can be implemented easily. The operation can greatly improve efficiency of building a software system. However, in real world, semantic annotation for Web APIs will encounter various difficulties, because of their distribution and function diversity, such as disunited API description formats, response result with complex structure, shortage of business domain ontologies, semantic conflicts among distributed knowledge, and so on. To solve these difficulties, we propose a JSON-LD based Web API semantic annotation approach (JWASA). JWASA can assist professional developers to semi-automatically complete semantic annotation of Web APIs. A common Web API description ontology is firstly defined, including necessary vocabularies about invocation information, functional semantics, and non-functional features. Then, JWASA automatically converts a Web API description into a document in an united JSON format, and assist developers to semi-automatically embed semantic information of crucial elements of the API by means of a lightweight Linked Data format JSON-LD. Meanwhile, a semantic annotation specification is proposed to deal with various complex situations in Web API description, e.g: too many response parameters, no request parameters, etc. In addition, to improve efficiency of annotation, JWASA provides some extra operations, including automatic new ontology or vocabulary creation, automatic functional semantics extraction etc. Also, JWASA provides semi-automatically bridge rule generation algorithm, which can infer implied relationships among vocabularies (e.g: sub-class, super-class, equality). JWASA focuses on the semantic annotation of functionality of Web APIs, and can create effective semantic Web APIs for future API automatic composition. We implement a prototype system and carry out a series of experiments to evaluate JWASA on real Web APIs crawled from Internet. Experiments show that our approach is effective and efficient. |
topic |
Web API semantic annotation JSON-LD ontology creation distributed knowledge |
url |
https://ieeexplore.ieee.org/document/9245595/ |
work_keys_str_mv |
AT xianghuiwang jsonldbasedwebapisemanticannotationconsideringdistributedknowledge AT qiansun jsonldbasedwebapisemanticannotationconsideringdistributedknowledge AT jinlongliang jsonldbasedwebapisemanticannotationconsideringdistributedknowledge |
_version_ |
1724182079662456832 |