Skip to main content
Log in

Semantic-enhanced reasoning question answering over temporal knowledge graphs

  • Research
  • Published:
Journal of Intelligent Information Systems Aims and scope Submit manuscript

Abstract

Question Answering Over Temporal Knowledge Graphs (TKGQA) is an important topic in question answering. TKGQA focuses on accurately understanding questions involving temporal constraints and retrieving accurate answers from knowledge graphs. In previous research, the hierarchical structure of question contexts and the constraints imposed by temporal information on different sentence components have been overlooked. In this paper, we propose a framework called “Semantic-Enhanced Reasoning Question Answering” (SERQA) to tackle this problem. First, we adopt a pretrained language model (LM) to obtain the question relation representation vector. Then, we leverage syntactic information from the constituent tree and dependency tree, in combination with Masked Self-Attention (MSA), to enhance temporal constraint features. Finally, we integrate the temporal constraint features into the question relation representation using an information fusion function for answer prediction. Experimental results demonstrate that SERQA achieves better performance on the CRONQUESTIONS and ImConstrainedQuestions datasets. In comparison with existing temporal KGQA methods, our model exhibits outstanding performance in comprehending temporal constraint questions. The ablation experiments verified the effectiveness of combining the constituent tree and the dependency tree with MSA in question answering.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Data Availability

All the datasets gathered from other sources has been publicly available.

Notes

  1. https://github.com/yzhangcs/parser

