cito_to_wikidata
Mirror published CiTO citations into Wikidata by generating a QuickStatements batch that links replications to cited works with CiTO intents, ready for researcher submission.
Instructions
Mirror published CiTO citations into Wikidata — as a batch for a human to submit.
Run it after verify_chain is green, to make the chain's typed citation
("this replication confirms / qualifies / disputes that paper") visible in
Wikidata and Scholia. Pass the CiTO nanopub URIs, or published_path (a
nanopubs/PUBLISHED.md) to take every CiTO nanopub in the ledger.
It writes nothing to Wikidata. It returns quickstatements — a batch that
adds, on the replication's item, "cites work" (P2860) → the original, with
"has goal" (P3712) → the CiTO intent, referenced by "nanopublication
identifier" (P12545) → the CiTO nanopub — plus a per-work report. Show the
researcher the report; they submit the batch at
https://quickstatements.toolforge.org with their own Wikidata account.
Never submit it on their behalf.
Items are looked up by DOI and ORCID first and created only when missing; a
replication is one item per Zenodo concept DOI, not one per version. Items
are created from the Zenodo record's title, so a repository-slug title
("my-replication-repo") should be fixed on Zenodo first. pending lists
citations to works this same batch creates: re-run after submitting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cito_uris | No | ||
| published_path | No |