Open mvolz opened 1 year ago
The partial fix just skips the resource which is good if there's no RDF at all, but it's possible to actually add the author by following owl:sameAs in the rdf:
<rdf:Description rdf:about="http://www.wikidata.org/entity/Q43183092">
<owl:sameAs rdf:resource="http://www.wikidata.org/entity/Q21391212"/>
</rdf:Description>
Input:
https://www.wikidata.org/wiki/Q30834230
Output:
It's being caused because one of the authors of the paper is a redirect link to another item, so the request for the resource can't follow the redirect, https://www.wikidata.org/w/index.php?title=Q43183092&redirect=no, so the "value" is "null", and then cleanAuthor can't handle null input and throws an error.
Note that a bot has fixed the redirect situation as of yesterday so the link is no longer a good test for this.