Retrieving Entity & Wikipedia URL from Knowledge Base #5366
-
I created a KB using the bni/wiki_entity_linking example.
Your Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'm not sure what you mean by "entity_value". If you link the QID to the wikipedia page (cf answer to question 2), then you'll get the full name (wikipedia title) of the entity. You can also check the intermediary file
The NEL approach here uses Wikidata's Q identifiers as the unique ID to which to resolve. This is done because Wikidata identifiers are much more stable than Wikipedia page titles. However if you've run the scripts, you should have a file
|
Beta Was this translation helpful? Give feedback.
-
@svlandeg thank you so much for the quick response.This really helps. |
Beta Was this translation helpful? Give feedback.
I'm not sure what you mean by "entity_value". If you link the QID to the wikipedia page (cf answer to question 2), then you'll get the full name (wikipedia title) of the entity. You can also check the intermediary file
entity_alias.csv
that has been generated and which has all the recorded aliases: