Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the entity's properties problem #17

Open
cidxb opened this issue Oct 7, 2021 · 2 comments
Open

About the entity's properties problem #17

cidxb opened this issue Oct 7, 2021 · 2 comments

Comments

@cidxb
Copy link

cidxb commented Oct 7, 2021

I have downloaded the YAGO 4 from https://yago-knowledge.org/
The version is English Wikipedia flavor.
I have imported it into Knowledge graph platform Neo4j.

But there are problem with the properties.
Such as the entity "Tom Hanks", only way to search him is through uri:http://yago-knowledge.org/resource/Tom_Hanks
Because it's rdfs_label is rdfs__label:톰 행크스 , in Korea . And also the other properties are in different language .

Here is the example when I query the entity "Tom Hanks" :
{
"identity": 27388,
"labels": [
"Resource",
"ns1__Human",
"sch__Person",
"sch__Thing"
],
"properties": {
"sch__birthDate": "1956-07-09",
"rdfs__comment": "미국의 배우, 영화 제작자",
"sch__sameAs": "https://zh.wikipedia.org/wiki/%E6%B1%A4%E5%A7%86%C2%B7%E6%B1%89%E5%85%8B%E6%96%AF",
"sch__alternateName": "湯·漢斯",
"rdfs__label": "톰 행크스",
"uri": "http://yago-knowledge.org/resource/Tom_Hanks"
}
}

Or like Lindsey_Vonn":
{
"identity": 4,
"labels": [
"Resource",
"ns1__Human",
"sch__Thing",
"sch__Person"
],
"properties": {
"sch__birthDate": "1984-10-18",
"rdfs__comment": "美国高山滑雪运动员",
"sch__sameAs": "https://zh.wikipedia.org/wiki/%E6%9E%97%E8%B5%9B%C2%B7%E6%B2%83%E6%81%A9",
"sch__alternateName": "Lindsey Kildow",
"sch__url": "http://www.lindseyvonn.com/",
"rdfs__label": "린지 본",
"uri": "http://yago-knowledge.org/resource/Lindsey_Vonn"
}
}

Some time the text will be Arabic or even Gothic !

Have I done something wrong ? But I was downloaded the English Wikipedia flavor 2020-02-24/ folder of 12-Mar-2020 16:56 . Is my importing went wrong? Or is it a compatible problem ? Or it is a bug of YAGO 4?

Thank you !

@Tpt
Copy link
Collaborator

Tpt commented Oct 8, 2021

HI! It's because Yago 4 contains multiple rdfs:label values for the same entity in order to cover multiple languages and your loader seems to pick a value randomly so it's sometime in english, sometime corean...

@cidxb
Copy link
Author

cidxb commented Oct 8, 2021

HI! It's because Yago 4 contains multiple rdfs:label values for the same entity in order to cover multiple languages and your loader seems to pick a value randomly so it's sometime in english, sometime corean...

Thank you !

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

No branches or pull requests

2 participants