onsdag 19 juli 2017
Norra Krematoriet
Vi har några i svenskaGravar.se med Norra Krematoriet som inte finns med koordinat i HittaGraven
- Norra Krematoriet i Wikidata
- GPS (lat/lon): 59.35828, 18.01997
- example Grave Erik Fornander Memorial #182037900
Upload to Commons - Graves with no pictures on Q252312
App: Upload to commons Android_App/Renewal
User case graves with no pictures see Talk
P1442 picture of grave
Normally a picture is Property:P18 ==> you have a Wikidata object with coordinates P625.
Graves has a less normalized implementation ==> you add the grave picture, plot information, coordinates of grave for every person in the grave.... see below a search for missing picture of Grave of people on a cemetery Q252312
OBS Wikidata query tool has problem visualize 2 dots with the same coordinates (all coordinates are displayed over each other see e.g. wiki-map that has some "explode" support for items with the same coordinates)
Graves with no gravepictures on Q252312 ==> SPARQL minus P1442
Graves that has grave pictures P1442 on cemetery Q252312
A layered approach pictures/no pictures
User case graves with no pictures see Talk
P1442 picture of grave
Normally a picture is Property:P18 ==> you have a Wikidata object with coordinates P625.
Graves has a less normalized implementation ==> you add the grave picture, plot information, coordinates of grave for every person in the grave.... see below a search for missing picture of Grave of people on a cemetery Q252312
OBS Wikidata query tool has problem visualize 2 dots with the same coordinates (all coordinates are displayed over each other see e.g. wiki-map that has some "explode" support for items with the same coordinates)
Graves with no gravepictures on Q252312 ==> SPARQL minus P1442
Graves that has grave pictures P1442 on cemetery Q252312
A layered approach pictures/no pictures
tisdag 18 juli 2017
Change request for Wikipedia for Iphone
Phabricator T171284
User case:
As an user walking around on a cemetery I would like to see if there exists any articles in WIkipedia about people in the graves near me....
Histropedia Timeline of people on the cemetery
Diary
2017-07-20 Phabricator task created T171284 and email sent to mobile-ios-wikipedia@wikimedia.org"
User case:
As an user walking around on a cemetery I would like to see if there exists any articles in WIkipedia about people in the graves near me....
Coordinates in Wikipedia
Coordinates can be primary or secondary see Extension:GeoData#GlossaryCoordinates in Articles
In an article you should have just one coordinate as the primary. For an article about a person its not obvious what coordinate is the primary is it:
- The location of a famous painting
- The location of the house he was born
- The grave (his current location)
Grave Coordinates
A good location to store grave locations are in Wikidata P119 and then use a template to make it visible in the article (or visual hidden ==> just for tools like Wikipedia for Iphone).
As a grave is maybe not the primary coordinate of an article about a person it will be transformed as a secondary coordinate to avoid getting more primary coordinates ==> we get problems with apps just retrieving default the primary coordinate....
As a grave is maybe not the primary coordinate of an article about a person it will be transformed as a secondary coordinate to avoid getting more primary coordinates ==> we get problems with apps just retrieving default the primary coordinate....
Retrieving coordinates primary(default) vs. all
gsprimary=all coordinates 59.356500 18.031694 ==> grave Lena Nyman shown
{ "pageid": 31877, "ns": 0, "title": "Lena Nyman", "lat": 59.3565, "lon": 18.0317, "dist": 0.3 },
default is gsprimary=primary coordinates 59.356500 18.031694 Lena Nyman's grave not shown
Suggested change Wikipedia for Iphone
Retrieve also secondary coordinates
Next step
I guess lesson learned of having +1200 coordinates on a small area is that filtering is interesting....having the possibility to just see grave coordinates and not coordinates for buildings
==> I guess the concept of coordinates in Wikidata needs to be developed and saying that coordinate xxx is of an instance of yyyy
Next step
I guess lesson learned of having +1200 coordinates on a small area is that filtering is interesting....having the possibility to just see grave coordinates and not coordinates for buildings
==> I guess the concept of coordinates in Wikidata needs to be developed and saying that coordinate xxx is of an instance of yyyy
Misc
- Wiki-map now supports gsprimary=all see blog
- With 1200 people with coordinates also a function most famous is of interest see blog
- Filter on graves with people with Spotify Artist ID see blog
- Instead of dots on a map see the people near me on a Timeline e.g. Histropedia (picture below)
Histropedia Timeline of people on the cemetery
Diary
2017-07-20 Phabricator task created T171284 and email sent to mobile-ios-wikipedia@wikimedia.org"
måndag 17 juli 2017
Update Wiki-map graves
Update 2017-jun
I emailed David Taylor and wiki-map has changed and is now fetching all coordinates using gsprimary=all==>the grave of Lena Nymans can be seen although its not a primary coordinate
api caction=query&titles=Lena Nyman.....&coprimary=all
{ "batchcomplete": "", "query": { "pages": { "31877": { "pageid": 31877, "ns": 0, "title": "Lena Nyman", "coordinates": [ { "lat": 59.3565, "lon": 18.0317, "globe": "earth", "name": "grav+f%C3%B6r+Lena+Nyman", "type": "landmark" } ] } } } }
Wiki-map is a javascript implementation.
- The grave of Lena Nyman has coordinates in Wikidata Q255967#P119 and use a Wikipediatemplate Infobox Skådespelare ==> coordinates are not primary coordinates
- Alfred Nobel has coordinates in Wikidata Q23810#P119 and use the Template Faktamall_biografi_WD ==> the coordinates are displayed as primary coordinates
- Graves described in Wikidata with an article in Wikipedia and using template Faktamall_biografi_WD
- Coordinates without an article or don't use template Faktamall_biografi_WD ==> they have a template that dont display primary coordinates...
URL used after change in Wiki-map gsprimary=all ==> fetch all coordinates also the grave for Lena Nymans grav
https://sv.wikipedia.org/w/api.php?action=query&list=geosearch&gsprimary=all&gsradius=3675.732859607522&gscoord=59.356500|18.031694&gslimit=20&callback=?
See below Lena Nyman vs. primary coordinates Gustaf Lagercrantz
"geosearch": [ { "pageid": 31877, "ns": 0, "title": "Lena Nyman", "lat": 59.3565, "lon": 18.0317, "dist": 0.3 }, { "pageid": 672192, "ns": 0, "title": "Gustaf Lagercrantz", "lat": 59.35652, "lon": 18.03183, "dist": 8, "primary": "" },
Today about 1000 graves are seen ==> compared before 776
Still problem with Iphone apps like V for Wiki (see change request) and Wikipedia for Iphone
söndag 16 juli 2017
Wiki-map supports all types of coordinates in Wikipedia
David Taylor has updated wiki-map and he is now fetching all coordinates (gsprimary=all) from Wikipedia
Today about +1068 graves are visible on Norra Begravningsplatsen with coordinates (Petscan query)
Today about +1068 graves are visible on Norra Begravningsplatsen with coordinates (Petscan query)
- Next step is to add support for some Templates used for profiles on Wikipedia that are not supporting coordinates for Graves about 372 profiles
onsdag 12 juli 2017
Suggested change V for Wiki
User case:
As an user walking around on a cemetery I would like to see if there exists any articles in WIkipedia about people in the graves near me....
V for Wiki works in Apple watch
V for Wiki using Swedish wikipedia at Norra Begravningsplatsen displaying distance to a grave but looks like we also need to retrieve all coordinates....
As an user walking around on a cemetery I would like to see if there exists any articles in WIkipedia about people in the graves near me....
Coordinates in Wikipedia
Coordinates can be primary or secondary see Extension:GeoData#GlossaryCoordinates in Articles
In an article you should have just one coordinate as the primary. For an article about a person its not obvious what coordinate is the primary is it:
- The location of a famous painting
- The location of the house he was born
- The grave (his current location)
Grave Coordinates
A good location to store grave locations are in Wikidata P119 and then use a template to make it visible in the article (or visual hidden ==> just for tools like V for Wiki).
As a grave is maybe not the primary coordinate of an article about a person it will be transformed as a secondary coordinate to avoid getting more primary coordinates ==> we get problems with apps just retrieving default the primary coordinate....
As a grave is maybe not the primary coordinate of an article about a person it will be transformed as a secondary coordinate to avoid getting more primary coordinates ==> we get problems with apps just retrieving default the primary coordinate....
Retrieving coordinates primary vs. all
gsprimary=all coordinates 59.356500 18.031694 ==> grave Lena Nyman shown
{ "pageid": 31877, "ns": 0, "title": "Lena Nyman", "lat": 59.3565, "lon": 18.0317, "dist": 0.3 },
default is gsprimary=primary coordinates 59.356500 18.031694 Lena Nyman's grave not shown
Suggested change V for Wiki
Retrieve also secondary coordinates
Next step
I guess lesson learned of having +1200 coordinates on a small area is that filtering is interesting....having the possibility to just see grave coordinates and not coordinates for buildings
==> I guess the concept of coordinates in Wikidata needs to be developed and saying that coordinate xxx is of an instance of yyyy
Next step
I guess lesson learned of having +1200 coordinates on a small area is that filtering is interesting....having the possibility to just see grave coordinates and not coordinates for buildings
==> I guess the concept of coordinates in Wikidata needs to be developed and saying that coordinate xxx is of an instance of yyyy
V for Wiki works in Apple watch
V for Wiki using Swedish wikipedia at Norra Begravningsplatsen displaying distance to a grave but looks like we also need to retrieve all coordinates....
Misc
- Wiki-map now supports gsprimary=all see blog
- With 1200 people with coordinates also a function most famous is of interest see blog
- Filter on graves with people with Spotify Artist ID see blog
- Instead of dots on a map see the people near me on a Timeline e.g. Histropedia (picture below)
tisdag 11 juli 2017
Test wiki-map
Uppdatering
Jag emailed David Taylor och wiki-map hämtar nu alla koordinater gsprimary=all
==> Lena Nymans grav syns
Test wiki-map som jag fick tips om i Bybrunnen
Wiki-map är en javascript implementation. Nedan den URL som används ==> att vi ser samma problem som beskrivs i blog Lena Nymans grav där
===>
==>
......
Lägger på gsprimary=all ==> hämtar alla koordinater dvs. också Lena Nymans grav
https://sv.wikipedia.org/w/api.php?action=query&list=geosearch&gsprimary=all&gsradius=3675.732859607522&gscoord=59.356500|18.031694&gslimit=20&callback=?
See below Lena Nyman vs. primary coordinates Gustaf Lagercrantz
Today 776 graves are seen ==> just graves with primary are shown
Jag emailed David Taylor och wiki-map hämtar nu alla koordinater gsprimary=all
==> Lena Nymans grav syns
Test wiki-map som jag fick tips om i Bybrunnen
Wiki-map är en javascript implementation. Nedan den URL som används ==> att vi ser samma problem som beskrivs i blog Lena Nymans grav där
- Lena Nyman har koordinater till graven i Wikidata Q255967#P119 och använder en Wikipedia mall Infobox Skådespelare ==> att den koordinat som skapas inte syns
- Alfred Nobel har koordinater till graven i Wikidata Q23810#P119 och använder en Wikipedia mall Faktamall_biografi_WD ==> att den koordinat som skapas syns
- Koordinatsatta gravar i Wikidata med artikel i Wikipedia och mall Faktamall_biografi_WD
- Koordinatsatta gravar i Wikidata men utan artikel eller utan en artikel med mall Faktamall_biografi_WD dvs. har en mall som inte fungerar att hämta gravkoordinaterna från Wikidata...
URL som används i Wiki-map
requestURL = 'https://sv.wikipedia.org/w/api.php?format=json&action=query&list=geosearch&gsradius='+diagonal+'&gscoord='+center.lat()+'|'+center.lng()+'&gslimit=500&callback=?&continue=';===>
- koordinat nära Alfred Nobel 59.356340, 18.032215 - Google map
- hämta 20 poster
==>
......
{"pageid":10077,"ns":0,"title":"Alfred Nobel","lat":59.3562,"lon":18.0322,"dist":15.6,"primary":""},{"pageid":474096,"ns":0,"title":"Carl Fredrik Liljevalch den \u00e4ldre","lat":59.3562,"lon":18.0324,"dist":18.8,"primary":""}.......
- koordinat nära Lena Nyman 59.356500, 18.031694 - Google map
- hämta 20 poster
https://sv.wikipedia.org/w/api.php?action=query&list=geosearch&gsprimary=all&gsradius=3675.732859607522&gscoord=59.356500|18.031694&gslimit=20&callback=?
See below Lena Nyman vs. primary coordinates Gustaf Lagercrantz
"geosearch": [ { "pageid": 31877, "ns": 0, "title": "Lena Nyman", "lat": 59.3565, "lon": 18.0317, "dist": 0.3 }, { "pageid": 672192, "ns": 0, "title": "Gustaf Lagercrantz", "lat": 59.35652, "lon": 18.03183, "dist": 8, "primary": "" },
Today 776 graves are seen ==> just graves with primary are shown
Map
måndag 10 juli 2017
Wikipedia geo search
- Extension: GeoData om Primary Secondary
- Artikel med fler GPS punkter en:Netherton_Tunnel_Branch_Canal
lördag 8 juli 2017
Lena Nymans grav
Test att se hur koordinater kan hämtas upp från Wikidata och till olika appar - se diskussion ByBrunnen
OBS Hjalmar Sandberg fungerar med mall InfoBox Konstnär i Wikipedia Iphone App men inte i V for Wiki....
- Lena Nyman
- Wikidata Q255967
- har P119 gravort Norra Begravningsplatsen
- geografiska koordinater 59°21'23.4"N, 18°1'54.1"E = 59.356500, 18.031694
- Wikipedia
- Mallar
- Infobox Skådespelare ==> har ändrats så att koordinater syns se rev 40452029
- Test API för att hitta koordinater i Lena Nyman
- action=query&prop=coordinates
- Lena Nyman API 59.3565 18.0317 ==> negativt
- Alfred Nobel API 59.3562 18.0322 ==> positivt
- action=query&list=geosearch
- 59.3556 18.0317 ==> negativt Lena Nyman
- gsprimary=all ==> positivt Lena Nyman
- 59.3562 18.032 ==> positivt Alfred Nobel
- Fråga artikel
- Lena Nyman har Infobox Skådespelare
<pages><page _idx="31877" pageid="31877" ns="0" title="Lena Nyman"><coordinates><co lat="59.3565" lon="18.0317" globe="earth" name="grav+f%C3%B6r+Lena+Nyman" type="landmark"/></coordinates></page></pages> - Alfred Nobel har Faktamall Biografi WD
<page _idx="10077" pageid="10077" ns="0" title="Alfred Nobel"><coordinates><co lat="59.3562" lon="18.0322" primary="" globe="earth" type="landmark"/></coordinates></page> - Test WEB appar
- V for Wiki - based on wikipediakit
- Lena Nyman Negativt
- Alfred Nobel - Postivt
- Wikipedia app - source code GitHub -
- Lena Nyman
- Funktion Visa på kartan negativt
- Funktion Platser negativt
- Alfred Nobel
- Funktion Visa på Kartan positivt
- Funktion Platser positivt
OBS Hjalmar Sandberg fungerar med mall InfoBox Konstnär i Wikipedia Iphone App men inte i V for Wiki....
- Mall Infobox Konstnär
- Wikidata Q16650273#P119
- API anrop action=query&prop=coordinates&titles=Hjalmar_Sandberg&coprop=globe%7Cname%7Ctype&coprimary=alll ===> Grav Primary ==> fungerar
- Profiler med Infobox Konstnärer Petscan 1158414 begravda på Norra Begravningsplatsen ==>
Infobox konstnärKarl Nordström [Q1380734]NJAPI
Mall | Namn | V for Wiki | Wikipedia Iphone App | API query coordinates |
Infobox konstnär | Johan Gustaf Sandberg [Q3301801] | N | J | API |
Infobox konstnär | J.A.G. Acke [Q5541979] | N | J | |
Infobox konstnär | Eugène Jansson [Q647473] | N | J | |
Infobox konstnär | Egron Lundgren [Q426033] | N | J | |
Infobox konstnär | Mårten Eskil Winge [Q983492] | N | J | |
Infobox konstnär | August Hagborg [Q2870939] | N | J | |
Infobox konstnär | Per Hasselberg [Q3067154] | N | J | |
Infobox konstnär | Carl Skånberg [Q6180578] | N | J | |
Infobox konstnär | Olof Arborelius [Q5558580] | N | J | |
Infobox konstnär | Bianca Wallin [Q4902519] | N | J | |
Infobox konstnär | David Wallin [Q5240800] | N | J | |
Infobox konstnär | Jenny Nyström [Q3100592] | N | J | |
Infobox konstnär | Otto Gustaf Carlsund [Q2610660] | N | J | |
Infobox konstnär | Hjalmar Sandberg [Q16650273] | N | J | |
Infobox konstnär | Einar Forseth [Q1305835] | N | J | |
Infobox konstnär | Johan Åkerlund [Q16650654] | N | J | |
Faktamall Biografi WD | Alfred Nobel [Q23810] | J | J | API |
Infobox Skådespelare | Lena Nyman [Q255967] | N | N | API |
Diary
- asked on twitter if V for Wikipedia needs to have primary coordinates in an article do display it on the map
- see twitter
- SVAR Se tweet
verkar som dom använder - IRC fråga https://webchat.freenode.net/?channels=wikimedia-mobile[03:11] <Magnus> Hi we are geocoding graves and would like to make them visible in the WIkipedia App for Iphone. Question do we need to set primary coordinates in a article for the app to see them?!?!?[03:15] <Magnus> A grave geocodet with primary set like for sv:Alfred Nobel works https://sv.wikipedia.org/w/api.php?action=query&prop=coordinates&titles=Alfred%20Nobel&coprop=globe%7Cname%7Ctype&coprimary=all[03:16] <Magnus> A grave without primary doesnt appear in the app e.g. sv:Lena Nyman https://sv.wikipedia.org/w/api.php?action=query&prop=coordinates&titles=Lena%20Nyman&coprop=globe%7Cname%7Ctype&coprimary=all
@raureif V for Wiki we are trying to get graves appear. When you query do you return all coordinates or just primary?!?!— Magnus Sälgö (@salgo60) July 9, 2017
söndag 2 juli 2017
SBL jmf. Nationalencyklopedin - Norra Begravningsplatsen
Nedan sökning att hitta alla som ligger begravda på Norra Begravningsplatsen och som är kopplade till en artikel i Nationalencyklopedin P3222
Om Wikipedia och /eller SBL artikel finns visas länk exempel Isak Collijn
Nedan sökning Wikidata på alla personer begravda på Norra Begravningsplatsen med artikel kopplad till Nationalencyklopedin = 576 personer
Om Wikipedia och /eller SBL artikel finns visas länk exempel Isak Collijn
- Wikipedia Isak_Collijn
- Wikidata Q535764
- Nationalencyklopedin Isak Collijn
- Svenskt biografiskt lexikon artikel 14922
Nedan sökning Wikidata på alla personer begravda på Norra Begravningsplatsen med artikel kopplad till Nationalencyklopedin = 576 personer
lördag 1 juli 2017
Grabben i graven bredvid
Apple watch möter Wikidata P625
Geografiska koordinater
Ovan Apple watch på Norra Begravningsplatsen
83 meter från Lars Schönanders grav
och
92 meter från Arvid Bergman
Vad som gjorts
V for Wiki på Iphone som visar närliggande gravar |
- Wikidata
- Q16650316#P119 har satts till Norra Begravningsplatsen
- P625 är koordinater för graven
- Svenska Wikipedia sidan Lars_Schönander
- Har Mall:Faktamall_biografi_WD
==> att gravkoordinaterna finns i Wikipedia artikeln
- Iphone appen V for Wiki som även fungerar på Apple Watch hämtar koordinaterna från artikeln och visar upp det på klockan
Exempel nedan med en annan Iphone App från Wikipedia
Status Wikipedia - Wikidata - SBL - Norra Begravningsplatsen
- Wikipedia
- 1388 artiklar har Kategori:Gravsatta_på_Norra_begravningsplatsen_i_Stockholm
- 613 artiklar har Mall Faktamall_biografi_WD
- 370 artiklar har en mall som inte stödjer Wikidata koppling
- Adlig
- Biskop
- Författare
- Hertig
- Infobox politiker
- Infobox arkitekt
- Infobox forskare
- Infobox konstnär
- Infobox musiker
- Infobox Skådespelare
- Infobox tonsättare
- Infobox regissör
- Infobox Militär Person
- MedaljStart
- Wikidata
- 1380 poster gravort Norra Begravningsplatsen
- 1452 poster kopplade tillhörande begravningsplatser
- 17 Romersk-katolska församlingens begravningsplats
- 26 Minneslunden Norra begravningsplatsen
- 36 Mosaiska kyrkogården Norra begravningsplatsen
- Wikipedia profiler på Norra Begravningsplatsen med Faktamallen WD
- SBL - Svenskt biografiskt lexikon
- 460 poster i SBL är kopplade till en motsvarande person i Wikidata som är begravd på Norra Begravningsplatsen se karta nedan
Begravda på Norra Begravningsplatsen med artikel i SBL Svenskt biografiskt lexikon
Prenumerera på:
Inlägg (Atom)