SuLab / WikidataIntegrator

A Wikidata Python module integrating the MediaWiki API and the Wikidata SPARQL endpoint
MIT License
244 stars 46 forks source link

Add bioRxiv publications #169

Closed cthoyt closed 3 years ago

cthoyt commented 3 years ago

Similarly to #140, this PR enables the creation of new items based on bioRxiv identifiers.

DOIs can be automatically constructed from a bioRxiv identifier, and using the information from the API, the correct version-specific strings can also be constructed.

Demonstration: biorxiv:804294 (https://www.biorxiv.org/content/10.1101/804294v3) can be seen at https://www.wikidata.org/wiki/Q104849590

Example CLI usage: wikidataintegrator-publication --source biorxiv --idtype biorxiv 804294