Skip to content

Commit

Permalink
Merge pull request #104 from MaRDI4NFDI/fix_paper_check
Browse files Browse the repository at this point in the history
now also check de number for publications
  • Loading branch information
LizzAlice authored Oct 19, 2023
2 parents 0b9edf3 + b270048 commit 8833247
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mardi_importer/mardi_importer/zbmath/ZBMathPublication.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ def exists(self):
return self.QID
# instance of scholarly article
if self.title:
self.QID = self.item.is_instance_of("wd:Q13442814")
self.QID = self.item.is_instance_of_with_property(
"wd:Q13442814", "P1451", self.de_number
)
else:
QID_list = self.api.search_entity_by_value(
self.de_number_prop, self.de_number
Expand Down

0 comments on commit 8833247

Please sign in to comment.