improve representation of Work types
VladimirAlexiev opened this issue · 1 comments
VladimirAlexiev commented
Consider https://api.openalex.org/works/W4327890772 vs https://semopenalex.org/work/W4327890772
- OpenAlex JSON has type: "article" and type_crossref: "proceedings-article"
- SemOpenAlex has only crossrefType "https://api.crossref.org/types/proceedings" ("type" is missing). But that is different (whole proceedings vs one article).
- https://api.crossref.org/types/proceedings and https://api.crossref.org/types/proceedings-article do resolve, but don't return much info.
- In contrast, https://api.openalex.org/works?filter=type:article and https://api.openalex.org/works?filter=type:proceedings-article return all works of that type (with pagination).
- (IMHO the second URL is wrong because it returns only 355 and it's a CrossRef value not an OpenAlex value)
- I think you should emit
type
andcrossrefType
as simple strings, and if you like to expose the above openalex filter URLs, you can form such URLs at the UI
linnaung commented
We will amend the mapping and include these in the next data generation.