Fatameh is a tool to add items to Wikidata about papers with content generated from places like EuropePMC, PubMed and Crossref.
- Navigate to the tool and log in using the Wikimedia OAuth
- Make a single item from PMID by using the form on the homepage
- Alternatively just navigate your browser to https://tools.wmflabs.org/fatameh/pmid/add/12345 to add an item from PMID 12345
Don't worry; if the item already exists a new one won't be made. You'll simply be returned the Wikidata item ID for it.
Also for PMCID
Follow the simple instructions but instead navigate to https://tools.wmflabs.org/fatameh/pmc/add/PMC12345
From the Commandline/Scripts/Bots etc..
You can use the token on the profile page to add from cURL.
However you need to hit a different URL. They are the same but start with '/token/' after 'fatameh'.
You'll also need to set the HTTP Authorization Header to 'Token <my token>'. In cURL you can do it like this:
curl --header "Authorization: Token mysupersecrettoken123456" tools.wmflabs.org/fatameh/token/pmc/add/PMC98765
It was started at the 2017 Vienna Hackathon and improved at Wikicite-2017 just afterwards.
T Arrow is currently maintaining it as part of the WikiFactMine project which needed a way to frictionlessly make items about papers.
It relies on Wikidataintegrator to do all the heavy lifting.