Skip to main content
Log in

Joint linking of entity and relation for question answering over knowledge graph

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Entity linking and relation linking are two crucial components in many question answering systems over knowledge graphs, which aim to identify the relevant entity or relation mentions in a question and link them to the target entity or relation in the knowledge graph. Previous studies mostly solve these two tasks independently or as sequential tasks, which usually leads to poor performance since the short texts in most questions lack the context information needed for disambiguation. In this paper, we propose an approach to jointly perform entity linking and relation linking. The idea is to exploit both the independent and joint features of the candidates for disambiguation, which captures different characteristics when the knowledge graph information and the semantics of the question are both considered. We evaluated our approach on the QALD-7 and LC-QuAD datasets and the experimental results shows that our approach significantly outperforms the existing entity and relation linking approaches.

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

Similar content being viewed by others

Data availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Notes

  1. https://wiki.dbpedia.org/develop/datasets

  2. https://wordnet.princeton.edu

  3. https://www.elastic.co/cn/elasticsearch/

  4. https://www.thesaurus.com/browse/synonym

  5. https://wordnet.princeton.edu

  6. rdfs is bound to https://dbpedia.org/resource/

  7. dbo is bound to https://dbpedia.org/ontology/

  8. dbr is bound to http://dbpedia.org/resource/

  9. https://spacy.io

  10. http://193.194.84.136:8000/

Abbreviations

KGQA:

Question Answering over Knowledge Graph

KG:

Knowledge Graph

QA:

Question Answering

JLEAR:

Joint Linker of Entity And Relation

BIOES:

B-begin, I-inside, O-outside, E-end, S-single

HR:

Hit Ratio

