Exploiting semantics for context-aware itinerary recommendation

  • Alessandro Fogli
  • Giuseppe SansonettiEmail author
Original Article


Itinerary planning is a challenging task for users wishing to enjoy points of interest (POIs) in line with their preferences, the current context of use, and travel constraints. This article describes an approach to exploit linked open data (LOD) to perform a context-aware recommendation of personalized itineraries with related multimedia content. The recommendation process takes into account the user profile, the context of use, and the characteristics of the POIs extracted from LOD. The system, therefore, consists of six main modules that accomplish the following tasks: (i) the creation of the user profile according to her interests and preferences; (ii) the elicitation of the current context of use; (iii) the extraction and filtering of POIs from LOD through customized and dynamic queries; (iv) the itinerary construction to determine the first K itineraries that match the query; (v) their ranking through a score function that considers several factors, such as the POI popularity, the POI diversity in terms of their categories, the distance and the travel time of the itinerary, the user profile, and her physical and social context; (vi) the recommendation of multimedia and textual contents related to the itinerary suggested to the target user. The results of experimental tests performed on 50 real users show the benefits of the proposed recommender not only in terms of normalized discounted cumulative gain (nDCG), but also in terms of precision and beyond-accuracy metrics.


Itinerary recommendation Context-awareness Semantics Social networks 



  1. 1.
    Ricci F, Rokach L, Shapira B (2015) Recommender systems handbook, 2nd edn. Springer Science+Business Media, New YorkCrossRefzbMATHGoogle Scholar
  2. 2.
    Heitmann B, Hayes C (2010) Using linked data to build open, collaborative recommender systems. In: Linked data meets artificial intelligence, papers from the 2010 AAAI spring symposium, technical report SS-10-07, Stanford, California, USA, March 22-24, 2010, AAAIGoogle Scholar
  3. 3.
    Di Noia T, Ostuni VC (2015) Recommender systems and linked open data. In: Reasoning Web. Web Logic Rules: 11th international summer school 2015. Springer International Publishing, pp 88–113Google Scholar
  4. 4.
    Gasparetti F (2017) Personalization and context-awareness in social local search: state-of-the-art and future research challenges. Pervasive Mob Comput 38:446–473. CrossRefGoogle Scholar
  5. 5.
    Zhao S, King I, Lyu MR (2016) A survey of point-of-interest recommendation in location-based social networks. CoRRGoogle Scholar
  6. 6.
    Hyvönen E (2012) Publishing and using cultural heritage linked data on the semantic web, 1st edn. Morgan & Claypool, Palo AltoGoogle Scholar
  7. 7.
    Ruotsalo T, Haav K, Stoyanov A, Roche S, Fani E, Deliai R, Mäkelä E, Kauppinen T, Hyvönen E (2013) Smartmuseum: a mobile recommender system for the web of data. Web Semant Sci Serv Agents World Wide Web 20:50–67CrossRefGoogle Scholar
  8. 8.
    Varfolomeyev A, Korzun D, Ivanovs A, Soms H, Petrina O (2015) Smart space based recommendation service for historical tourism. Procedia Comput Sci 77:85–91. CrossRefGoogle Scholar
  9. 9.
    Lo Bue A, Wecker AJ, Kuflik T, Machì A, Stock O (2015) Providing personalized cultural heritage information for the smart region - a proposed methodology. In: Proceedings of (UMAP 2015), pp 1–7Google Scholar
  10. 10.
    Wang Y, Stash N, Aroyo L, Hollink L, Schreiber G (2009) Semantic relations for content-based recommendations. In: Proceedings of K-CAP ’09. ACM, New York, NY, USA, pp 209–210Google Scholar
  11. 11.
    Di Noia T, Mirizzi R, Ostuni VC, Romito D, Zanker M (2012) Linked open data to support content-based recommender systems. In: Proceedings of the 8th international conference on semantic systems. I-SEMANTICS ’12. ACM, New York, NY, USA, pp 1–8Google Scholar
  12. 12.
    Berners-Lee T (2009) Linked-data design issues W3C design issue document.
  13. 13.
    Ostuni VC, Di Noia T, Mirizzi R, Romito D, Di Sciascio E (2012) Cinemappy: a context-aware mobile app for movie recommendations boosted by dbpedia. In: Proceedings of the 2012 international conference on semantic technologies meet recommender systems. SeRSy’12, pp 37–48Google Scholar
  14. 14.
    Staab S, Werthner H, Ricci F, Zipf A, Gretzel U, Fesenmaier DR, Paris C, Knoblock C (2002) Intelligent systems for tourism. IEEE Intell Syst 17(6):53–64CrossRefGoogle Scholar
  15. 15.
    Ricci F (2010) Mobile recommender systems. Inf Technol Tourism 12(3):205–231CrossRefGoogle Scholar
  16. 16.
    Lu J, Wu D, Mao M, Wang W, Zhang G (2015) Recommender system application developments: a survey. Decis Support Syst 74:12–32CrossRefGoogle Scholar
  17. 17.
    Gavalas D, Konstantopoulos C, Mastakas K, Pantziou G (2014) Mobile recommender systems in tourism. J Netw Comput Appl 39:319–333CrossRefGoogle Scholar
  18. 18.
  19. 19.
    Gunawan A, Lau HC, Vansteenwegen P (2016) Orienteering problem: a survey of recent variants, solution approaches and applications. Eur J Oper Res 255:315–332MathSciNetCrossRefzbMATHGoogle Scholar
  20. 20.
    Vansteenwegen P, Souffriau W, Oudheusden DV (2011) The orienteering problem: a survey. Eur J Oper Res 209(1):1–10MathSciNetCrossRefzbMATHGoogle Scholar
  21. 21.
    Gavalas D, Konstantopoulos C, Mastakas K, Pantziou G (2014) A survey on algorithmic approaches for solving tourist trip design problems. J Heuristics 20(3):291–328CrossRefGoogle Scholar
  22. 22.
    Souffriau W, Vansteenwegen P, Vertommen J, Berghe GV, Oudheusden DV (2008) A personalized tourist trip design algorithm for mobile tourist guides. Appl Artif Intell 22(10):964– 985CrossRefGoogle Scholar
  23. 23.
    Vansteenwegen P, Souffriau W, Vanden Berghe G, Van Oudheusden D (2009) Iterated local search for the team orienteering problem with time windows. Comput Oper Res 36(12):3281– 3290CrossRefzbMATHGoogle Scholar
  24. 24.
    Gavalas D, Konstantopoulos C, Mastakas K, Pantziou G, Tasoulas Y (2013) Cluster-based heuristics for the team orienteering problem with time windows. In: Bonifaci V, Demetrescu C, Marchetti-Spaccamela A (eds) Experimental algorithms. Springer, Berlin, pp 390–401Google Scholar
  25. 25.
    Likas A, Vlassis NA, Verbeek JJ (2003) The global k-means clustering algorithm. Pattern Recogn 36 (2):451–461CrossRefGoogle Scholar
  26. 26.
    Gavalas D, Kasapakis V, Konstantopoulos C, Pantziou GE, Vathis N, Zaroliagis CD (2015) The eCOMPASS multimodal tourist tour planner. Expert Syst Appl 42(21):7303–7316CrossRefGoogle Scholar
  27. 27.
    Lim KH, Chan J, Leckie C, Karunasekera S (2018) Personalized trip recommendation for tourists based on user interests, points of interest visit durations and visit recency. Knowl Inf Syst 54(2):375–406CrossRefGoogle Scholar
  28. 28.
    Gavalas D, Kasapakis V, Konstantopoulos C, Pantziou GE, Vathis N (2017) Scenic route planning for tourists. Pers Ubiquit Comput 21(1):137–155CrossRefGoogle Scholar
  29. 29.
    Vansteenwegen P, Souffriau W, Berghe GV, Oudheusden DV (2011) The city trip planner. Expert Syst Appl 38(6):6540–6546CrossRefGoogle Scholar
  30. 30.
    Wörndl W, Hefele A, Herzog D (2017) Recommending a sequence of interesting places for tourist trips. Inf Technol Tourism, pp 1–24Google Scholar
  31. 31.
    Sylejmani K, Dorn J, Musliu N (2017) Planning the trip itinerary for tourist groups. Inf Technol Tourism 17(3):275–314CrossRefGoogle Scholar
  32. 32.
    Popescu A, Grefenstette G (2009) Deducing trip related information from Flickr. In: Proceedings of the 18th international conference on world wide web. WWW ’09. ACM, New York, NY, USA, pp 1183–1184Google Scholar
  33. 33.
    Thomee B, Shamma DA, Friedland G, Elizalde B, Ni K, Poland D, Borth D, Li LJ (2016) YFCC100M: The new data in multimedia research. Commun ACM 59(2):64–73CrossRefGoogle Scholar
  34. 34.
    Dey AK (2001) Understanding and using context. Pers Ubiquit Comput 5(1):4–7CrossRefGoogle Scholar
  35. 35.
    Gao H, Tang J, Liu H (2012) gSCorr: modeling geo-social correlations for new check-ins on location-based social networks. In: Proceedings of CIKM ’12. ACM, New York, NY, USA, pp 1582–1586Google Scholar
  36. 36.
    Zhang T (2004) Solving large scale linear prediction problems using stochastic gradient descent algorithms. In: Proceedings of ICML ’04. ACM, p 116Google Scholar
  37. 37.
    Vrandečić D, Krötzsch M (2014) Wikidata: a free collaborative knowledgebase. Commun ACM 57 (10):78–85. CrossRefGoogle Scholar
  38. 38.
    Passant A (2010) Measuring semantic distance on linking data and using it for resources recommendations. In: AAAI spring symposium: linked data meets artificial intelligence. AAAI Press, pp 93–98Google Scholar
  39. 39.
    Micsik A, Turbucz S, Tóth Z (2015) Exploring publication metadata graphs with the Lodmilla browser and editor. Int J Digital Libraries 16(1):15–24CrossRefGoogle Scholar
  40. 40.
    McNee SM, Riedl J, Konstan JA (2006) Being accurate is not enough: how accuracy metrics have hurt recommender systems. In: CHI ’06 extended abstracts on human factors in computing systems. CHI EA ’06. ACM, New York, NY, USA, pp 1097– 1101Google Scholar
  41. 41.
    Järvelin K, Kekäläinen J (2002) Cumulated gain-based evaluation of IR techniques. ACM Trans Inf Syst 20(4):422–446CrossRefGoogle Scholar
  42. 42.
    Onori M, Micarelli A, Sansonetti G (2016) A comparative analysis of personality-based music recommender systems. In: CEUR workshop proceedings. Volume 1680 of CEUR workshop proceedings. Aachen, Germany,, pp 55–59Google Scholar
  43. 43.
    Sansonetti G, Gurini DF, Gasparetti F, Micarelli A (2017) Dynamic social recommendation. In: Proceedings of the 2017 IEEE/ACM international conference on advances in social networks analysis and mining 2017. ASONAM ’17. ACM, New York, NY, USA, pp 943–947Google Scholar
  44. 44.
    Gurini DF, Gasparetti F, Micarelli A, Sansonetti G (2018) Temporal people-to-people recommendation on social networks with sentiment-based matrix factorization. Futur Gener Comput Syst 78:430–439. CrossRefGoogle Scholar
  45. 45.
    Musto C, Narducci F, Lops P, De Gemmis M, Semeraro G (2016) Explod: a framework for explaining recommendations based on the linked open data cloud. In: Proceedings of the 10th ACM conference on recommender systems. RecSys ’16. ACM, New York, NY, USAGoogle Scholar
  46. 46.
    Musto C, Narducci F, Lops P, de Gemmis M, Semeraro G (2018) Linked open data-based explanations for transparent recommender systems. Int J Hum Comput Stud 121:93–107. CrossRefGoogle Scholar

Copyright information

© Springer-Verlag London Ltd., part of Springer Nature 2019

Authors and Affiliations

  1. 1.Department of EngineeringRoma Tre UniversityRomeItaly

Personalised recommendations