RUCDM / KB4Rec

This is the data for KB4Rec
322 stars 51 forks source link

how to get RS to KB linkage? #5

Closed SerenaChristmas closed 2 years ago

SerenaChristmas commented 4 years ago

In your paper, "With an ofine Freebase search API, , we retrieve KB entities with item titles as queries. " Cause the Freebase API has been shut down according to https://developers.google.com/freebase, could you please to tell me how to convert item id to entity id in KB. Would you do me a favor to make this process open source? Thank you very much~

RichardHGL commented 4 years ago

google knowledge graph api can provide retrieval result about item title, which include freeebase entities. But as we find, it may be more efficient to directly match entity's object.name attribute with item title

wei1826676931 commented 2 years ago

I have the same problem. The freebase interface has been closed. How do you match the name or attribute of an entity through the unique meaningless id in the triplet? As far as I know, Google provides some freebase to wiki mappings, but only a very small part. So what I am curious about is how to match the entity only by the meaningless id in the triples in freebase? Finally, thank you very much for reading.

RichardHGL commented 2 years ago

Previously, we did try to access the search API for Freebase with google knowledge graph API. But a more convenient way is to conduct matching through "type.object.name" relation of entities (from the largest dump) to find name match.

wei1826676931 commented 2 years ago

哦哦哦,是通过图一中的这个文件:所有的三元组数据。通过里面的type.object.name关系去找到名字,最后通过名字再去匹配对吗? (图一)

------------------ 原始邮件 ------------------ 发件人: "Gaole He @.>; 发送时间: 2021年11月17日(星期三) 下午5:02 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [RUCDM/KB4Rec] how to get RS to KB linkage? (#5)

Previously, we did try to access the search API for Freebase with google knowledge graph API. But a more convenient way is to conduct matching through "type.object.name" relation of entities (from the largest dump) to find name match.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

RichardHGL commented 2 years ago

Yes. You can follow the code we used in this repo to deal with dump file