Workdocumentation 2023-03-09


Tim Holzheim, Wolfgang Fahl

Add properties to CeurwsSchema[edit]

Add properties url,urn,k10plus,dblp to CeurwsSchema

py-yprinciple-gen % ypgen --wikiId ceur-ws --context CeurwsSchema --topics Volume --genViaMwApi --noDry

generating Category for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume&type=revision&diff=1133&oldid=931(498)
generating Concept for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume&type=revision&diff=1134&oldid=932(223)
generating Form for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume&type=revision&diff=1135&oldid=933(487)
generating Help for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume&type=revision&diff=1136&oldid=934(223)
generating List of for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=List of Volumes&type=revision&diff=1137&oldid=1008(350)
generating Template for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume&type=revision&diff=1138&oldid=936(1582)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume number&type=revision&diff=924&oldid=924(80)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume acronym&type=revision&diff=938&oldid=938(80)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume wikidataid&type=revision&diff=939&oldid=939(80)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume title&type=revision&diff=940&oldid=940(80)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume description&type=revision&diff=937&oldid=937(80)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume url&type=revision&diff=1139&oldid=0(0)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume date&type=revision&diff=1140&oldid=0(0)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume dblp&type=revision&diff=1141&oldid=0(0)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume k10plus&type=revision&diff=1142&oldid=0(0)
generating Property for Volume via Mediawiki Api...
diff: https://ceur-ws.bitplan.com/index.php?title=Volume urn&type=revision&diff=1143&oldid=0(0)
generating Python for Volume via Mediawiki Api...
diff: (1764)

Sync new fields with wikidata[edit]

 smwsync -u -t ceur-ws --context CeurwsSchema --topic Volume -p url urn k10plus dblp  --progress
updating cache for CeurwsSchema:Volume from wiki ceur-ws ...
stored 8 Volume items to /Users/wf/.smwsync/ceur-ws/CeurwsSchema/Volume.json
8 Volume items to sync ...
Vol-3346→dlbp: 100%|████████████████████████████| 32/32 [00:40<00:00,  1.26s/it]
 smwsync -u -t ceur-ws --context CeurwsSchema --topic Volume -pkv  Q113542713 -p desc title

Paper Template Example[edit]

{|class="wikitable" style=""
! colspan="2"| Paper
|-
![[Title::@@@]]
| {{#show: {{PAGENAME}}| ?title}}
|-
![[Author::@@@]]
|{{#show: {{PAGENAME}}| ?author}}
|-
![[DOI::@@@]]
|{{#show: {{PAGENAME}}| ?doi}}
|-
![[Publication date::@@@]]
|{{#show: {{PAGENAME}}| ?publication_date}}
|-
![[Wikidata id::@@@]]
|{{#show: {{PAGENAME}}| ?wikidata_id}}
|-
![[Event::@@@]]
|{{#show: {{PAGENAME}}| ?event}}
|} 

🖨 🚪