neelguha / simple-wikidata-db

A set of Python scripts for preprocessing the Wikidata JSON dump and running simple queries in an efficient manner.
106 stars 19 forks source link

Missing the Name for property_id #9

Closed HuuuNan closed 4 months ago

HuuuNan commented 5 months ago

Hi,

Thanks for the great project! I've noticed that in the extracted JSONL files, there is no name for 'property_id'. Could you please provide some guidance or suggestions on how to accurately extract the name of 'property_id'? Any help would be greatly appreciated!

neelguha commented 5 months ago

Hi!

Unfortunately the JSONL files do not contain the property names, just the property id. You can download the id-to-name mappings separately using this library however: https://github.com/maxlath/wikidata-properties-dumper.

I hope that helps!

HuuuNan commented 4 months ago

Thanks!