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

Wrong extraction of {{lang|text}} clauses #747

Open
s204451 opened this issue Jan 21, 2023 · 0 comments
Open

Wrong extraction of {{lang|text}} clauses #747

s204451 opened this issue Jan 21, 2023 · 0 comments

Comments

@s204451
Copy link

s204451 commented Jan 21, 2023

When input is in the format of {{lang|text}} in Wikipedia, dbpedia extracts nothing from within the braces.

Example:

https://dbpedia.org/page/Abruzzo
https://en.wikipedia.org/wiki/Abruzzo

native_name on wikipedia:

{{lang|nap|Abbrùzzu}} / {{native name|nap|Abbrùzze}}

Output on dbpedia (dbp:nativeName):

/

Expected output:

Abbrùzzu / Abbrùzze

Another example is https://en.wikipedia.org/wiki/Tokyo/https://dbpedia.org/page/Tokyo where native_name = {{Nihongo2|東京都}} is not extracted because it is evaluated to nothing.

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

No branches or pull requests

2 participants