Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

citations from Semantic Scholar without DOIs? #26

Open
joshuahhh opened this issue Aug 26, 2022 · 4 comments
Open

citations from Semantic Scholar without DOIs? #26

joshuahhh opened this issue Aug 26, 2022 · 4 comments
Labels
priority: low This isn't blocking anyone's paper, and it probably won't anytime soon

Comments

@joshuahhh
Copy link
Collaborator

I've run into some papers I want to cite that don't seem to have DOIs (ex: https://www.semanticscholar.org/paper/The-Grail-System-Implementation-Ellis-Heafner/6c1779a0c6791609987b6481428022a39a9baadd). It looks like Semantic Scholar still has data on these papers accessible through its API. But I think Living Papers ultimately always looks up data via DOI.

Is it practical to use Semantic Scholar when DOIs aren't available? Or are we relying on a lot of DOI-specific machinery?

(Naturally, I could always just get a BibTeX citation and put it into my document by hand. Just curious about automation!)

@joshuahhh joshuahhh added the priority: low This isn't blocking anyone's paper, and it probably won't anytime soon label Sep 11, 2022
@jheer
Copy link
Member

jheer commented Sep 23, 2022

Yes, you should be able to cite that paper as [@s2id:6c1779a0c6791609987b6481428022a39a9baadd] (using the full SHA hash s2id) or as [@s2id:59877838] (using the Semantic Scholar Corpus ID number).

@jheer jheer closed this as completed Sep 23, 2022
@joshuahhh
Copy link
Collaborator Author

I get:

Citation s2id lookup failed: 6c1779a0c6791609987b6481428022a39a9baadd
Citation s2id lookup failed: 59877838

(At commit 2fb2845.)

@joshuahhh joshuahhh reopened this Sep 23, 2022
@joshuahhh
Copy link
Collaborator Author

(Re-opening out of an abundance of caution; sorry if I'm doing something wrong.)

@jheer
Copy link
Member

jheer commented Sep 23, 2022

You're right, thanks for re-opening. The Semantic Scholar lookup (as a network request) is actually succeeding, but the citation plugin currently quits if there is no corresponding DOI. (S2 lookups for papers with DOIs should work.) I'll leave this open until we decide if/how we want to handle the creation of CSL-JSON citation objects from S2 data alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low This isn't blocking anyone's paper, and it probably won't anytime soon
Projects
None yet
Development

No branches or pull requests

2 participants