tibbs001 / ctwiki-loader

Ruby on Rails app to help populate a wiki devoted to Clinical Trials
MIT License
1 stars 0 forks source link

Add Publication Lookup #14

Closed tibbs001 closed 4 years ago

tibbs001 commented 5 years ago

Create lookup table of existing publications in wikidata (articles that have pmid, pmcid or doi) Reference those that exist. Create an instance of those that don't exist.

SELECT ?item ?pmid ?pmcid ?doi WHERE {?item p:P31/ps:P31/wdt:P279* wd:Q191067 . ?item wdt:P698 ?pmid . OPTIONAL { ?item wdt:P932 ?pmcid } OPTIONAL { ?item wdt:P356 ?doi } } LIMIT 100