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

ChatGPT cannot clearly differentiate between class and instance in the given natural language question #34

Open
candlecao opened this issue Jan 9, 2025 · 1 comment
Assignees
Labels

Comments

@candlecao
Copy link
Contributor

(for ChineseTraditionalKnowledge as a case)
There is a natural language question "鼓吹乐这个音乐类型(乐种)主要分布在什么地域?"(translated as "In which regions is the MusicType of WindAndDrumMusic mainly distributed?") for testing.

From the perspective of musicology, this question is clear and professional. However, from the perspective of entity extraction, it's ambiguous.
This ambiguity arises because 鼓吹乐(WindAndDrumMusic) is actually a class, which is a subclass of "音乐类型(乐种)"(MusicType). Consequently, the potential meaning of the question is: In which regions are those instances classifies as 鼓吹乐(WindAndDrumMusic) mainly/respectively distributed?

However, chatGPT tends to interpret 鼓吹乐(WindAndDrumMusic) as an instance, which leads to a generation of an incorrect SPARQL.

@candlecao candlecao self-assigned this Jan 9, 2025
@candlecao candlecao changed the title ChatGPT can not clear distinguish between class and instance in the natural language question ChatGPT cannot clearly differentiate between class and instance in the given natural language question Jan 9, 2025
@candlecao
Copy link
Contributor Author

candlecao commented Jan 9, 2025

To solve this question, there are several solutions. For example,

  1. I changed the way of asking question: 鼓吹乐类的实例主要分布在什么地域?(translated as "In which regions are the instances of WindAndDrumMusic mainly distributed?")

It worked

  1. Create exactly the same instance with the class, in which case, they can have the same URI

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

No branches or pull requests

1 participant