Open egonw opened 2 years ago
Hi @egonw Thanks for the input. Sounds like a very useful addition. We will check to see if and how it could be included in the app.
Happy to give pointers. BTW, this is the query to get the literature for an author:
SELECT DISTINCT ?author ?pubmed ?doi WHERE {
VALUES ?author { wd:Q20895241 }
?author ^wdt:P50 ?article .
OPTIONAL { ?article wdt:P698 ?pubmed }
OPTIONAL { ?article wdt:P356 ?doi }
}
You can combine the two queries also to list DOIs and PubMed IDs for the ORCID of an author:
SELECT DISTINCT ?author ?pubmed ?doi WHERE {
VALUES ?orcid { "0000-0001-7542-0286" }
?author ^wdt:P50 ?article ; wdt:P496 ?orcid .
OPTIONAL { ?article wdt:P698 ?pubmed }
OPTIONAL { ?article wdt:P356 ?doi }
}
The R code is pretty much the same as above. Just the query <-
line changes :)
Great, thank you!
Wikidata (see https://scholia.toolforge.org/topic/Q2013) has many scholarly profiles (for notable researchers) but importantly identifiers on the platforms you already use including ORCID, GScholar, and Publons. For example, my Wikidata ID is Q20895241 (BTW, you can use the ORCID to look up people in Wikidata with Scholia: http://scholia.toolforge.org/orcid/0000-0001-7542-0286), and I can list my other accounts with this SPARQL query at https://query.wikidata.org/:
The matching R code would be something like this (note the "</> Code" button on that query page for other languages):
Actually, you can use Wikidata as source for citations, see the Scholia paper: https://scholia.toolforge.org/work/Q41799194