References

  • Abujabal, A., Yahya, M., Riedewald, M., et al., (2017). Automated Template Generation for Question Answering over Knowledge Graphs. In: Proceedings of the 26th International Conference on World Wide Web. International World Wide Web Conferences Steering Committee, Republic and Canton of Geneva, CHE, WWW ’17, 1191–1200. https://doi.org/10.1145/3038912.3052583

  • Bai, L., Yu, W., Chai, D. et al., (2023). Temporal knowledge graphs reasoning with iterative guidance by temporal logical rules. Information Sciences: An International Journal 621(C), 22–35. https://doi.org/10.1016/j.ins.2022.11.096

  • Bast, H., Haussmann, E. (2015). More accurate question answering on freebase. In: Proceedings of the 24th ACM international on conference on information and knowledge management. Association for Computing Machinery, New York, USA, CIKM ’15, 1431–1440. https://doi.org/10.1145/2806416.2806472

  • Berant, J., Chou, A.K., Frostig, R., et al., (2013). Semantic parsing on freebase from question-answer pairs. In: Conference on empirical methods in natural language processing

  • Bordes, A., Usunier, N., Garcia-Duran, A., et al., (2013). Translating embeddings for modeling multi-relational data. In: Advances in neural information processing systems, vol 26. Curran Associates, Inc.

  • Cai, B., Xiang, Y., Gao, L., et al., (2022). Temporal knowledge graph completion: A survey. In: International joint conference on artificial intelligence, https://api.semanticscholar.org/CorpusID:246063616

  • Chen, X., Jia, S., & Xiang, Y. (2020). A review: Knowledge reasoning over knowledge graph. Expert Systems with Applications, 141, 112948. https://doi.org/10.1016/j.eswa.2019.112948

    Article  ADS  Google Scholar 

  • Cortes, E. G., Woloszyn, V., Barone, D., et al. (2022). A systematic review of question answering systems for non-factoid questions. Journal of Intelligent Information Systems, 58, 453–480. https://doi.org/10.1007/s10844-021-00655-8

    Article  Google Scholar 

  • Das, R., Zaheer, M., Thai, D., et al., (2021). Case-based Reasoning for Natural Language Queries over Knowledge Bases. In: Proceedings of the 2021 conference on empirical methods in natural language processing. Association for Computational Linguistics, Online and Punta Cana, Dominican Republic, 9594–9611. https://doi.org/10.18653/v1/2021.emnlp-main.755

  • Dasgupta SS, Ray SN, Talukdar P (2018). HyTE: Hyperplane-based temporally aware knowledge graph embedding. In: Proceedings of the 2018 conference on empirical methods in natural language processing. Association for Computational Linguistics, Brussels, Belgium, 2001–2011, https://doi.org/10.18653/v1/D18-1225

  • Dozat, T., Manning, C.D. (2017). Deep biaffine attention for neural dependency parsing. In: International conference on learning representations, https://openreview.net/forum?id=Hk95PK9le

  • Fensel, D., Şimşek, U., Angele, K., et al., (2020). Introduction: What Is a Knowledge Graph? In: Fensel D, Şimşek U, Angele K, et al., (eds) Knowledge Graphs: Methodology, Tools and Selected Use Cases. Springer International Publishing, Cham, 1–10. https://doi.org/10.1007/978-3-030-37439-6_1

  • Févry, T., Baldini Soares, L., FitzGerald, N., et al., (2020). Entities as experts: Sparse memory access with entity supervision. In: Proceedings of the 2020 conference on empirical methods in natural language processing, 4937–4951. https://doi.org/10.18653/v1/2020.emnlp-main.400

  • García-Durán, A., Dumančić, S., Niepert, M. (2018). Learning sequence encoders for temporal knowledge graph completion. In: Proceedings of the 2018 conference on empirical methods in natural language processing. Association for Computational Linguistics, Brussels, Belgium, 4816–4821. https://doi.org/10.18653/v1/D18-1516

  • He, G., Lan, Y., Jiang, J., et al. (2021). Improving multi-hop knowledge base question answering by learning intermediate supervision signals. In: Proceedings of the 14th ACM international conference on web search and data mining. Association for Computing Machinery, New York, USA, WSDM ’21, 553–561, https://doi.org/10.1145/3437963.3441753

  • Huang, C., Wang, L., Cao, X., et al. (2022). Learning dynamic graph embeddings using random walk with temporal backtracking. In: NeurIPS 2022 temporal graph learning workshop, https://openreview.net/forum?id=Hze8Pa3BGV

  • Ji, S., Pan, S., Cambria, E. et al. (2022). A survey on knowledge graphs: Representation, acquisition, and applications. IEEE Transactions on Neural Networks and Learning Systems, 33(2), 494–514. https://doi.org/10.1109/TNNLS.2021.3070843

  • Jia, Z., Abujabal, A., Saha Roy, R., et al., (2018a). TempQuestions: A Benchmark for Temporal Question Answering. In: Companion proceedings of the the WebConference 2018. International World Wide Web Conferences Steering Committee, Republic and Canton of Geneva, CHE, WWW ’18, 1057–1062. https://doi.org/10.1145/3184558.3191536

  • Jia, Z., Abujabal, A., Saha Roy, R., et al., (2018b). TEQUILA: Temporal Question Answering over Knowledge Bases. In: Proceedings of the 27th ACM international conference on information and knowledge management. Association for Computing Machinery, New York, USA, CIKM ’18, 1807–1810. https://doi.org/10.1145/3269206.3269247

  • Jia, Z., Pramanik, S., Saha Roy, R. et al. (2021). Complex temporal question answering on knowledge graphs. In: Proceedings of the 30th ACM international conference on information & knowledge management. Association for Computing Machinery, New York, USA, CIKM ’21, 792–802. https://doi.org/10.1145/3459637.3482416

  • Jiang, T., Liu, T., Ge, T. et al. (2016). Towards time-aware knowledge graph completion. In: Proceedings of COLING 2016, the 26th international conference on computational linguistics: technical papers. The COLING 2016 Organizing Committee, Osaka, Japan, 1715–1724

  • Jiao, S., Zhu, Z., Wu, W., et al. (2023). An improving reasoning network for complex question answering over temporal knowledge graphs. Applied Intelligence, 53(7), 8195–8208. https://doi.org/10.1007/s10489-022-03913-6

    Article  Google Scholar 

  • Kingma, D.P., Ba, J. (2015). Adam: A method for stochastic optimization. In: Bengio Y, LeCun Y (eds) 3rd International conference on learning representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings

  • Lacroix, T., Obozinski, G., Usunier, N. (2019). Tensor decompositions for temporal knowledge base completion. In: International Conference on Learning Representations

  • Lan, Y., Jiang, J. (2020). Query graph generation for answering multi-hop complex questions from knowledge bases. In: Proceedings of the 58th annual meeting of the association for computational linguistics. Association for Computational Linguistics, Online, 969–974. https://doi.org/10.18653/v1/2020.acl-main.91

  • Lan, Y., He, G., Jiang, J., et al. (2021). A survey on complex knowledge base question answering: Methods, challenges and solutions. In: Proceedings of the thirtieth international joint conference on artificial intelligence. International Joint Conferences on Artificial Intelligence Organization, Montreal, Canada, 4483–4491. https://doi.org/10.24963/ijcai.2021/611

  • Liang, K., Meng, L., Liu, M., et al. (2023). A survey of knowledge graph reasoning on graph types: Static, dynamic, and multimodal. https://doi.org/10.48550/arXiv.2212.05767

  • Liang, S., Wei, W., Mao, X. L., et al. (2022). Bisyn-gat+: Bi-syntax aware graph attention network for aspect-based sentiment analysis. Findings of the Association for Computational Linguistics: ACL, 2022, 1835–1848.

    Google Scholar 

  • Luo, K., Lin, F., Luo, X. et al. (2018). Knowledge base question answering via encoding of complex query graphs. In: Proceedings of the 2018 conference on empirical methods in natural language processing. Association for Computational Linguistics, Brussels, Belgium, 2185–2194. https://doi.org/10.18653/v1/D18-1242

  • Ma, R., Han, X., Yan, L., et al. (2023). Modeling and querying temporal rdf knowledge graphs with relational databases. Journal of Intelligent Information Systems, 61, 569–609. https://doi.org/10.1007/s10844-023-00780-6

    Article  Google Scholar 

  • Mavromatis, C., Subramanyam, P.L., Ioannidis, V.N., et al., (2022) TempoQR: Temporal question reasoning over knowledge graphs. In: Proceedings of the AAAI Conference on Artificial Intelligence, 5825–5833. https://doi.org/10.1609/aaai.v36i5.20526

  • Messner, J., Abboud, R., Ceylan II (2022). Temporal knowledge graph completion using box embeddings. In: Proceedings of the AAAI Conference on Artificial Intelligence, 7779–7787. https://doi.org/10.1609/aaai.v36i7.20746

  • Miller, A., Fisch, A., Dodge, J., et al. (2016). Key-value memory networks for directly reading documents. In: Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, 1400–1409

  • Mo, C., Wang, Y., Jia, Y., et al. (2021). Survey on temporal knowledge graph. In: 2021 IEEE Sixth international conference on data science in cyberspace (DSC), 294–300. https://doi.org/10.1109/DSC53577.2021.00047

  • Reddy, S., Lapata, M., & Steedman, M. (2014). Large-scale semantic parsing without question-answer pairs. Transactions of the Association for Computational Linguistics, 2, 377–392. https://doi.org/10.1162/tacl_a_00190

  • Saxena, A., Tripathi, A., Talukdar, P. (2020). Improving multi-hop question answering over knowledge graphs using knowledge base embeddings. In: Proceedings of the 58th annual meeting of the association for computational linguistics. Association for Computational Linguistics, Online, 4498–4507, https://doi.org/10.18653/v1/2020.acl-main.412

  • Saxena, A., Chakrabarti, S., Talukdar, P. (2021). Question answering over temporal knowledge graphs. In: Proceedings of the 59th annual meeting of the association for computational linguistics and the 11th international joint conference on natural language processing (vol 1: Long Papers). Association for Computational Linguistics, Online, 6663–6676. https://doi.org/10.18653/v1/2021.acl-long.520

  • Sun, H., Bedrax-Weiss, T., Cohen, W. (2019). PullNet: open domain question answering with iterative retrieval on knowledge bases and text. Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing 2380–2390. https://doi.org/10.18653/v1/D19-1242

  • Sun, K., Li, Z., Zhao, H. (2022). Reorder and then parse, fast and accurate discontinuous constituency parsing. In: Proceedings of the 2022 conference on empirical methods in natural language processing. Association for Computational Linguistics, Abu Dhabi, United Arab Emirates, 10575–10588. https://doi.org/10.18653/v1/2022.emnlp-main.723

  • Trouillon, T., Welbl, J., Riedel, S., et al. (2016). Complex embeddings for simple link prediction. In: Proceedings of the 33rd international conference on machine learning. PMLR, 2071–2080

  • Wang, J., Li, X., An, X. (2022). Modeling multiple latent information graph structures via graph convolutional network for aspect-based sentiment analysis. Complex & Intelligent Systems 1–12

  • Wang, Q., Mao, Z., Wang, B., et al. (2017). Knowledge graph embedding: A survey of approaches and applications. IEEE Transactions on Knowledge and Data Engineering, 29(12), 2724–2743. https://doi.org/10.1109/TKDE.2017.2754499

  • Wang, X., Lyu, S., Wang, X., et al. (2023). Temporal knowledge graph embedding via sparse transfer matrix. Information Sciences, 623, 56–69. https://doi.org/10.1016/j.ins.2022.12.019

    Article  Google Scholar 

  • Yih, Wt, Chang, M.W., He, X., et al. (2015). Semantic parsing via staged query graph generation: Question answering with knowledge base. In: Proceedings of the 53rd annual meeting of the association for computational linguistics and the 7th international joint conference on natural language processing (vol 1: Long Papers). Association for Computational Linguistics, Beijing, China, 1321–1331. https://doi.org/10.3115/v1/P15-1128

  • Zhang, Y., Zhou, H, Li, Z. (2021). Fast and accurate neural CRF constituency parsing. In: Proceedings of the twenty-ninth international joint conference on artificial intelligence, Yokohama, Japan, IJCAI’20, 4046–4053

  • Zhu, P., Yuan, Y., & Chen, L. (2023). Electra-based graph network model for multi-hop question answering. Journal of Intelligent Information Systems, 61, 819–834. https://doi.org/10.1007/s10844-023-00800-5

Download references

Acknowledgements

Funding was provided by Key Research and Development Projects of Shaanxi Province (Grant No: 2020ZDLGY09-05)

Author information

Authors and Affiliations

Authors

Contributions

The contributions of the three authors are the same.

Corresponding author

Correspondence to Xiaoge Li.

Ethics declarations

Competing interests

The authors declare that there are no competing interests with anybody or any institution regarding the publication of this paper.

Ethical Approval and Consent to participate

Not Applicable.

Consent for publication

Not Applicable.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Du, C., Li, X. & Li, Z. Semantic-enhanced reasoning question answering over temporal knowledge graphs. J Intell Inf Syst (2024). https://doi.org/10.1007/s10844-024-00840-5

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10844-024-00840-5

Keywords

Navigation