Skip to main content

Tiny-ME Wasm: Description Logics Reasoning in Your Browser

  • Conference paper
  • First Online:
Current Trends in Web Engineering (ICWE 2023)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Node.js: https://nodejs.org/.

  2. 2.

    Apache Cordova home: https://cordova.apache.org/.

  3. 3.

    HyLAR GitHub repository: https://github.com/ucbl/HyLAR-Reasoner.

  4. 4.

    AngularJS home: https://angularjs.org/.

  5. 5.

    JSW GitHub repository: https://github.com/JavaScript-WindowFramework/JSW.

  6. 6.

    EYE JS GitHub repository: https://github.com/eyereasoner/eye-js.

  7. 7.

    Emscripten home: https://emscripten.org.

  8. 8.

    Connecting C and Javascript: https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html.

  9. 9.

    Embind documentation: https://emscripten.org/docs/porting/connecting_cpp_and_JS/embind.html.

  10. 10.

    CMake home: https://cmake.org.

  11. 11.

    JS modules: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules.

  12. 12.

    https://www.ticketmaster.com.

  13. 13.

    https://developer.ticketmaster.com/products-and-docs/apis/getting-started/.

  14. 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. 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. 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. 17.

    Nginx: https://www.nginx.com/.

  18. 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. 19.

    Hosted by a TP-Link TN-WR841N router.

  20. 20.

    https://developer.mozilla.org/en-US/docs/Web/API/Performance/now.

References

  1. 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

  2. Becker, C., Bizer, C.: Exploring the geospatial semantic web with DBpedia mobile. J. Web Semant. 7(4), 278–286 (2009)

    Article  Google Scholar 

  3. 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

    Chapter  Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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/

  8. Raggett, D.: The Web of Things: challenges and opportunities. Computer 48(5), 26–32 (2015)

    Article  Google Scholar 

  9. Rossberg, A.E.: WebAssembly Specification Release 2.0 (Draft 2023–04-08). https://webassembly.github.io/spec/core/. Accessed 14 Apr 2023

  10. Ruta, M., et al.: A multiplatform reasoning engine for the semantic web of everything. J. Web Semant. 73, 100709 (2022)

    Article  Google Scholar 

  11. Scioscia, F., Bilenchi, I., Ruta, M., Gramegna, F., Loconte, D.: A multiplatform energy-aware OWL reasoner benchmarking framework. J. Web Semant. 72, 100694 (2022)

    Article  Google Scholar 

  12. 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

  13. Stepanovs, V.: BrandT: Browser Hosted OWL Reasoner. University of Mancherster May, Technical report (2011)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. 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)

    Article  Google Scholar 

  17. Verborgh, R., De Roo, J.: drawing conclusions from linked data on the web: the EYE reasoner. IEEE Softw. 32(3), 23–27 (2015)

    Article  Google Scholar 

  18. 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)

    Google Scholar 

  19. Wielemaker, J., Schrijvers, T., Triska, M., Lager, T.: SWI-Prolog. Theory Pract. Logic Program. 12(1–2), 67–96 (2012)

    Article  MathSciNet  Google Scholar 

  20. 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)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Floriano Scioscia .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics