Skip to content

Latest commit

 

History

History
89 lines (79 loc) · 12.3 KB

README.md

File metadata and controls

89 lines (79 loc) · 12.3 KB

SPA Wikidata

spa2Commons

javascript that find scanned pictures in SPA and upload it to Wikicommons. The script is based on https://github.com/kaldari/iNaturalist2Commons

importScript( 'User:Salgo60/spa2commons3.js' );

Notebooks

PAWS Notebooks et all

Because the environment is set up I have used PAWS for

  • Traverse category to find SPA id
    • quick and dirty that checks all files in categoryspa2commons and check for the spource partameter point at SPA --> a csv file is created that is used in Open Refine to create a quickstatement file to set SDC in Wikicommons

Dataroundtriping

Find WD objects without a picture and check with SPA

SPA and WD has semantic interoperability in some sense BUT we need to start match

  • see notebook that
    • checks people in WD connected to Litteraturbanken with no picture
    • does a look up in SPA for good candidates

image

Find SPA same as Wikipedia

some pictures in SPA have same as Wikipedia. We use the API to find those pictures and checks if in Wikidata Property:P4819 is set see list of Wikidata persons with Property:P4819 set but no pictures

More

image

 * [Blog om Gamla Gävle Begravningsplats](http://minancestry.blogspot.com/2020/03/gavle.html) i Wikidata

Todo

  • need to be in the whitelist for uploading see T290581
  • get test pilots
  • add structured data to Wikicommons as automatic as possible
  • start from Wikidata
    • do a search in SPA
    • find pictures related to the current Wikidataobject
    • get a button if the wikidata oibject is a person, born before 1900, country Sweden and scoure > 25
      • clicking on the button
        • a search is done in SPA
        • a picture is selected
        • metadata is set and categories
        • ??!?!?!
    • from a Wikipedia article to the above
  • more options
    • create a category if noone is there
    • ?!?!?!