Nudin / LexData

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

Getting value of a specific property #10

Closed belett closed 4 years ago

belett commented 4 years ago

Caveat: I'm a newbie so maybe it already exist.

How do I get the value of a specific property? L.claims.values() gives me all the values but I only want one (P5187 in my specific case).

Nudin commented 4 years ago

Should be as simple as: L.claims["P5185"] Or did I misunderstood?

Nudin commented 4 years ago

Please reopen or ping me on Wikidata if you still have (this) issues.