The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Filter wikidata dumps by a specific category
I need to extract from the latest dump of Wikidata, all the data related to life sciences.
I have already tried to filter the dump with the Wikidata-filter however without luck. My claim is the following, where Q9585453 is the Category:Life sciences:
curl https://dumps.wikimedia.org/wikidatawiki/entities/latest-all.json.gz | gzip -d | wikidata-filter --claim P31:Q9585453 > life_science.ndjson