Nudin / LexData

Python bot framework for Lexemes on Wikidata
https://nudin.github.io/LexData/
MIT License
18 stars 5 forks source link

Lacking example of how to add claims to a lexeme #14

Open dpriskorn opened 3 years ago

dpriskorn commented 3 years ago

Hi, I read https://nudin.github.io/LexData/Entity.html I don't understand how to use it. I'm trying to get a lexeme, add a usage example and upload. Could you add a simple example of how to add a claim to a lexeme in the readme?

dpriskorn commented 3 years ago

I would like to add a reference to the claim also. Does LexData support that? If not, how do I get the claim GUID after adding with LexData? I need that GUID to use https://www.wikidata.org/w/api.php?action=help&modules=wbsetreference it seems.