Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Entity linking in Wikidata? #117

Open
xu1998hz opened this issue Jun 1, 2022 · 3 comments
Open

Entity linking in Wikidata? #117

xu1998hz opened this issue Jun 1, 2022 · 3 comments

Comments

@xu1998hz
Copy link

xu1998hz commented Jun 1, 2022

This is a great work! I was wondering if this project can be used for entity linking in Wikidata?

@abhinavkulkarni
Copy link

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.

@AmirLayegh
Copy link

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?

@dukesun99
Copy link

dukesun99 commented May 5, 2023

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants