Closed xzhaoyooo closed 3 years ago
This might be up to my poor documentation. By default elastic-wikidata only imports P31
as well as the properties you specify using the --properties/-prop
flag.
Did you specify anything using this flag? Would you want to have an option that imports all properties?
If you're looking for a way to just import the raw Wikidata JSONs into Elasticsearch I'd say its better to write a separate script. elastic-wikidata is meant for importing a small subset of Wikidata into Elasticsearch for a fast search index.
(or let me know, and I can add an option to circumvent simplify_wbgetentities_result
)
Hello Dutia,
I found a new problem that might be caused by elastic-wikidata. It seems only at most one
property
item inclaims
would be remained during importing. In every document the onlyproperty
item I could find isP31
. I guess there is something wrong withinwd_entities.py
.I hope you can help me find out the reason. Thank you. 😺