EMITTER International Journal of Engineering Technology
Vol 14 No 1 (2026)

The Ontology Driven E-Commerce Chatbot for Fashion Industry

Maryam Mairaj (Department of Computer Engineering, Sir Syed University of Engineering and Technology, Karachi. Pakistan)
Shakil Ahmed (Department of Computer Science, National University of Computer and Emerging Sciences, FAST, Karachi. Pakistan)
Kiran Hidayat (Department of Software Engineering, Sir Syed University of Engineering and Technology, Karachi. Pakistan)
Aamir Zeb Shaikh (NED University)
Shabbar Naqvi (Teaching Fellow, University of Leeds, UK)



Article Info

Publish Date
30 Jun 2026

Abstract

Conventional chatbots in fashion e-commerce rely on keyword matching and lack the semantic structure needed to correctly handle multi-entity product queries. This leads to inaccurate, context-blind responses that frustrate users and reduce platform engagement. This paper proposes and evaluates an ontology-driven chatbot system for fashion e-commerce and compares it directly against a non-ontology baseline built on the same dataset. Both systems were developed using Google Dialogflow for natural language processing, with product data collected through Python web scraping from the Alkaram fashion website. The ontology knowledge base was engineered in OWL 2 using Protégé and queried via SPARQL, with a class hierarchy covering product categories, attributes, and brand entities. To evaluate both models, five analysts conducted structured 10-minute conversations using a fixed set of 50 product queries, scoring each response across seven criteria, including accuracy, context retention, and grammatical quality, on a 0 to 9 scale. The ontology-based system achieved 88% accuracy compared to 67% for the non-ontology model, a 21% improvement. It also outperformed across all other criteria, with inter-analyst agreement within 0.5 points confirming evaluation reliability. These results show that integrating an OWL/SPARQL ontology into a Dialogflow-based chatbot meaningfully improves product query handling in fashion e-commerce, and the approach is practical enough to scale to other retail domains.

Copyrights © 2026






Journal Info

Abbrev

EMITTER

Publisher

Subject

Computer Science & IT

Description

EMITTER International Journal of Engineering Technology is a BI-ANNUAL journal published by Politeknik Elektronika Negeri Surabaya (PENS). It aims to encourage initiatives, to share new ideas, and to publish high-quality articles in the field of engineering technology and available to everybody at ...