Examples of Recovering from Entity Linking Errors
2024-6-23 09:15:14 Author: hackernoon.com(查看原文) 阅读量:8 收藏

Authors:

(1) Silei Xu, Computer Science Department, Stanford University Stanford, CA with equal contribution {[email protected]};

(2) Shicheng Liu, Computer Science Department, Stanford University Stanford, CA with equal contribution {[email protected]};

(3) Theo Culhane, Computer Science Department, Stanford University Stanford, CA {[email protected]};

(4) Elizaveta Pertseva, Computer Science Department, Stanford University Stanford, CA, {[email protected]};

(5) Meng-Hsi Wu, Computer Science Department, Stanford University Stanford, CA, Ailly.ai {[email protected]};

(6) Sina J. Semnani, Computer Science Department, Stanford University Stanford, CA, {[email protected]};

(7) Monica S. Lam, Computer Science Department, Stanford University Stanford, CA, {[email protected]}.

Abstract and Introduction

Related Work

Semantic Parsing for Wikidata

WikiWebQuestions (WWQ) Dataset

Implementation

Experiments

Experiment with QALD-7

Conclusions, Limitations, Ethical Considerations, Acknowledgements, and References

A. Examples of Recovering from Entity Linking Errors

A. Examples of Recovering from Entity Linking Errors

Here, we illustrate our proposal of using entity mentions to recover from entity linking errors. In the training set, we have the following example:

• Query: What year did giants win the world series?

• Original Gold SPARQL:

SELECT DISTINCT ?x WHERE { ?y wdt:sports_season_of_league_or_competition wd:Q265538; wdt:winner wd:Q308966; wdt:point_in_time ?x. }

• Gold Entity linker result:

World Series (QID Q265538),

San Francisco Giants (QID Q308966);

• ReFinED result:

San Francisco Giants (QID Q308966);

Here, the ReFinED entity linker model fails to identify the “World Series” entity. Our proposal of mentions gives the semantic parser a chance to recover from entity linker failures. To train the parser to generate mentions, our training includes samples like this:

• Query: what year did giants win the world series?

• ReFinED result:

San Francisco Giants (QID Q308966);

• Gold target:

SELECT DISTINCT ?x WHERE { ?y wdt:sports_season_of_league_or_competition; wd:world_series; wdt:winner wd:Q308966; wdt:point_in_time ?x. }

The gold query mentions “world_series”. At inference time, our heuristics use the predicted mention to look up the actual Wikidata entity. For example, if wd:world_series is predicted at inference time, our heuristics maps it back to wd:Q265538.


文章来源: https://hackernoon.com/examples-of-recovering-from-entity-linking-errors?source=rss
如有侵权请联系:admin#unsafe.sh