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

removing qualifier in lexeme form, invalid guid #181

Open
robertsilen opened this issue Dec 5, 2023 · 1 comment
Open

removing qualifier in lexeme form, invalid guid #181

robertsilen opened this issue Dec 5, 2023 · 1 comment
Labels

Comments

@robertsilen
Copy link

Hello, I need to remove a few thousand qualifiers for properties of lexeme forms in Wikidata. I asked for help in Wikidata Request a Query, and was suggested this tool. I'm trying to remove the qualifier P407 for the properties P898 in Lexeme:L235116#F1. As an example, I have figured out that the guid for the value 'aːbɔr' with:
guid = data['forms'][0]['claims']['P898'][4]['id']
hash = data['forms'][0]['claims']['P898'][4]['qualifiers']['P407'][0]['hash']
but when I run the following:
wb rq 'L235116-F1$6E538A76-DDE7-4ED4-AE4F-6BCCFD6B74A5' 'e41efcf0acaa18ea8fca63b87e2e0c24618f5664'
I get:
invalid guid { guid: 'L235116$F1$6E538A76-DDE7-4ED4-AE4F-6BCCFD6B74A5' }
it would be much appreciated if somebody could explain how to get this to work, thank yoU!

maxlath added a commit that referenced this issue Dec 5, 2023
@maxlath maxlath added the bug label Dec 5, 2023
@maxlath
Copy link
Owner

maxlath commented Dec 5, 2023

Thanks for reporting, that was a bug, which should now fixed in v17.0.6: the command you passed now works.

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

2 participants