Skip to main content

A Logic-Based Question Answering System for Cultural Heritage

  • Conference paper
  • First Online:
Logics in Artificial Intelligence (JELIA 2019)

Abstract

Question Answering (QA) systems attempt to find direct answers to user questions posed in natural language. This work presents a QA system for the closed domain of Cultural Heritage. Our solution gradually transforms input questions into queries that are executed on a CIDOC-compliant ontological knowledge base. Questions are processed by means of a rule-based syntactic classification module running an Answer Set Programming system. The proposed solution is being integrated into a fully-fledged commercial system developed within the PIUCULTURA project, funded by the Italian Ministry for Economic Development.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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.

    The safety is in the folklore of logic-based languages [12].

  2. 2.

    http://medialab.di.unipi.it/wiki/Tanl_POS_Tagset.

  3. 3.

    https://opennlp.apache.org.

  4. 4.

    https://github.com/aciapetti/opennlp-italian-models.

  5. 5.

    http://www.maltparser.org/.

  6. 6.

    http://www.britishmuseum.org/.

References

  1. Adrian, W.T., Manna, M., Leone, N., Amendola, G., Adrian, M.: Entity set expansion from the web via ASP. In: ICLP (Technical Communications), OASICS, vol. 58, pp. 1:1–1:5. Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik (2017)

    Google Scholar 

  2. Allam, A.M.N., Haggag, M.H.: The question answering systems: a survey. Int. J. Res. Rev. Inf. Sci. (IJRRIS) 2(3), 211–221 (2012)

    Google Scholar 

  3. Alviano, M., Amendola, G., Peñaloza, R.: Minimal undefinedness for fuzzy answer sets. In: AAAI, pp. 3694–3700. AAAI Press (2017)

    Google Scholar 

  4. Amendola, G.: Preliminary results on modeling interdependent scheduling games via answer set programming. In: RiCeRcA@AI*IA, CEUR Workshop Proceedings, vol. 2272. CEUR-WS.org (2018)

    Google Scholar 

  5. Amendola, G.: Solving the stable roommates problem using incoherent answer set programs. In: RiCeRcA@AI*IA, CEUR Workshop Proceedings, vol. 2272. CEUR-WS.org (2018)

    Google Scholar 

  6. Amendola, G., Dodaro, C., Leone, N., Ricca, F.: On the application of answer set programming to the conference paper assignment problem. In: Adorni, G., Cagnoni, S., Gori, M., Maratea, M. (eds.) AI*IA 2016. LNCS (LNAI), vol. 10037, pp. 164–178. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-49130-1_13

    Chapter  Google Scholar 

  7. Amendola, G., Eiter, T., Fink, M., Leone, N., Moura, J.: Semi-equilibrium models for paracoherent answer set programs. Artif. Intell. 234, 219–271 (2016)

    Article  MathSciNet  Google Scholar 

  8. Amendola, G., Eiter, T., Leone, N.: Modular paracoherent answer sets. In: Fermé, E., Leite, J. (eds.) JELIA 2014. LNCS (LNAI), vol. 8761, pp. 457–471. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11558-0_32

    Chapter  Google Scholar 

  9. Amendola, G., Greco, G., Leone, N., Veltri, P.: Modeling and reasoning about NTU games via answer set programming. In: IJCAI 2016, pp. 38–45 (2016)

    Google Scholar 

  10. Baeza-Yates, R., Ribeiro-Neto, B., et al.: Modern Information Retrieval, vol. 463. ACM Press, New York (1999)

    Google Scholar 

  11. Balduccini, M., Baral, C., Lierler, Y.: Knowledge representation and question answering. Found. Artif. Intell. 3, 779–819 (2008)

    Article  Google Scholar 

  12. Baral, C.: Knowledge Representation: Reasoning and Declarative Problem Solving. Cambridge University Press, Cambridge (2010)

    MATH  Google Scholar 

  13. Benamara, F.: Cooperative question answering in restricted domains: the WEBCOOP experiment. In: Proceedings of the Conference on Question Answering in Restricted Domains (2004)

    Google Scholar 

  14. Bonatti, P., Calimeri, F., Leone, N., Ricca, F.: Answer set programming. In: Dovier, A., Pontelli, E. (eds.) A 25-Year Perspective on Logic Programming. LNCS, vol. 6125, pp. 159–182. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-14309-0_8

    Chapter  MATH  Google Scholar 

  15. Brewka, G., Eiter, T., Truszczyński, M.: Answer set programming at a glance. Commun. ACM 54(12), 92–103 (2011)

    Article  Google Scholar 

  16. Consortium, W.W.W., et al.: RDF 1.1 concepts and abstract syntax (2014)

    Google Scholar 

  17. Cuteri, B., Ricca, F.: A compiler for stratified datalog programs: preliminary results. In: SEBD, CEUR Workshop Proceedings, vol. 2037, p. 158. CEUR-WS.org (2017)

    Google Scholar 

  18. Cuteri, B., Rosis, A.F.D., Ricca, F.: lp2cpp: a tool for compiling stratified logic programs. In: Esposito, F., Basili, R., Ferilli, S., Lisi, F. (eds.) AI*IA. LNCS, vol. 10640, pp. 200–212. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-70169-1_15

    Chapter  Google Scholar 

  19. Doerr, M.: The CIDOC conceptual reference module: an ontological approach to semantic interoperability of metadata. AI Mag. 24(3), 75 (2003)

    Google Scholar 

  20. Doerr, M., Gradmann, S., Hennicke, S., Isaac, A., Meghini, C., Van de Sompel, H.: The Europeana data model (EDM). In: World Library and Information Congress: 76th IFLA General Conference and Assembly, pp. 10–15 (2010)

    Google Scholar 

  21. Eiter, T., Ianni, G., Krennwallner, T.: Answer set programming: a primer. In: Tessaris, T., et al. (eds.) Reasoning Web 2009. LNCS, vol. 5689, pp. 40–110. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-03754-2_2

    Chapter  Google Scholar 

  22. Gebser, M., Kaminski, R., Kaufmann, B., Schaub, T.: Answer Set Solving in Practice. Synthesis Lectures on Artificial Intelligence and Machine Learning. Morgan & Claypool Publishers, San Rafael (2012)

    Book  Google Scholar 

  23. Gebser, M., Leone, N., Maratea, M., Perri, S., Ricca, F., Schaub, T.: Evaluation techniques and systems for answer set programming: a survey. In: IJCAI, pp. 5450–5456. ijcai.org (2018)

    Google Scholar 

  24. Gelfond, M., Kahl, Y.: Knowledge Representation, Reasoning, and the Design of Intelligent Agents: The Answer-set Programming Approach. Cambridge University Press, Cambridge (2014)

    Book  Google Scholar 

  25. Gelfond, M., Lifschitz, V.: Classical negation in logic programs and disjunctive databases. New Gener. Comput. 9(3–4), 365–385 (1991)

    Article  Google Scholar 

  26. Grasso, G., Iiritano, S., Leone, N., Ricca, F.: Some DLV applications for knowledge management. In: Erdem, E., Lin, F., Schaub, T. (eds.) LPNMR 2009. LNCS (LNAI), vol. 5753, pp. 591–597. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-04238-6_63

    Chapter  Google Scholar 

  27. Green, C.: Theorem proving by resolution as a basis for question-answering systems. Mach. Intell. 4, 183–205 (1969)

    MATH  Google Scholar 

  28. Green Jr, B.F., Wolf, A.K., Chomsky, C., Laughery, K.: Baseball: an automatic question-answerer. In: Western Joint IRE-AIEE-ACM Computer Conference, Papers Presented at 9–11 May 1961, pp. 219–224. ACM (1961)

    Google Scholar 

  29. Harris, S., Seaborne, A., Prud’hommeaux, E.: SPARQL 1.1 query language. W3C Recommendation 21(10) (2013)

    Google Scholar 

  30. Hirschman, L., Gaizauskas, R.: Natural language question answering: the view from here. Nat. Lang. Eng. 7(4), 275–300 (2001)

    Article  Google Scholar 

  31. Kudo, T.: CRF++ (2013). http://crfpp.sourceforge.net/

  32. Lafferty, J., McCallum, A., Pereira, F.C.: Conditional random fields: probabilistic models for segmenting and labeling sequence data (2001)

    Google Scholar 

  33. Leone, N., et al.: The DLV system for knowledge representation and reasoning. ACM Trans. Comput. Logic (TOCL) 7(3), 499–562 (2006)

    Article  MathSciNet  Google Scholar 

  34. Liang, S., Fodor, P., Wan, H., Kifer, M.: OpenRuleBench: an analysis of the performance of rule engines. In: WWW, pp. 601–610. ACM (2009)

    Google Scholar 

  35. Lierler, Y., Maratea, M., Ricca, F.: Systems, engineering environments, and competitions. AI Mag. 37(3), 45–52 (2016)

    Article  Google Scholar 

  36. Lopez, V., Pasin, M., Motta, E.: AquaLog: an ontology-portable question answering system for the semantic web. In: Gómez-Pérez, A., Euzenat, J. (eds.) ESWC 2005. LNCS, vol. 3532, pp. 546–562. Springer, Heidelberg (2005). https://doi.org/10.1007/11431053_37

    Chapter  Google Scholar 

  37. Manna, M., Ricca, F., Terracina, G.: Consistent query answering via ASP from different perspectives: theory and practice. TPLP 13(2), 227–252 (2013)

    MathSciNet  MATH  Google Scholar 

  38. Manna, M., Ricca, F., Terracina, G.: Taming primary key violations to query large inconsistent data via ASP. TPLP 15(4–5), 696–710 (2015)

    MathSciNet  MATH  Google Scholar 

  39. Miller, G.: WordNet: An Electronic Lexical Database. MIT Press, Cambridge (1998)

    MATH  Google Scholar 

  40. Moldovan, D., Clark, C., Harabagiu, S., Maiorano, S.: COGEX: a logic prover for question answering. In: Proceedings of the 2003 Conference of the North American Chapter of the Association for Computational Linguistics on Human Language Technology, vol. 1, pp. 87–93. Association for Computational Linguistics (2003)

    Google Scholar 

  41. Navigli, R., Ponzetto, S.P.: Babelnet: the automatic construction, evaluation and application of a wide-coverage multilingual semantic network. Artif. Intell. 193, 217–250 (2012)

    Article  MathSciNet  Google Scholar 

  42. Nivre, J., et al.: MaltParser: a language-independent system for data-driven dependency parsing. Nat. Lang. Eng. 13(2), 95–135 (2007)

    Article  Google Scholar 

  43. Ricca, F.: A Java wrapper for DLV. In: Answer Set Programming, CEUR Workshop Proceedings, vol. 78. CEUR-WS.org (2003)

    Google Scholar 

  44. Unger, C., Bühmann, L., Lehmann, J., Ngonga Ngomo, A.C., Gerber, D., Cimiano, P.: Template-based question answering over RDF data. In: Proceedings of the 21st International Conference on World Wide Web, pp. 639–648. ACM (2012)

    Google Scholar 

  45. Vo, N.H., Mitra, A., Baral, C.: The NL2KR platform for building natural language translation systems. In: ACL (1), pp. 899–908. The Association for Computer Linguistics (2015)

    Google Scholar 

  46. Voorhees, E.M., Dang, H.T.: Overview of the TREC 2003 question answering track. In: TREC, vol. 2003, pp. 54–68 (2003)

    Google Scholar 

  47. Woods, W.A.: Semantics and quantification in natural language question answering. In: Advances in Computers, vol. 17, pp. 1–87. Elsevier (1978)

    Google Scholar 

Download references

Acknowledgments

This work was partially supported by the Italian Ministry of Economic Development under project “PIUCultura (Paradigmi Innovativi per l’Utilizzo della Cultura)” n.F/020016/01-02/X27.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bernardo Cuteri .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Cuteri, B., Reale, K., Ricca, F. (2019). A Logic-Based Question Answering System for Cultural Heritage. In: Calimeri, F., Leone, N., Manna, M. (eds) Logics in Artificial Intelligence. JELIA 2019. Lecture Notes in Computer Science(), vol 11468. Springer, Cham. https://doi.org/10.1007/978-3-030-19570-0_35

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-19570-0_35

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-19569-4

  • Online ISBN: 978-3-030-19570-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics