Hotel Recommender System based on Knowledge Graph and Collaborative Approach


  • Yousef Abuzir
  • Mohamed Dwieb



recommender system, knowledge graph (KG), items based collaborative filtering, cosine similarity, function and prediction, Neo4j


With the rapid increase of Information technology, online services and social media, recommendation system becomes an important issue and a need for both the customer and business sectors. The main aim of traditional and online recommendation systems is to recommend the desired and the necessary services that are appropriate recommendations to users. Traditional recommendation systems often suffer from inefficient data analysis techniques, rating the different services without regard to the previous preferences of the users and do not meet the personal demands of the users. Therefore, in this paper we used a hybrid approach based on Knowledge graph and Machine Learning similarity function as a recommendation system. We used real datasets to conduct the experiment. We built the knowledge graph for the visitors, hotels and their ranks, and we used the knowledge graph and similarity scores to recommend a hotel or a set of hotels for the visitors based on former preferences and ratings of other visitors. The results show significant accuracy and good quality of service recommender systems with 93.5% for f-measure.


S. Bhatnagar, “Recommender systems in R,” in book Data Mining Applications with R, 2014, pp. 117–151.

A. M. Rashid, I. Albert, D. Cosley, S. K. Lam, S. M. McNee and J. A. Konstan et al., “Getting to know you: learning new user preferences in recommender systems,” Proceedings of the International Conference on Intelligent User Interfaces, 2002, pp. 127–34.

J. B. Schafer, J. Konstan and J. Riedl, “Recommender system in e-commerce,” Proceedings of the 1st ACM Conference on Electronic Commerce, 1999, pp. 158–66.

J. A. Konstan, B. N. Miller, D. Maltz, J. L. Herlocker, L. R. Gordon and J. Riedl, “Applying collaborative fltering to usenet news,” Communication ACM, vol. 40, issue 3, pp. 77–87, 1997.

J. A. Konstan and J. Riedl, “Recommender systems: from algorithms to user experience,” User Model User-Adapt Interact, no. 22, pp. 101–123, 2012.

A. M. Acilar and A. Arslan, “A collaborative filtering method based on artificial immune network,” Expert Systems with Applications, vol. 36, issue 4, pp. 8324–8332, 2009.

L. S. Chen, F. H. Hsu, M. C. Chen and Y. C. Hsu, “Developing recommender systems with the consideration of product profitability for sellers,” Int J Information Sciences, vol. 178, issue 4, pp. 1032-1048, 2008.

M. Jalali, N. Mustapha, M. Sulaiman and A. Mamay, “WEBPUM: a web-based recommendation system to predict user future movement,” Expert Systems with Applications, vol. 37, issue 9, pp. 6201–6212, 2010.

L. S. Chen, F. H. Hsu, M. C. Chen and Y. C. Hsu, “Developing recommender systems with the consideration of product profitability for sellers,” Int J Information Sciences, vol. 178, issue 4, pp. 1032-1048, 2008.

M. J. Pazzani, “A framework for collaborative, content-based and demographic filtering,” Artificial Intelligence Review, vol. 13, no. 5(6), pp. 393–408, 1999.

D. Billsus and M.J. Pazzani, “A hybrid user model for news story classifcation,” Kay J, editor, Proceedings of the Seventh International Conference on User Modeling, Banff, Canada. Springer-Verlag, New York, 1999, pp. 99–108.

S. H. Min and I. Han, “Detection of the customer time-variant pattern for improving recommender system,” Expert Systems with Applications, vol. 37, issue 4, pp. 2911–2922, 2010.

H. Lieberman, “Letizia: an agent that assists web browsing,” Proceedings of the 1995 International Joint Conference on Artificial Intelligence IJCAI, Montreal, Canada, 1995, pp. 924–929.

A. Jennings and H. Higuchi, “A personal news service based on a user model neural network,” IEICE Trans Information Systems, E75-D(2), pp. 198–209, 1992.

R. Burke, “Hybrid web recommender systems,” In: Brusilovsky P., Kobsa A., Nejdl W., editors. The Adaptive Web, LNCS 4321. Berlin Heidelberg, Germany: Springer, 2007, pp. 377–408.

D. Jannach, M. Zanker, A. Felfernig and G. Friedrich, Recommender Systems – An Introduction, Cambridge University Press, 2010.

B. Mobasher, “Recommender systems,” Kunstliche Intelligenz, Special Issue on Web Mining, Bottcher IT Verlag, Bremen, Germany, vol. 3, pp. 41–43, 2007.

G. Murat, G.O. Sule, “Combination of web page recommender systems,” Expert Systems with Applications, vol. 37, issue 4, pp. 2911–2922, 2010.

P. Cunningham, R. Bergmann, S. Schmitt, R. Traphoner, S. Breen and B. Smyth, “WebSell: intelligent sales assistants for the world wide web,” Proceedings of the CBR in ECommerce, Vancouver BC, 2001, pp. 104–109.

I. Konstan, V. Stathopoulos and J. M. Jose, “On social networks and collaborative recommendation,” Proceedings of the 32nd International ACM Conference (SIGIR’09), 2009, pp. 195–202.

J. Wang, J. Sun and Z. Lin, “Hotel recommendation based on hybrid model,” 2016.

J. S. Pawar, N. R. Patil, H. R. Khinde, S.S. Dandge and S. S. Bhavsar, “Recommender system for hotels based on user’s personalized ratings using hadoop and cloud,” International Journal of Advanced Research in Computer and Communication Engineering, vol. 5, issue 2, pp. 97-102, 2016.

R. Hassannia, A.V. Barenji, Z. Li and H. Alipour, “Web-based recommendation system for smart tourism: Multiagent technology,” Sustainability, no. 11, paper 323, 2019.

M. Al-Ghossein, T. Abdessalem and A. Barre, “Exploiting contextual and external data for hotel recommendation,” Proceedings of the 26th Conference on User Modeling, Adaptation and Personalization (UMAP’18), 2018, pp. 323–328.

Y. Guo, C. Yin, M. Li and P. Liu, “Mobile e-commerce recommendation system based on multi-source information fusion for sustainable e-business,” Sustainability, vol. 10, no. 1, paper 147, 2018.

U. Fasahte, D. Gambhir, M. Merulingkar, A. Monde and A. Pokhare, “Hotel recommendation system,” Imperial Journal of Interdisciplinary Research (IJIR), vol. 3, issue 11, pp. 318-324, 2017.

M. Atas, N. T. T. Tran, A. Felfernig, S. P. Erdeniz, S. Ralph and S. Martin, “Towards Similarity-Aware Constraint-Based Recommendation,” in book: Advances and Trends in Artificial Intelligence. From Theory to Practice, 2019.

A. Felfernig and R. Burke, “Constraint-based recommender systems: Technologies and research issues,” Proceedings of the 10th Int. Conf. on Electronic Commerce (ICEC’08), Innsbruck, Austria, 2008, article no. 3,

C. C. Aggarwal, Recommender Systems: The Textbook, 1st ed., Springer, 2016.

R. V. Bruggen, Learning Neo4j, PACKT Publisher, Birmingham, Mumbai, 2014.

I. Robinson, J. Webber and E. Eifrem, Graph Databases, 2nd ed., O’Reilly Media, 2015.

M. Needham and A. E. Hodler, Graph Algorithms, Practical Examples in Apache Spark and Neo4j, O’Reilly Media, 2019.




How to Cite

Abuzir, Y., & Dwieb, M. (2021). Hotel Recommender System based on Knowledge Graph and Collaborative Approach. International Journal of Computing, 20(1), 63-71.