GQA: Grammatical Question Answering for RDF Data

  • Elizaveta Zimina
  • Jyrki NummenmaaEmail author
  • Kalervo Järvelin
  • Jaakko Peltonen
  • Kostas Stefanidis
  • Heikki Hyyrö
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 927)


Nowadays, we observe a rapid increase in the volume of RDF knowledge bases (KBs) and a need for functionalities that will help users access them in natural language without knowing the features of the KBs and structured query languages, such as SPARQL. This paper introduces Grammatical Question Answering (GQA), a system for answering questions in the English language over DBpedia, which involves parsing of questions by means of Grammatical Framework and further analysis of grammar components. We built an abstract conceptual grammar and a concrete English grammar, so that the system can handle complex syntactic constructions that are in the focus of the SQA2018 challenge. The parses are further analysed and transformed into SPARQL queries that can be used to retrieve the answers for the users’ questions.


Grammatical framework DBpedia Question answering SQA 


  1. 1.
    Abujabal, A., Yahya, M., Riedewald, M., Weikum, G.: Automated template generation for question answering over knowledge graphs. In: WWW 2017, pp. 1191–1200. New York (2017)Google Scholar
  2. 2.
    Lucene, A.: Last Accessed 15 June 2018
  3. 3.
    Berant, J., Chou, A., Frostig, R., Liang, P.: Semantic parsing on freebase from question-answer pairs. EMNLP 2013, 1533–1544 (2013)Google Scholar
  4. 4.
    Bordes, A., Chopra, S., Weston, J.: Question answering with subgraph embeddings. In: Computer Science, pp. 615–620 (2014)Google Scholar
  5. 5.
    Bringert, B., Hallgren, T., Ranta, A.: GF Resource Grammar Library: Synopsis, Last Accessed 15 June 2018
  6. 6.
    Damova, M., Dannélls, D., Enache, R., Mateva, M., Ranta, A.: Multilingual natural language interaction with semantic web knowledge bases and linked open data. In: Buitelaar, P., Cimiano, P. (eds.) Towards the Multilingual Semantic Web, pp. 211–226. Springer, Heidelberg (2014). Scholar
  7. 7.
    DBpediaSpotlight, Last Accessed 15 June 2018
  8. 8.
    DBpedia version 2016–04, Last Accessed 15 June 2018
  9. 9.
    Diefenbach, D., Singh, K., Maret, P.: WDAqua-core0: a question answering component for the research community. In: Dragoni, M., Solanki, M., Blomqvist, E. (eds.) SemWebEval 2017. CCIS, vol. 769, pp. 84–89. Springer, Cham (2017). Scholar
  10. 10.
    Dong, L., Wei, F., Zhou, M., Xu, K.: Question answering over Freebase with multi-column convolutional neural networks. In: Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing, pp. 260–269 (2015)Google Scholar
  11. 11.
    Dubey, M., Dasgupta, S., Sharma, A., Höffner, K., Lehmann, J.: AskNow: a framework for natural language query formalization in SPARQL. In: The Semantic Web. Latest Advances and New Domains, pp. 300–316 (2016)CrossRefGoogle Scholar
  12. 12.
    Fader, A., Zettlemoyer, L., Etzioni, O. Paraphrase-driven learning for open question answering. In: Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics, pp. 1608–1618 (2013)Google Scholar
  13. 13.
    Ferré, S.: squall2sparql: a translator from controlled english to full SPARQL 1.1. In: Working Notes of Multilingual Question Answering over Linked Data (QALD-3). Valencia, Spain (2013)Google Scholar
  14. 14.
    FOX: Federated Knowledge Extraction Framework, Last Accessed 15 June 2018
  15. 15.
    LC-QuAD: A Corpus for Complex Question Answering over Knowledge Graphs, ISWC 2017, Last Accessed 15 June 2018
  16. 16.
    Marginean, A., Groza, A., Slavescu, R.R., Letia, I.A.: Romanian2SPARQL: A grammatical framework approach for querying linked Data in Romanian language. In: International Conference on Development and Application Systems (2014)Google Scholar
  17. 17.
    Marginean, A.: Question answering over biomedical linked data with grammatical framework. Semant. Web 8(4), 565–580 (2017)CrossRefGoogle Scholar
  18. 18.
    Mazzeo, G. M., Zaniolo, C.: Question answering on RDF KBs using controlled natural language and semantic autocompletion. In: Semantic Web 1, pp. 1–5. IOS Press (2016)Google Scholar
  19. 19.
    Question Answering over Linked Data (QALD), Last Accessed 15 June 2018
  20. 20.
    Christophides, V., Efthymiou, V., Stefanidis, K.: Entity resolution in the web of data. Synthesis Lectures on the Semantic Web: Theory and Technology. Morgan & Claypool Publishers (2015)Google Scholar
  21. 21.
    Radoev, N., Tremblay, M., Gagnon, M., Zouaq, A.: AMAL: answering french natural language questions using DBpedia. In: Dragoni, M., Solanki, M., Blomqvist, E. (eds.) SemWebEval 2017. CCIS, vol. 769, pp. 90–105. Springer, Cham (2017). Scholar
  22. 22.
    Ranta, A.: Grammatical Framework Tutorial, Last Accessed 15 June 2018
  23. 23.
    Ranta, A.: Grammatical Framework: Programming with Multilingual Grammars. CSLI Publications, Stanford (2011)Google Scholar
  24. 24.
    Roy, S.B., Stefanidis, K., Koutrika, G., Lakshmanan, L.V.S., Riedewald, M.: Report on the third international workshop on exploratory search in databases and the web (ExploreDB 2016). SIGMOD Record 45(3), 35–38 (2016)CrossRefGoogle Scholar
  25. 25.
    Stefanidis, K., Fundulaki, I.: Keyword search on RDF graphs: it is more than just searching for keywords. In: Gandon, F., Guéret, C., Villata, S., Breslin, J., Faron-Zucker, C., Zimmermann, A. (eds.) ESWC 2015. LNCS, vol. 9341, pp. 144–148. Springer, Cham (2015). Scholar
  26. 26.
    SPARQL 1.1 Overview - W3C, Last Accessed 15 June 2018
  27. 27.
    Unger, C., Cimiano, P.: Pythia: compositional meaning construction for ontology-based question answering on the semantic web. In: Muñoz, R., Montoyo, A., Métais, E. (eds.) NLDB 2011. LNCS, vol. 6716, pp. 153–160. Springer, Heidelberg (2011). Scholar
  28. 28.
    van Grondelle, J., Unger, C.: A three-dimensional paradigm for conceptually scoped language technology. In: Buitelaar, P., Cimiano, P. (eds.) Towards the Multilingual Semantic Web, pp. 67–82. Springer, Heidelberg (2014). Scholar
  29. 29.
    Yao, X., Van Durme, B.: Information extraction over structured data: question answering with Freebase. In: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, pp. 956–966 (2014)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2018

Authors and Affiliations

  • Elizaveta Zimina
    • 1
  • Jyrki Nummenmaa
    • 1
    Email author
  • Kalervo Järvelin
    • 1
  • Jaakko Peltonen
    • 1
  • Kostas Stefanidis
    • 1
  • Heikki Hyyrö
    • 1
  1. 1.University of TampereTampereFinland

Personalised recommendations