**Problem:** As data is published as strings and **not reusable data** (not [[ https://snd.gu.se/sites/default/files/legacy/FAIR_Birger_Jerlehag_20171114.pdf | #FAIRDATA ]]) its difficult to write software that check consistency between sources e.g The Nordic museum is messing up children of Margareta Leijonhufvud see {T218644}
**Task:**
1) To see if we can link [[ https://spraakbanken.gu.se/swe/forskning/infrastruktur/karp | KARP ]] "Språkbankens lexikala plattform from Wikidata --> Create a property
1) Get KARP to link wikidata --> use `Things instead of strings`
Svenskt kvinnobiografiskt lexikon (**SKBL**) is stored in the [[ https://spraakbanken.gu.se/swe/forskning/infrastruktur/karp | KARP ]] database that has an API. Today its difficult to use this data as its a lot of strings.
To make data usable for machine reading 2019 open.access recommends [[ https://en.wikipedia.org/wiki/FAIR_data | #FAIRDATA ]] --> the data will be easier to reuse
One way of **making data usable ** is referencing THINGS and not just strings example below
==== Example location as Things not Strings
**SKBL** describes that the wife of Gustav Vasa died in Tynnelsö as **strings**
> Dödsort: Tynnelsö
{F28449479,width=400}
are we looking at [[ https://sok.riksarkivet.se/sbl/Presentation.aspx?id=9099 | Riksarkivet SBL ]] they use **strings**
> Överselö församling, Södermanlands län (på Tynnelsö)
If we look at Wikidata [[ https://www.wikidata.org/wiki/Q239443 | Q239443 ]] ([[ https://goo.gl/31D81L | graph ]]) they use **THINGS**
> Tynnelsö slott ([[ https://www.wikidata.org/wiki/Q2243791 | Q2243791 ]]) as a [[ http://tinyurl.com/y5h8xmq3 | **graph** ]] -> **samma som**
> * [[ https://www.openstreetmap.org/?mlat=59.41222222&mlon=17.10027778&zoom=13#map=13/59.4122/17.1003 | 59°24'44"N, 17°6'1"E ]]
> * **same as** Tora [[ https://tora.entryscape.net/wp/view/#esc_entry=12417&esc_context=61 | 12417 ]],
> * **same as** Ksamsök [[ http://www.bebyggelseregistret.raa.se/bbr2/anlaggning/visaHistorik.raa?page=historik&visaHistorik=true&anlaggningId=21300000012996 | raa/bbr/21300000012996 ]]
{F28449629,width=800}
* [[http://histropedia.com/showcase/wikidata-viewer.html?q=SELECT%20?person%20?personLabel%20?start%20?slut%20?ownerStat%20%20?img%20WHERE%20%7B%0A%20wd:Q2243791%20p:P127%20?ownerStat.%0A%20?ownerStat%20ps:P127%20?person.%0A%20OPTIONAL%20%7B?person%20wdt:P18%20?img%7D%0A%20OPTIONAL%20%7B?ownerStat%20pq:P580%20?start%7D%0A%20OPTIONAL%20%7B?ownerStat%20pq:P585%20?start%7D%0A%20OPTIONAL%20%7B?ownerStat%20pq:P582%20?slut%7D%0A%20SERVICE%20wikibase:label%20%7B%20bd:serviceParam%20wikibase:language%20%22sv%22.%20%7D%0A%7D%20&md=true&g=person&l=person&t=personLabel&s=start&e=slut&i=img&v=t | Create a timeline ]] of owners of Tynnelsö using Histropedia accessing Wikidata and SPARQL
** Same query but [[ http://histropedia.com/showcase/wikidata-viewer.html?q=SELECT%20?person%20?personLabel%20?start%20?slut%20?ownerStat%20%20?img%20?article%20%20WHERE%20%7B%0A%20wd:Q2243791%20p:P127%20?ownerStat.%0A%20?ownerStat%20ps:P127%20?person.%0A%20OPTIONAL%20%7B?person%20wdt:P18%20?img%7D%0A%20OPTIONAL%20%7B?ownerStat%20pq:P580%20?start%7D%0A%20OPTIONAL%20%7B?ownerStat%20pq:P585%20?start%7D%0A%20OPTIONAL%20%7B?ownerStat%20pq:P582%20?slut%7D%0A%20SERVICE%20wikibase:label%20%7B%20bd:serviceParam%20wikibase:language%20%22sv%22.%20%7D%0A%20OPTIONAL%20%7B%0A%20%20%20%20%20%20?article%20schema:about%20?person%20.%0A%20%20%20%20%20%20?article%20schema:inLanguage%20%22sv%22%20.%0A%20%20%20%20%20%20?article%20schema:isPartOf%20%3Chttps://sv.wikipedia.org/%3E%20.%0A%20%20%20%20%7D%0A%20OPTIONAL%20%7B%0A%20%20%20%20%20%20?article%20schema:about%20?person%20.%0A%20%20%20%20%20%20?article%20schema:inLanguage%20%22en%22%20.%0A%20%20%20%20%20%20?article%20schema:isPartOf%20%3Chttps://en.wikipedia.org/%3E%20.%0A%20%20%20%20%7D%0A%0A%7D%20&md=true&g=person&l=article%20&t=personLabel&s=start&e=slut&i=img&v=t | links Wikipedia when you click ]]
*** [[ http://histropedia.com/showcase/wikidata-viewer.html?q=SELECT%20?person%20?personLabel%20?start%20?slut%20?ownerStat%20%20?img%20?article%20%20WHERE%20%7B%0A%20wd:Q2243791%20p:P127%20?ownerStat.%0A%20?ownerStat%20ps:P127%20?person.%0A%20OPTIONAL%20%7B?person%20wdt:P18%20?img%7D%0A%20OPTIONAL%20%7B?ownerStat%20pq:P580%20?start%7D%0A%20OPTIONAL%20%7B?ownerStat%20pq:P585%20?start%7D%0A%20OPTIONAL%20%7B?ownerStat%20pq:P582%20?slut%7D%0A%20SERVICE%20wikibase:label%20%7B%20bd:serviceParam%20wikibase:language%20%22sv%22.%20%7D%0A%20OPTIONAL%20%7B%0A%20%20%20%20%20%20?article%20schema:about%20?person%20.%0A%20%20%20%20%20%20?article%20schema:inLanguage%20%22en%22%20.%0A%20%20%20%20%20%20?article%20schema:isPartOf%20%3Chttps://en.wikipedia.org/%3E%20.%0A%20%20%20%20%7D%0A%20OPTIONAL%20%7B%0A%20%20%20%20%20%20?article%20schema:about%20?person%20.%0A%20%20%20%20%20%20?article%20schema:inLanguage%20%22sv%22%20.%0A%20%20%20%20%20%20?article%20schema:isPartOf%20%3Chttps://sv.wikipedia.org/%3E%20.%0A%20%20%20%20%7D%0A%0A%7D%20&md=true&g=person&l=article%20&t=personLabel&s=start&e=slut&i=img&v=t | Same query but links en:Wikipedia ]] if article available
{F28455703,width=800}
==== Example person as Things not Strings
**SKBL** describes that the husband is Gustav Vasa using a **string**
> Make: Gustav Eriksson (Vasa) (1496 – 1560) Kung
are we looking at [[ https://sok.riksarkivet.se/sbl/Presentation.aspx?id=9099 | Riksarkivet SBL 9099]] they say use a **link [[ https://sok.riksarkivet.se/Sbl/Presentation.aspx?id=13315 | 13315 ]]**
> med moderns syssling konung [[https://sok.riksarkivet.se/Sbl/Presentation.aspx?id=13315 | Gustav I av Sverige (bd 17) ]] i dennes andra gifte, son till riksrådet Erik Johansson (Vasa) o Cecilia Månsdtr (Ekaätten).
If we look at Wikidata [[ https://www.wikidata.org/wiki/Q239443 | Q239443 ]] ([[ https://goo.gl/31D81L | graph ]]) they use **THINGS**
> * maka / make [[https://www.wikidata.org/wiki/Property:P26 | P26 ]] = Gustav Vasa [[ https://www.wikidata.org/wiki/Q52947 | Q52947 ]] ([[ https://goo.gl/6Y7EST | graph ]])
> * far [[https://www.wikidata.org/wiki/Property:P22 | P22 ]] = Erik Abrahamsson (Leijonhufvud) [[ https://www.wikidata.org/wiki/Q5715509 | Q5715509 ]]
> * mor [[https://www.wikidata.org/wiki/Property:P25 | P25 ]] = Ebba Eriksdotter [[ https://www.wikidata.org/wiki/Q512822 | Q512822 ]]
> * ......
{F28460027,width=1200}
See also
* SKBL is today an external property in Wikidata [[ https://www.wikidata.org/wiki/Property_talk:P4963 | Property P4963 ]]
* see blogpost [[ http://minancestry.blogspot.com/2018/03/svenskt-kvinnobiografiskt-lexikon.html | "Svenskt kvinnobiografiskt lexikon P4963 ]]"
* Kungliga bibliotekets nationella samordningsuppdrag om [[ https://openaccess.blogg.kb.se/samordningsuppdrag/utredningsgrupper/ | Omställningen till ett öppet tillgängligt vetenskapligt publiceringssystem ]] där man pekar på #FAIRDATA
* [[ https://spraakbanken.gu.se/swe/forskning/infrastruktur/karp | KARP ]] Språkbankens lexikala plattform
{F28443420,width=800}