References

  1. Auer S, Bizer C, Kobilarov G et al (2007) DBpedia: A nucleus for a web of open data. In: Proceedings of the 6th International Semantic Web Conference – 2nd Asian Semantic Web Conference, ISWC 2007-ASWC 2007, pp 722–735

  2. Barrena A, Soroa A, Agirre E (2016) Alleviating poor context with background knowledge for named entity disambiguation. In: Proceedings of Annual Meeting of the Association for Computational Linguistics, ACL 2016, pp 1903–1912

  3. Bouarroudj W, Boufaida Z, Bellatreche L (2022) Named entity disambiguation in short texts over knowledge graphs. Knowl Inf Syst 2022(64):325–351

  4. Christen P (2006) A comparison of personal name matching: techniques and practical issues. In: Sixth IEEE International Conference on Data Mining-Workshops, December 2006, pp 290–294

  5. Devlin J, Chang MW, Lee K, Toutanova K (2019) BERT: Pre-training of deep bidirectional transformers for language understanding. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, June 2019, pp 4171–4186

  6. Dubey M, Banerjee D, Chaudhuri D, Lehmann J (2018) EARL: joint entity and relation linking for question answering over knowledge graphs. In: Proceedings of International Semantic Web Conference, October 2018, pp 108–126

  7. Ferragina P, Scaiella U (2010) Tagme: on-the-fly annotation of short text fragments (by wikipedia entities). In: Proceedings of the 19th ACM International Conference on Information and Knowledge Management, October 2010, pp 1625–1628

  8. Graves A, Schmidhuber J (2005) Framewise phoneme classification with bidirectional LSTM and other neural network architectures. Neural Netw 18(5–6):602–610

  9. Joshi M, Chen D, Liu Y et al (2020) SpanBERT: improving pre-training by representing and predicting spans. arXiv preprint arXiv:190710529v3

  10. Klie J, Castilho RE, Gurevych I (2020) From zero to hero: Human-in-the-loop entity linking in low resource domains. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, pp 6982–6993

  11. Koncel-Kedziorski R, Bekal D, Luan Y, Lapata M, Hajishirzi H (2019) Text generation from knowledge graphs with graph transformers. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, June 2019, pp 2284–2293

  12. Lafferty JD, McCallum A, Pereira FC (2001) Conditional random fields: probabilistic models for segmenting and labeling sequence data. In: Proceedings of the Eighteenth International Conference on Machine Learning, June 2001, pp 282–289

  13. Liu Y, Ott M, Goyal N et al (2019) RoBERTa: A robustly optimized BERT pretraining approach. arXiv preprint arXiv:190711692

  14. Mendes PN, Jakob M, García-Silva A, Bizer C (2011) DBpedia spotlight: shedding light on the web of documents. In: Proceedings of the 7th International Conference on Semantic Systems, September 2011, pp 1–8

  15. Mulang IO, Singh K, Orlandi F (2017) Matching natural language relations to knowledge graph properties for question answering. In: Proceedings of the 13th International Conference on Semantic Systems, September 2017, pp 89–96

  16. Nakashole N, Weikum G, Suchanek F (2012) PATTY: A taxonomy of relational patterns with semantic types. In: Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, July 2012, pp 1135–1145

  17. Pan JZ, Zhang M, Singh K, van Harmelen F, Gu J, Zhang Z (2019) Entity enabled relation linking. In: Proceedings of the International Semantic Web Conference, October 2019, pp 523–538

  18. Pennington J, Socher R, Manning CD (2014) GloVe: Global vectors for word representation. In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, October 2014, pp 1532–1543

  19. Ran C, Shen W, Wang J (2018) An attention factor graph model for tweet entity linking. In: Proceedings of the World Wide Web Conference, WWW 2018, pp 1135–1144

  20. Sakor A, Mulang IO, Singh K, Shekarpour S, Vidal ME, Lehmann J, Auer S (2019) Old is gold: linguistic driven approach for entity and relation linking of short text. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, June 2019, pp 2336–2346

  21. Sang EFTK, De Meulder F (2003) Introduction to the CoNLL-2003 shared task: language-independent named entity recognition. arXiv preprint 2003

  22. Singh K, Mulang’ IO, Lytra I, Jaradeh MY, Sakor A, Vidal ME, Auer S (2017) Capturing knowledge in semantically-typed relational patterns to enhance relation linking. In: Proceedings of the Knowledge Capture Conference, December 2017, 1–8

  23. Tan C, Wei F, Ren P et al (2017) Entity linking for queries by searching Wikipedia sentences. In: Proceedings of Empirical Methods in Natural Language Processing, EMNLP 2017, pp 68–77

  24. Trivedi P, Maheshwari G, Dubey M, Lehmann J (2017) Lc-quad: A corpus for complex question answering over knowledge graphs. In: Proceedings of International Semantic Web Conference, October 2017, pp 210–218

  25. Usbeck R, Ngomo ACN, Haarmann B, Krithara A, Röder M, Napolitano G (2017) 7th open challenge on question answering over linked data (QALD-7). In: Semantic Web Evaluation Challenge, May 2017, pp 59–69

  26. Vrandečić D, Krötzsch M (2014) Wikidata: a free collaborative knowledgebase. Commun ACM 57(10):78–85

  27. Wu P, Huang S, Weng R et al (2019) Learning representation mapping for relation detection in knowledge base question answering. In: Proceedings of Annual Meeting of the Association for Computational Linguistics, ACL 2019, pp 6130–6139

  28. Yang Y, Chang MW (2015) S-MART: novel tree-based structured learning algorithms applied to tweet entity linking. In: Proceedings of the Association for Computational Linguistics and the International Joint Conference on Natural Language Processing of the Asian Federation of Natural Language Processing, ACL-IJCNLP 2015, pp 504–513

  29. Yih WT, Chang MW, He X, Gao J (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, July 2015, pp 1321–1331

  30. Yu M, Yin W, Hasan KS, Santos dos C, Xiang B, Zhou B (2017) Improved neural relation detection for knowledge base question answering. In: Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, July 2017, pp 571–581

  31. Zafar H, Tavakol M, Lehmann J (2020) Distantly Supervised Question Parsing. In: Proceedings of European Conference on Artificial Intelligence, August 2020, pp 2290–2297

Download references

Acknowledgements

The work is supported by the National Natural Science Foundation of China under grant No. 61502095.

Funding

The work is supported by the National Natural Science Foundation of China under grant No. 61502095.

Author information

Authors and Affiliations

Authors

Contributions

Huiying Li: Conceptualization, Writing, Supervision, Funding acquisition. Wenqi Yu: Methodology, Software, Writing. Xinbang Dai: Writing, Software.

Corresponding author

Correspondence to Huiying Li.

Ethics declarations

Competing interests

The authors have no conflicts of interest to declare that are relevant to the content of this article.

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

Li, H., Yu, W. & Dai, X. Joint linking of entity and relation for question answering over knowledge graph. Multimed Tools Appl 82, 44801–44818 (2023). https://doi.org/10.1007/s11042-023-15646-w

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-15646-w

Keywords

Navigation