fabiobatalha / crossrefapi

A python library that implements the Crossref API.
BSD 2-Clause "Simplified" License
280 stars 44 forks source link

Question: Matching unstructured citations with DOIs #49

Closed lb803 closed 1 year ago

lb803 commented 1 year ago

I realise this is more of a general question, but I hope I can still get some help.

I would like to get the DOIs of a list of unstructured citations (somehow, similar to this issue).

However, if I run:

unstructured_citation = "Jan Hansen, Jochen Hung, Jaroslav Ira, Judit " \
                        "Klement, Sylvain Lesage, Juan Luis Simal and " \
                        "Andrew Tompkins (eds), The European Experience: " \
                        "A Multi-Perspective History of Modern Europe. " \
                        "Cambridge, UK: Open Book Publishers, 2023."
work = Works.query(bibliographic="unstructured_citation").sort("relevance")

I get a huge numbers of results in the variable work (some of which are not even related).

What am I am missing? Is the bibliographic argument meant to be used for work titles only? Should I try to extract the work titles from the raw citations and then use them as part of the query? Thank you!