Status: Prototype 1** use the SPARQL endpoint in Wikidata to retrieve Swedish Church parishes and then use the Wikipedia API for searching
TODO:
- prototype with a map and maybe also cemeteries, SOFI links, .... will look at Leaflet.js som används av eg. Wikidata
- prototype as modell context cards see blog och github
the thought is to display inside the Arkiv Digital application
- Wikipedia summary
- Picture church
- optional: links map, SOFI, historical maps, SCB, Anbytarforum
To be done
Step 1 is just to extract data from Wikidata example "Häggesleds församling" WD:Q10531290
==> see Wikidata:Data_access ==>
Q10531290 ==> http://www.wikidata.org/wiki/Special:EntityData/Q10531290.json
Property 625 - coordinate
Property 18 - image
==> "Häggesleds kyrka - KMB - 16000200159109.jpg" ==> https://commons.wikimedia.org/wiki/File:Häggesleds_kyrka_-_KMB_-_16000200159109.jpg
Property 131 - in administrative ==> is another object wd:Q515358 Lidköpings kommun
Open issue 1: Copyright
Open issue 1-1: Wikidata - all data in Wikidata is CC0
Open issue 1-2: Pictures in commons ???
Step 2 list with all Wikidata objects with a NAD number (we are still cleaning data see T199784: Wikidata cleaning Swedish Church parishes/ Svenska Församlingar)
OBS this is all =>> also not church parishes
List wd object, name , NAD
to download a JSON file use option in right bar
List with more fields wd object, item, itemLabel, NAD, img, adm, coord, article
Video hur man hämtar datat i JSON eller i programkod
Extracting Wiki summary
- default extract https://sv.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&exintro&explaintext&titles=Adelövs%20församling
- extract 10 character https://sv.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&exchars=10&exintro&explaintext&titles=Adelövs%20församling
- Introduction to Wikidata as a platform and data source