journal article·2021-12-16Open access

JSON Schemas with Semantic Annotations Supporting Data Translation

Gonçalo Amaro, Filipe Moutinho, Rogério Campos-Rebelo, Julius Köpke, Pedro Maló

Applied Sciences· Volume 11· Issue 24

Abstract

As service-oriented architectures are a solution for large distributed systems, interoperability between these systems, which are often heterogeneous, can be a challenge due to the different syntax and semantics of the exchanged messages or even different data interchange formats. This paper addresses the data interchange format and data interoperability issues between XML-based and JSON-based systems. It proposes novel annotation mechanisms to add semantic annotations and complement date values to JSON Schemas, enabling an interoperability approach for JSON-based systems that, until now, was only possible for XML-based systems. A set of algorithms supporting the translation from JSON Schema to XML Schema, JSON to XML, and XML to JSON is also proposed. These algorithms were implemented in an existing prototype tool, which now supports these systems’ interoperability through semantic compatibility verification and the automatic generation of translators.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Service-Oriented Architecture and Web Services · Semantic Web and Ontologies · Advanced Database Systems and Queries

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Electrical and Computer Engineering, NOVA School of Science and Technology, 2829-516 Caparica, Portugal

UNINOVA-Instituto de Desenvolvimento de Novas Tecnologias, 2829-516 Caparica, Portugal

Polytechnic Institute of Beja, School of Technology and Management, 7800-295 Beja, Portugal

Department of Informatics Systems, University of Klagenfurt, 9020 Klagenfurt, Austria

References (52)

Show source-provided references
1. Kozma, D., Varga, P., and Larrinaga, F. (2021). System of Systems Lifecycle Management—A New Concept Based on Process Engineering Methodologies. Appl. Sci., 11.10.3390/app11083386 ↗
2. Delsing, J. (2017). Iot Automation: Arrowhead Framework, CRC Press.10.1201/9781315367897 ↗
3. Van Der Veer, H., and Wiles, A. (2008). Achieving Technical Interoperability: The ETSI Approach, European Telecommunications Standards Institute.
4. Moutinho, F., Paiva, L., Maló, P., and Gomes, L. (2016, January 23–26). Semantic annotation of data in schemas to support data translations. Proceedings of the IECON (Industrial Electronics Conference), Florence, Italy.10.1109/IECON.2016.7793691 ↗
5. Extended Semantic Annotations for Generating Translators in the Arrowhead Framework10.1109/TII.2017.2780887 ↗
6. (2021, August 20). Semantic Annotations for WSDL and XML Schema. Available online: https://www.w3.org/TR/sawsdl/.
7. Semantic Annotation of XML-Schema for Document Transformations
8. Lafon, Y., and Mitra, N. (2021, August 20). SOAP Version 1.2 Part 0: Primer (Second Edition). Technical Report, W3C. Available online: https://www.w3.org/TR/2007/REC-soap12-part0-20070427/.
9. Fielding, R.T. (2000). Architectural Styles and the Design of Network-Based Software Architectures. [Ph.D. Thesis, University of California].
10. Sporny, M., Birbeck, M., Herman, I., and Adida, B. (2021, August 20). RDFa 1.1 Primer—Third Edition. W3C Note, W3C. Available online: http://www.w3.org/TR/2015/NOTE-rdfa-primer-20150317/.
11. Khare, R., and Çelik, T. (2006, January 23–26). Microformats: A pragmatic path to the semantic web. Proceedings of the 15th International Conference on World Wide Web, Edinburgh, UK.10.1145/1135777.1135917 ↗
12. Ciccarese, P., Young, B., and Sanderson, R. (2021, August 20). Web Annotation Data Model. Candidate Recommendation, W3C. Available online: https://www.w3.org/TR/2016/CR-annotation-model-20161122/.
13. Alani, H., Kagal, L., Fokoue, A., Groth, P., Biemann, C., Parreira, J.X., Aroyo, L., Noy, N., Welty, C., and Janowicz, K. (2013). Deployment of RDFa, Microdata, and Microformats on the Web—A Quantitative Analysis. The Semantic Web—ISWC 2013, Springer.10.1007/978-3-642-41335-3 ↗
14. Bray, T. (2021, August 20). The JavaScript Object Notation (JSON) Data Interchange Format. RFC 8259. Available online: https://datatracker.ietf.org/doc/html/rfc8259.
15. Logical Invalidations of Semantic Annotations
16. Towards Path-Based Semantic Annotation for Web Service Discovery10.1007/978-3-319-19270-3_9 ↗
17. Annotation paths for matching XML-Schemas10.1016/j.datak.2017.12.002 ↗
18. Booth, D., and Liu, K. (2021, August 20). Web Services Description Language (WSDL) Version 2.0 Part 0: Primer. W3C Recommendation, W3C. Available online: https://www.w3.org/TR/2007/REC-wsdl20-primer-20070626/.
19. Mendelsohn, N., Thompson, H., Sperberg-McQueen, M., Maloney, M., Gao, S., and Beech, D. (2021, August 20). W3C XML Schema Definition Language (XSD) 1.1 Part 1: Structures. W3C Recommendation, W3C. Available online: https://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/.
20. Popa, L., Velegrakis, Y., Hernández, M.A., Miller, R.J., and Fagin, R. (2002, January 20–23). Translating web data. Proceedings of the 28th International Conference on Very Large Data Bases, VLDB Endowment, Hong Kong, China.10.1016/B978-155860869-6/50059-7 ↗
21. Schema Mapping and Data Exchange Tools: Time for the Golden Age
22. ++Spicy: An OpenSource Tool for Second-Generation Schema Mapping and Data Exchange10.14778/3402755.3402790 ↗
23. Data exchange: Semantics and query answering10.1016/j.tcs.2004.10.033 ↗
24. OWL Working Group (2021, August 20). OWL 2 Web Ontology Language: Document Overview; W3C Recommendation. 27 October 2009. Available online: http://www.w3.org/TR/owl2-overview/.
25. Matching Methods for Semantic Annotation-based XML Document Transformations
26. Do, H.H., and Rahm, E. (2002, January 20–23). COMA: A system for flexible combination of schema matching approaches. Proceedings of the 28th International Conference on Very Large Data Bases. VLDB Endowment, Hong Kong, China.10.1016/B978-155860869-6/50060-3 ↗
27. Aumueller, D., Do, H.H., Massmann, S., and Rahm, E. (2005, January 14–16). Schema and ontology matching with COMA++. Proceedings of the 2005 ACM SIGMOD International Conference on Management of Data, Baltimore, ML, USA.10.1145/1066157.1066283 ↗
28. Madhavan, J., Bernstein, P.A., and Rahm, E. (2001). Generic Schema Matching with Cupid. Proceedings of the 27th International Conference on Very Large Data Bases, Morgan Kaufmann Publishers Inc.
29. Matcher Composition Methods for Automatic Schema Matching10.1007/978-3-642-40654-6_7 ↗
30. An optimization approach for semantic-based XML Schema matching10.7763/IJTEF.2011.V2.82 ↗
31. XML Schema Automatic Matching Solution
32. Missikoff, M., Schiappelli, F., and Taglino, F. (2003). A controlled language for semantic annotation and interoperability in e-business applications. Proceedings of the Workshop on Semantic Integration, CEUR-WS.
33. Campos-Rebelo, R., Moutinho, F., Paiva, L., and Malo, P. (2019, January 14–17). Annotation Rules for XML Schemas with Grouped Semantic Annotations. Proceedings of the IECON (Industrial Electronics Conference), Lisbon, Portugal.10.1109/IECON.2019.8927005 ↗
34. Semantic mediation for standard-based B2B interoperability10.1109/MIC.2010.17 ↗
35. Pankowski, T., and Udalowski, R. (2010, January 8–10). Generating schema mappings based on annotations in a P2P data integration system. Proceedings of the iiWAS’2010—The 12th International Conference on Information Integration and Web-based Applications and Services, Paris, France.10.1145/1967486.1967596 ↗
36. Bringing semantics to web services with OWL-S10.1007/s11280-007-0033-x ↗
37. Vitvar, T., Kopeckỳ, J., Viskova, J., and Fensel, D. (2008). Wsmo-lite annotations for web services. European Semantic Web Conference, Springer.10.1007/978-3-540-68234-9_49 ↗
38. Kopecky, J., Vitvar, T., Fensel, D., and Gomadam, K. (2008). CMS WG Deliverable D12V0.1 HRESTS & MICROWSMO, STI International. Technical Report.
39. Kopecký, J., Gomadam, K., and Vitvar, T. (2008, January 9–12). hRESTS: An HTML Microformat for Describing RESTful Web Services. Proceedings of the 2008 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology, Sydney, Australia.10.1109/WIIAT.2008.379 ↗
40. SA-REST: Semantically interoperable and easier-to-use services and mashups10.1109/MIC.2007.133 ↗
41. Alarcon, R., Saffie, R., Bravo, N., and Cabello, J. (2015). REST Web Service Description for Graph-Based Service Discovery. Proceedings of the 15th International Conference on Engineering the Web in the Big Data Era—Volume 9114, Springer.10.1007/978-3-319-19890-3_30 ↗
42. WSMO-Lite and hRESTS: Lightweight semantic annotations for Web services and RESTful APIs10.1016/j.websem.2014.11.006 ↗
43. Champin, P.A., Kellogg, G., and Longley, D. (2021, August 20). JSON-LD 1.1. W3C Recommendation, W3C. Available online: https://www.w3.org/TR/2020/REC-json-ld11-20200716/.10.30865/json.v3i1.2630 ↗
44. JSON-LD Based Web API Semantic Annotation Considering Distributed Knowledge10.1109/ACCESS.2020.3034937 ↗
45. (2019, May 14). Arrowhead—Ahead of the Future. Available online: http://www.arrowheadproject.eu/.
46. (2019, May 19). Productive 4.0—A European Co-Funded Innovation and Lighthouse Project on Digital Industry. Available online: https://productive40.eu/.
47. (2019, May 30). Arrowhead-Tools. Available online: https://www.arrowhead.eu/arrowheadtools.
48. (2021, August 20). JSON Schema: A Media Type for Describing JSON Documents. Available online: https://json-schema.org/draft/2020-12/json-schema-core.html.
49. (2019, May 19). Adding Semantic Annotations to JSON Schema · Issue #13. Available online: https://github.com/json-schema-org/json-schema-vocabularies/issues/13.
50. (2021, September 14). Convert JSON Schema to XSD Online—ConvertSimple.com. Available online: https://www.convertsimple.com/convert-json-schema-to-xsd/.
51. Nogatz, F., and Frühwirth, T. (2013). From XML Schema to JSON Schema—Comparison and Translation with Constraint Handling Rules. [Bachelor’s Thesis, University of Ulm].
52. (2019, June 24). XSL Transformations (XSLT) Version 3.0—Funtion JSON-to-XML. Available online: https://www.w3.org/TR/xslt-30/#func-json-to-xml.