Abstract
The World Wide Web is increasingly adopted as an application development platform in desktop and mobile contexts. As a building block of the Semantic Web of Everything vision, reasoning engines should be able to run in the client side of Web applications without resorting to remote servers for inference tasks. In order to fill a gap in the availability of such systems, this paper proposes Tiny-ME Wasm, a WebAssembly port of the Tiny-ME Description Logics reasoning and matchmaking engine. Tiny-ME Wasm exposes standard and non-standard inference services through a JavaScript API on top of the Tiny-ME core compiled to WebAssembly. A privacy-oriented service discovery case study highlights the usefulness of the proposed solution and a preliminary performance analysis demonstrates its usability on laptop and mobile devices.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Node.js: https://nodejs.org/.
- 2.
Apache Cordova home: https://cordova.apache.org/.
- 3.
HyLAR GitHub repository: https://github.com/ucbl/HyLAR-Reasoner.
- 4.
AngularJS home: https://angularjs.org/.
- 5.
JSW GitHub repository: https://github.com/JavaScript-WindowFramework/JSW.
- 6.
EYE JS GitHub repository: https://github.com/eyereasoner/eye-js.
- 7.
Emscripten home: https://emscripten.org.
- 8.
Connecting C and Javascript: https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html.
- 9.
Embind documentation: https://emscripten.org/docs/porting/connecting_cpp_and_JS/embind.html.
- 10.
CMake home: https://cmake.org.
- 11.
- 12.
- 13.
- 14.
Apple M1 Max SoC, 8 performance cores @3.2 GHz and 2 efficiency cores @2.0 GHz, 64 GB UM RAM, 1 TB SSD, macOS Ventura 13.3.1, Safari 16.4 browser.
- 15.
Apple A14 Bionic, 2 high-power cores @3.1 GHz and 4 low-power cores @1.8 GHz, 6 GB LPDDR4X RAM at 4266 MT/s, 128 GB NVMe SSD, iOS 15.1, Safari Mobile 15.1 browser.
- 16.
Qualcomm Snapdragon 855+, 1 core @2.96 GHz, 3 cores @2.42 GHz and 4 cores @1.8 GHz, 8 GB LPDDR4X RAM, 128 GB UFS 3.0 storage, Android 12, Chrome 112.0.5615.47 browser.
- 17.
Nginx: https://www.nginx.com/.
- 18.
Intel Core i7-3770k CPU, 4 cores @3.5 GHz, 12 GB DDR3 RAM @1600 MT/s, 2 TB SATA SSD, Windows 10.
- 19.
Hosted by a TP-Link TN-WR841N router.
- 20.
References
Bail, S., Glimm, B., Jimenez-Ruiz, E., Matentzoglu, N., Parsia, B., Steigmiller, A.: ORE 2014 OWL reasoner evaluation live competition. https://dl.kr.org/ore2014. Accessed 20 Mar 2023
Becker, C., Bizer, C.: Exploring the geospatial semantic web with DBpedia mobile. J. Web Semant. 7(4), 278–286 (2009)
Bilenchi, I., Scioscia, F., Ruta, M.: Cowl: a lightweight OWL library for the semantic web of everything. In: Agapito, G., et al. (eds.) ICWE 2022, vol. 1668, pp. 100–112. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-25380-5_8
Ermilov, T., Heino, N., Auer, S.: Ontowiki mobile: knowledge management in your pocket. In: Proceedings of the 20th International Conference Companion on World Wide Web, pp. 33–34 (2011)
Inan Nur, A., B. Santoso, H., O. Hadi Putra, P.: The method and metric of user experience evaluation: a systematic literature review. In: 2021 10th International Conference on Software and Computer Applications, pp. 307–317 (2021)
Loseto, G., Scioscia, F., Ruta, M., Gramegna, F., Bilenchi, I.: Semantic-based adaptation of quality of experience in web multimedia streams. In: 38th ACM/SIGAPP Symposium On Applied Computing (SAC 2023), pp. 1821–1830 (2023)
Parsia, B., Motik, B., Patel-Schneider, P.: OWL 2 Web Ontology Language Structural Specification and Functional-Style Syntax (Second Edition). W3C recommendation, W3C (2012). https://www.w3.org/TR/owl2-syntax/
Raggett, D.: The Web of Things: challenges and opportunities. Computer 48(5), 26–32 (2015)
Rossberg, A.E.: WebAssembly Specification Release 2.0 (Draft 2023–04-08). https://webassembly.github.io/spec/core/. Accessed 14 Apr 2023
Ruta, M., et al.: A multiplatform reasoning engine for the semantic web of everything. J. Web Semant. 73, 100709 (2022)
Scioscia, F., Bilenchi, I., Ruta, M., Gramegna, F., Loconte, D.: A multiplatform energy-aware OWL reasoner benchmarking framework. J. Web Semant. 72, 100694 (2022)
StatCounter: Desktop vs Mobile vs Tablet Market Share Worldwide Jan - Dec 2022. https://gs.statcounter.com/platform-market-share/desktop-mobile-tablet/worldwide/2022. Accessed: 20 Apr 2023
Stepanovs, V.: BrandT: Browser Hosted OWL Reasoner. University of Mancherster May, Technical report (2011)
Taivalsaari, A., Mikkonen, T.: The web as a software platform: ten years later. In: 13th International Conference on Web Systems and Technologies (WEBIST 2017), pp. 41–50 (2017)
Terdjimi, M., Médini, L., Mrissa, M.: HyLAR+ improving hybrid location-agnostic reasoning with incremental rule-based update. In: Proceedings of the 25th International Conference Companion on World Wide Web, pp. 259–262 (2016)
Van Woensel, W., Abidi, S.S.R.: Benchmarking semantic reasoning on mobile platforms: towards optimization using OWL2 RL. Semant. Web 10(4), 637–663 (2019)
Verborgh, R., De Roo, J.: drawing conclusions from linked data on the web: the EYE reasoner. IEEE Softw. 32(3), 23–27 (2015)
Vert, S., Dragulescu, B., Vasiu, R.: LOD4AR: Exploring linked open data with a mobile augmented reality web application. In: ISWC (Posters & Demos), pp. 185–188 (2014)
Wielemaker, J., Schrijvers, T., Triska, M., Lager, T.: SWI-Prolog. Theory Pract. Logic Program. 12(1–2), 67–96 (2012)
Yus, R., Pappachan, P.: Are apps going semantic? A systematic review of semantic mobile applications. In: 1st International Workshop on Mobile Deployment of Semantic Technologies. CEUR Workshop Proceedings, vol. 1506, pp. 2–13 (2015)
Acknowledgments
This work has been supported by project BARIUM5G (Blockchain and ARtificial Intelligence for Ubiquitous coMputing via 5G), funded by the Italian Ministry of Economic Development.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Loseto, G., Bilenchi, I., Gramegna, F., Loconte, D., Scioscia, F., Ruta, M. (2024). Tiny-ME Wasm: Description Logics Reasoning in Your Browser. In: Casteleyn, S., Mikkonen, T., García Simón, A., Ko, IY., Loseto, G. (eds) Current Trends in Web Engineering. ICWE 2023. Communications in Computer and Information Science, vol 1898. Springer, Cham. https://doi.org/10.1007/978-3-031-50385-6_10
Download citation
DOI: https://doi.org/10.1007/978-3-031-50385-6_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-50384-9
Online ISBN: 978-3-031-50385-6
eBook Packages: Computer ScienceComputer Science (R0)