Skip to content
Discussion options

You must be logged in to vote
  1. Example kb.get_candidates("Adam") : Returns Candidates in descending order of prior probability. Is it possible to fetch the entity_value for the QID ? Like for the Q the Entity is Adam XX & Alias is Adam ?

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:

cat entity_alias.csv

WD_id|alias
Q31|Kingdom of Belgium
Q31|be
Q31|🇧🇪
Q8|😄
Q8|:)
Q8|😃
Q8|joy
Q8|happy
...
  1. Since we are using it for NEL. How to I get the wikipedia page for the entit…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ines
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / nel Feature: Named Entity linking
2 participants
Converted from issue

This discussion was converted from issue #5366 on December 11, 2020 00:34.