Extending PythonQA with Knowledge from StackOverflow

  • Renato Preigschadt de AzevedoEmail author
  • Pedro Rangel Henriques
  • Maria João Varanda Pereira
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 745)


Question and Answering (QA) Systems provide a platform where users can ask questions in natural language to a system and get answers retrieved from a knowledge base. The work proposed in PythonQA create a Question and Answer System for the Python Programming Language. The knowledge is built from the Python Frequent Answered Questions (PyFAQ). In this paper, we extend the PythonQA system by enhancing the Knowledge Base with Question-Answer pairs from the StackExchange Python Question Answering Community Site. Some tests were performed to analyze the impact of a richer Knowledge Base on the PythonQA system, increasing the number of answer candidates.


Question and answering systems NLP StackExchange 



This work has been supported by FCT - Fundação para a Ciência e Tecnologia within the Project Scope UID/CEC/00319/2013.


  1. 1.
    Ansari, A., Maknojia, M., Shaikh, A.: Intelligent question answering system based on artificial neural network. In: 2016 IEEE International Conference on Engineering and Technology (ICETECH), pp. 758–763 (2016)Google Scholar
  2. 2.
    Balakrishna, M., Werner, S., Tatu, M., Erekhinskaya, T., Moldovan, D.: K-extractor: automatic knowledge extraction for hybrid question answering. In: Proceedings - 2016 IEEE 10th International Conference on Semantic Computing, ICSC 2016 (2016)Google Scholar
  3. 3.
    Ben Abacha, A., Zweigenbaum, P.: MEANS: a medical question-answering system combining NLP techniques and semantic Web technologies. Inf. Process. Manag. 51(5), 570–594 (2015)CrossRefGoogle Scholar
  4. 4.
    Cao, Y.G., Liu, F., Simpson, P., Antieau, L., Bennett, A., Cimino, J.J., Ely, J., Yu, H.: AskHERMES: an online question answering system for complex clinical questions. J. Biomed. Inform. 44(2), 277–288 (2011)CrossRefGoogle Scholar
  5. 5.
    Clark, A., Fox, C., Lappin, S.: The Handbook of Computational Linguistics and Natural Language Processing. Wiley-Blackwell (2010)Google Scholar
  6. 6.
    Hoque, M.M., Quaresma, P.: A content-aware hybrid architecture for answering questions from open-domain texts. In: 2016 19th International Conference on Computer and Information Technology (ICCIT), pp. 293–298 (2016)Google Scholar
  7. 7.
    Huang, X., Wei, B., Zhang, Y.: Automatic question-answering based on Wikipedia data extraction. In: 10th International Conference on Intelligent Systems and Knowledge Engineering, ISKE 2015, Taipei, Taiwan, pp. 314–317 (2015)Google Scholar
  8. 8.
    Lende, S.P., Raghuwanshi, M.M.: Question answering system on education acts using NLP techniques. In: IEEE WCTFTR - Proceedings of 2016 World Conference on Futuristic Trends in Research and Innovation for Social Welfare (2016)Google Scholar
  9. 9.
    Ramos, M., Pereira, M.J.V., Henriques, P.R.: A QA system for learning python. In: Communication Papers of the 2017 FedCSIS, Prague, Czech Republic (2017)Google Scholar
  10. 10.
    Rossum, G.: Python reference manual. Technical report, Amsterdam, The Netherlands (1995)Google Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • Renato Preigschadt de Azevedo
    • 1
    Email author
  • Pedro Rangel Henriques
    • 1
  • Maria João Varanda Pereira
    • 2
  1. 1.Dep. Informática, Centro Algoritmi (CAlg-CTC)Universidade do MinhoBragaPortugal
  2. 2.Dep. Informática e Comunicações, Centro Algoritmi (CAlg-CTC)Instituto Politécnico de BragançaBragaPortugal

Personalised recommendations