File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
mardi_importer/mardi_importer Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -443,6 +443,9 @@ def create(self):
443443 # Arxiv ID
444444 item .add_claim ("wdt:P818" , self .arxiv_id )
445445
446+ # profile page
447+ item .add_claim ("MaRDI profile type" , "MaRDI publication profile" )
448+
446449 # Arxiv classification
447450 category_claims = []
448451 pattern_msc = re .compile (r"\d\d(?:-(?:XX|\d\d)|[A-Z](?:xx|\d\d))" )
Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ def create(self):
347347
348348 item .add_claims (author_claims )
349349
350+ item .add_claim ("MaRDI profile type" , "MaRDI publication profile" )
350351 if not self .QID :
351352 self .QID = item .write ().id
352353 else :
@@ -355,6 +356,7 @@ def create(self):
355356 scholarly_article = "wd:Q13442814"
356357 item .add_claim ("wdt:P31" , scholarly_article )
357358 item .add_claim ("wdt:P356" , self .doi )
359+ item .add_claim ("MaRDI profile type" , "MaRDI publication profile" )
358360
359361 if not self .QID :
360362 self .QID = item .write ().id
Original file line number Diff line number Diff line change @@ -213,5 +213,8 @@ def create(self):
213213 if self .arxiv_id :
214214 self ._item .add_claim ("wdt:P4594" , self .arxiv_id )
215215
216+ # MaRDI profile
217+ self ._item .add_claim ("MaRDI profile type" , "MaRDI person profile" )
218+
216219 self ._QID = self ._item .write ().id
217220 return self .QID
You can’t perform that action at this time.
0 commit comments