Open xu1998hz opened 2 years ago
Hey @xu1998hz,
Yes, this project can certainly be used to entity link into Wikidata. The default model files link into Wikipedia pages, many of whom have a corresponding Wikidata entry. Basically you just need to link the Wikipedia title with corresponding Wikidata Q-id.
Hi, Can we use entity_encoding (all_entities_large.t7) to fetch the WikiData Q-ID for corresponding predictions? or they only have local IDs?
@AmirLayegh
Entity.jsonl
gives you a mapping from the internal entity ID (which is the line number) to Wikipedia page ID. You can then fetch the corresponding Wikidata QID with a dump or the API.
This is a great work! I was wondering if this project can be used for entity linking in Wikidata?