Main Page: Difference between revisions

From OpenDataSweden
Jump to navigation Jump to search
No edit summary
No edit summary
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Vad behövs för att starta med Länkade data och Kunskapsgrafer se [https://github.com/salgo60/DiggUptime/issues/70#issuecomment-1438535775 svar chatGPT]
* mer exempel med ChatGPT
** design [https://gitlab.com/sarskilt-viktiga-datamangder/evenemang/-/issues/2#note_1289026585 event spec]
** design [https://gitlab.com/sarskilt-viktiga-datamangder/diariefoerda-handlingar/-/issues/2 kommun diarie] / [https://gist.github.com/salgo60/8105808191095303aff3e3e8b6d8b445 GIST]
== Denna POC ==
* [https://youtu.be/7tSrbDgDD_4 Video] Schema and Wikidata -  and this POC
* [https://youtu.be/7tSrbDgDD_4 Video] Schema and Wikidata -  and this POC
A Wikibase used for defining datasets we would like to see in Open data portals
A Wikibase used for defining datasets we would like to see in Open data portals
* Telegram group [https://t.me/SwedenOpenData Öppna Data - Sverige]
* Telegram group [https://t.me/SwedenOpenData Öppna Data - Sverige]
* sv:Wikipedia [https://sv.wikipedia.org/wiki/Wikipedia:Wikidatafr%C3%A5gor#Wikidata_%C3%96ppen_data_hur_f%C3%B6rb%C3%A4ttrar_vi_verkningsgraden? "Wikidata Öppen data hur förbättrar vi verkningsgraden?"]
* sv:Wikipedia [https://sv.wikipedia.org/wiki/Wikipedia:Wikidatafr%C3%A5gor#Wikidata_%C3%96ppen_data_hur_f%C3%B6rb%C3%A4ttrar_vi_verkningsgraden? "Wikidata Öppen data hur förbättrar vi verkningsgraden?"]
* The status of Wikibase "[https://www.youtube.com/watch?v=K2J4oSE7krgWhat's new in the world of Wikibase and where is it going]"
** The status of Wikibase "[https://www.youtube.com/watch?v=K2J4oSE7krgWhat's new in the world of Wikibase and where is it going]"
* [https://www.wikidata.org/wiki/Wikidata:WikiProject_Schemas#:~:text=Wikidata%20Schemas%20are%20formally%20described,ShEx)%2C%20using%20ShExC%20syntax. Wikidata:WikiProject Schemas]
* [https://www.wikidata.org/wiki/Wikidata:WikiProject_Schemas#:~:text=Wikidata%20Schemas%20are%20formally%20described,ShEx)%2C%20using%20ShExC%20syntax. Wikidata:WikiProject Schemas]
 
* Example
=== Example datasets we would like to see ===
** '''Open data for Public Art''' / '''Offentlig konst''' {{Q|1}}
 
*** Suggested Schema [https://www.wikidata.org/wiki/EntitySchema:E271 EntitySchema:E271]
* '''Open data for Public Art''' / '''Offentlig konst''' {{Q|1}}
*** Example dataset  
** Suggested Schema [https://www.wikidata.org/wiki/EntitySchema:E271 EntitySchema:E271]
**** [https://opendata.umea.se/explore/dataset/konsten-umea-kommun/information/?disjunctive.konstnar  Art in Umeå] in Ümeå kommun data portal [https://www.wikidata.org/wiki/Q96992832 Q96992832]   
** Example dataset  
**** [https://www.uppsala.se/contentassets/897dbf0d0ec3411b839f3d5bb560237b/information-offentlig-konst.pdf Uppsala kommun]
*** [https://opendata.umea.se/explore/dataset/konsten-umea-kommun/information/?disjunctive.konstnar  Art in Umeå] in Ümeå kommun data portal [https://www.wikidata.org/wiki/Q96992832 Q96992832]   
*** Target all Swedish Municipalities [https://www.wikidata.org/wiki/Q127448 Q127448]
*** [https://www.uppsala.se/contentassets/897dbf0d0ec3411b839f3d5bb560237b/information-offentlig-konst.pdf Uppsala kommun]
**** Swedish [https://w.wiki/qzp Municiples with Open data portal] / on a [https://w.wiki/qzs map]
** Target all Swedish Municipalities [https://www.wikidata.org/wiki/Q127448 Q127448]
**** Swedish Municipalities with Open data portal implementing the Public Art dataset
*** Swedish [https://w.wiki/qzp Municiples with Open data portal] / on a [https://w.wiki/qzs map]
** '''Bicycle pumps''' / '''Cykelpumpar''' {{Q|4}}
*** Swedish Municipalities with Open data portal implementing the Public Art dataset
*** Suggested Schema [https://sweopendata.wiki.opencura.com/wiki/EntitySchema:E1 sweopendata EntitySchema:E1]
 
*** Example dataset  
* '''Bicycle pumps''' / '''Cykelpumpar''' {{Q|4}}
**** Malmö kommun [https://malmo.dataplatform.se/#/data/c6051c71-4d12-4c93-9966-1ad599430d03 "Datamängd/ Cykelpumpar"]
** Suggested Schema [https://sweopendata.wiki.opencura.com/wiki/EntitySchema:E1 sweopendata EntitySchema:E1]
**** [https://dataportalen.stockholm.se/dataportalen/GetMetaDataById?id=LvFeature12436332&showmetadataview Stockholms kommun]
** Example dataset  
**** [https://www.dataportal.se/sv/datasets/574_1670/ Gävle kommun]
*** Malmö kommun [https://malmo.dataplatform.se/#/data/c6051c71-4d12-4c93-9966-1ad599430d03 "Datamängd/ Cykelpumpar"]
**** [https://catalog.sodertalje.se/catalog/1/datasets/536/ Södertälje kommun]
*** [https://dataportalen.stockholm.se/dataportalen/GetMetaDataById?id=LvFeature12436332&showmetadataview Stockholms kommun]
**** [https://geodata-karlskrona.opendata.arcgis.com/datasets/cykelpumpar Karlskrona]
*** [https://www.dataportal.se/sv/datasets/574_1670/ Gävle kommun]
*** Target all Swedish Municipalities [https://www.wikidata.org/wiki/Q127448 Q127448]
*** [https://catalog.sodertalje.se/catalog/1/datasets/536/ Södertälje kommun]
**** Swedish [https://w.wiki/qzp Municiples with Open data portal] / on a [https://w.wiki/qzs map]
*** [https://geodata-karlskrona.opendata.arcgis.com/datasets/cykelpumpar Karlskrona]
** '''Open data outdoor gym''' / '''Utegym''' {{Q|5}}
** Target all Swedish Municipalities [https://www.wikidata.org/wiki/Q127448 Q127448]
*** Suggested Schema [https://www.wikidata.org/wiki/EntitySchema:E280 EntitySchema:E280]
*** Swedish [https://w.wiki/qzp Municiples with Open data portal] / on a [https://w.wiki/qzs map]
*** Example dataset  
 
**** [https://storsthlm.dataplatform.se/#/data/cf2effb7-8e1e-41ab-90b4-d09fd383f0fd Utegym i Stockholms stad] / [https://github.com/salgo60/open-data-examples/blob/master/Utegym%20Stockholm%20.ipynb Jupyter Notebook]
* '''Open data outdoor gym''' / '''Utegym''' {{Q|5}}
**** [https://data-jonkoping.opendata.arcgis.com/datasets/utegym-1 Jönköpings kommun utegym]
** Suggested Schema [https://www.wikidata.org/wiki/EntitySchema:E280 EntitySchema:E280]
**** [https://opendata.uppsala.se/datasets/e1e907d3f9c1430e8c7c23d5a94680a9_16 Uppsala kommun utegym]
** Example dataset  
** '''Biographies''' / '''Biografier''' {{Q|7}}
*** [https://storsthlm.dataplatform.se/#/data/cf2effb7-8e1e-41ab-90b4-d09fd383f0fd Utegym i Stockholms stad] / [https://github.com/salgo60/open-data-examples/blob/master/Utegym%20Stockholm%20.ipynb Jupyter Notebook]
*** Suggested schema [https://www.wikidata.org/wiki/EntitySchema:E281 simple EntitySchema:E281] /  advanced
*** [https://data-jonkoping.opendata.arcgis.com/datasets/utegym-1 Jönköpings kommun utegym]
*** [https://opendata.uppsala.se/datasets/e1e907d3f9c1430e8c7c23d5a94680a9_16 Uppsala kommun utegym]
 
* '''Biographies''' / '''Biografier''' {{Q|7}}
** Suggested schema [https://www.wikidata.org/wiki/EntitySchema:E281 simple EntitySchema:E281] /  advanced
** Svenskt kvinnobiografiskt lexikon -  Wikidata [https://www.wikidata.org/wiki/Property:P4963 prop P4963]
*** Notebook [https://github.com/salgo60/open-data-examples/blob/master/Svenskt%20Kvinnobiografiskt%20lexikon%20part%203.ipynb "Svenskt kvinnobiografiskt lexikon"]
*** Notebook [https://github.com/salgo60/open-data-examples/blob/master/Svenskt%20Kvinnobiografiskt%20lexikon%20part%203.ipynb "Svenskt kvinnobiografiskt lexikon"]
** '''Wind Shelter''' / '''Vindskydd''' {{Q|8}}
*** Project Wikidata [https://www.wikidata.org/wiki/Wikidata:WikiProject_Sweden/Svenskt_kvinnobiografiskt_lexikon Svenskt kvinnobiografiskt lexikon]
*** Suggested schema [https://sweopendata.wiki.opencura.com/wiki/EntitySchema:E2  EntitySchema:E2]
** Swedish National Archives SBL -  Wikidata [https://www.wikidata.org/wiki/Property:P3217 prop P3217]
*** Example data ???
*** Notebook were we lack Structured data from the [https://github.com/salgo60/open-data-examples/blob/master/SBL.ipynb Swedish National Archives must to webscraping]
*** [http://minancestry.blogspot.com/2020/06/vindskydd-i-sverige.html Vision statement]
** Nobelprize winners  -  Wikidata [https://www.wikidata.org/wiki/Property:P8024 prop P8024]
** '''Historical signs/POI''' / '''Historiska skyltar/POI''' {{Q|9}}
*** Notebook [https://github.com/salgo60/open-data-examples/blob/master/Nobel%20API.ipynb Nobel API]
*** Suggested Schema [https://www.wikidata.org/wiki/EntitySchema:E282 EntitySchema:E282]
*** Phabricator Tasks [https://phabricator.wikimedia.org/maniphest/graph/200668/ maniphest/graph/200668]
*** Example data  
** Litteraturbanken
**** Gävle kommun  [https://www.gavle.se/kommunens-service/kommun-och-politik/statistik-fakta-och-oppna-data/oppna-data/datakatalog/data/#esc_entry=366&esc_context=1 Historiska skyltar] / [https://www.gavle.se/kommunens-service/kultur-och-fritid/kultur/kultur-som-du-kan-uppleva-i-gavle/historiska-platser-att-besoka-i-gavle/ blog]
*** Notebook [https://github.com/salgo60/open-data-examples/blob/master/Litteraturbanken%20Author.ipynb Litteraturbanken Author]
**** [https://data.cityofnewyork.us/Recreation/Directory-Historical-Signs/xdkk-pvdv Directory Historical Signs] NYC Open data
*** Project Wikidata [https://www.wikidata.org/wiki/Wikidata:WikiProject_Sweden/The_Swedish_Literature_bank The Swedish Literature bank]
***** NYC Open Data has a simple Data Dictionary see [https://www.nycgovparks.org/bigapps/desc/DPR_HistoricalSigns_001.txt Historical Signs]
** Target all [https://salgo60.github.io/wikidata-arbetsliv/index_digisam.html museums] ...
**** Literature signs [https://sv.wikipedia.org/wiki/Anv%C3%A4ndare:Salgo60/Listeria/Det_litter%C3%A4ra_Stockholm signs Stockholm]
 
**** District of Columbia[https://maps.princeton.edu/catalog/39f725b9b7074bdab81a1200197ae097_7 Heritage Trail Signs and Plaques]
* '''Campsites''' / '''Naturcampingplatser'''
**** [https://opendatakingston.cityofkingston.ca/explore/dataset/point-of-interest/table/?disjunctive.description&disjunctive.name City of Kingston] POI
** Suggested schema:
**** [https://data.cityofnewyork.us/City-Government/Points-Of-Interest/rxuy-2muj NYC Open data] POI
** Example data ???
** Target all Swedish Municipalities [https://www.wikidata.org/wiki/Q127448 Q127448]
 
* '''Wind Shelter''' / '''Vindskydd''' {{Q|8}}
** Suggested schema [https://sweopendata.wiki.opencura.com/wiki/EntitySchema:E2  EntitySchema:E2]
** Example data ???
** [http://minancestry.blogspot.com/2020/06/vindskydd-i-sverige.html Vision statement]
** Target all Swedish Municipalities [https://www.wikidata.org/wiki/Q127448 Q127448]
 
* '''Historical signs/POI''' / '''Historiska skyltar/POI''' {{Q|9}}
** Suggested Schema [https://www.wikidata.org/wiki/EntitySchema:E282 EntitySchema:E282]
** Example data  
*** Gävle kommun  [https://www.gavle.se/kommunens-service/kommun-och-politik/statistik-fakta-och-oppna-data/oppna-data/datakatalog/data/#esc_entry=366&esc_context=1 Historiska skyltar] / [https://www.gavle.se/kommunens-service/kultur-och-fritid/kultur/kultur-som-du-kan-uppleva-i-gavle/historiska-platser-att-besoka-i-gavle/ blog]
*** [https://data.cityofnewyork.us/Recreation/Directory-Historical-Signs/xdkk-pvdv Directory Historical Signs] NYC Open data
**** NYC Open Data has a simple Data Dictionary see [https://www.nycgovparks.org/bigapps/desc/DPR_HistoricalSigns_001.txt Historical Signs]
*** Literature signs [https://sv.wikipedia.org/wiki/Anv%C3%A4ndare:Salgo60/Listeria/Det_litter%C3%A4ra_Stockholm signs Stockholm]
*** District of Columbia[https://maps.princeton.edu/catalog/39f725b9b7074bdab81a1200197ae097_7 Heritage Trail Signs and Plaques]
*** [https://opendatakingston.cityofkingston.ca/explore/dataset/point-of-interest/table/?disjunctive.description&disjunctive.name City of Kingston] POI
*** [https://data.cityofnewyork.us/City-Government/Points-Of-Interest/rxuy-2muj NYC Open data] POI
** Target all Swedish Municipalities/ cities /countries [https://www.wikidata.org/wiki/Q127448 Q127448]
 
* '''Runestones inscriptions''' / '''Runestones inskriptioner''' {{Q|10}}
** Suggested Schema [https://www.wikidata.org/wiki/EntitySchema:E276 EntitySchema:E276]
** Example data
*** [https://www.raa.se/kulturarv/runor-och-runstenar/projektet-evighetsrunor/ Evighetsrunor] (no API)
**** see Task [https://phabricator.wikimedia.org/T268381 T268381] and [https://github.com/salgo60/open-data-examples/blob/master/Riksantikvarie%C3%A4mbetet%20RA%C3%84%20Evighetsrunor.ipynb Jupyter Notebook]
* '''Television show''' / '''TV program''' {{Q|11}}
** Suggested Schema for Swedish television [https://www.wikidata.org/wiki/EntitySchema:E279 EntitySchema:E279]
** user case see [https://phabricator.wikimedia.org/T225394 T225394] SVT in Sweden is closing down SVT Öppet Archive and maybe we should have programinfo in Wikidata
* '''Iceobservations''' / '''Isobservationer''' {{Q|12}}
** Draft Schema for iceobservations [https://sweopendata.wiki.opencura.com/wiki/EntitySchema:E4  EntitySchema:E4]
** User case is that people measure water quality would like to know if there was ice on the water or not for historical observations. Good source for ice conditions are people doing iceskating like [https://www.sssk.se/ www.sssk.se] see also discussion [https://www.facebook.com/groups/173326429359934/permalink/5414601271899064/?comment_id=5416336825058842 FB]
* '''Swedish Church Parish''' / '''Svensk församling''' {{Q|13}}
** Suggested Schema for Swedish Church Parish [https://www.wikidata.org/wiki/EntitySchema:E283 EntitySchema:E283]
** Project on sv:Wikipedia [https://sv.wikipedia.org/wiki/Wikipedia:Projekt_svenska_församlingar Wikipedia:Projekt svenska församlingar]
** [https://salgo60.github.io/Svenskaforsamlingar/ GITHUB]
* '''Seat of the Swedish Academy''' / '''Stol i den svenska akademin''' {{Q|14}}
** Suggested Schema [https://www.wikidata.org/wiki/EntitySchema:E284 EntitySchema:E284]
** Project on Wikidata [https://www.wikidata.org/wiki/Wikidata:WikiProject_Sweden/Swedish_Academy Wikidata:WikiProject_Sweden/Swedish_Academy]
** Notebook [https://github.com/salgo60/open-data-examples/blob/master/Svenska%20Akademien.ipynb Svenska Akademien]
 
* '''Swedish public beaches''' / '''Svenska badplatser''' {{Q|15}}
** Suggested Schema [https://www.wikidata.org/wiki/EntitySchema:E305 EntitySchema:E305]
** Example dataset
*** [https://badplatsen.havochvatten.se/badplatsen/api/detail  Havs- och vattenmyndighetens]
** Target all Swedish public beaches [https://www.wikidata.org/wiki/Q567998 Q567998]
** GITHUB [https://github.com/salgo60/Svenskabadplatser Svenskabadplatser]
 
== Misc ==
* [https://github.com/OAI/OpenAPI-Specification OpenAPI-Specification]
* [https://graphql.org graphql.org]
== Kommun TV / Anslagstavla ==
se [[Kommuner]]
 
* [https://sweopendata.wikibase.cloud/query/embed.html#%23title%3A%20Kommuner%20med%20Kommun%20TV%20fr%C3%A5n%20fullm%C3%A4ktige%20-%20test%20Wikibase%0A%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fcoord%22%5D%7D%0A%0APREFIX%20wb%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3FrLabel%20%3Fvideo%20%3Fcoord%20%3Fimg%20WHERE%20%7B%0A%20%20VALUES%20%20%3FkommunTV%20%7Bwb%3AQ36%7D%0A%20%20%20%3Fr%20wbt%3AP2%20%3FkommunTV%20.%0A%20%20%20%3Fr%20wbt%3AP11%20%3Fvideo.%0A%20%20%3Fr%20wbt%3AP1%20%3FwdQ%0A%20%20BIND%28URI%28concat%28%22http%3A%2F%2Fwww.wikidata.org%2Fentity%2F%22%2C%3FwdQ%29%29%20AS%20%3Fwikidata_iri%29%0A%20%20%0A%20SERVICE%20%3Chttps%3A%2F%2Fquery.wikidata.org%2Fsparql%3E%20%7B%0A%20%20%20%20%3Fwikidata_iri%20wdt%3AP625%20%3Fcoord.%0A%20%20%20%20%3Fwikidata_iri%20wdt%3AP18%20%3Fimg.%0A%20%20%20%20%7D%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22sv%2Cen%22.%20%7D%0A%7D Kommun TV]
** [https://sweopendata.wikibase.cloud/query/embed.html#%23title%3A%20Kommuner%20som%20saknar%20Kommun%20TV%20fr%C3%A5n%20fullm%C3%A4ktige%20-%20test%20Wikibase%0A%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fcoord%22%5D%7D%0A%0APREFIX%20wb%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3FrLabel%20%3Fvideo%20%3Fcoord%20%3Fimg%20%3Fwikidatakom%20%3FWBdb%20%3Fwww%20WHERE%20%7B%0A%20%20VALUES%20%20%3FkommunTV%20%7Bwb%3AQ36%7D%20%20%0A%20%20%7BSERVICE%20%3Chttps%3A%2F%2Fquery.wikidata.org%2Fsparql%3E%20%7B%0A%20%20%20%20%3Fwikidatakom%20wdt%3AP31%20wd%3AQ127448%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP17%20wd%3AQ34.%0A%20%20%20%20%3Fwikidatakom%20wdt%3AP625%20%3Fcoord.%0A%20%20%20%20%3Fwikidatakom%20wdt%3AP856%20%3Fwww.%20%20%20%20%0A%20%20%20%20%3Fwikidatakom%20wdt%3AP18%20%3Fimg.%0A%20%20%20%20MINUS%20%7B%20%3Fwikidatakom%20wd%3AP576%20%3Fend.%20%7D%7D%0A%20%20%20%20BIND(replace(str(%3Fwikidatakom)%2C%22http%3A%2F%2Fwww.wikidata.org%2Fentity%2F%22%2C%22%22)%20AS%20%3FwdQ)%7D%0A%20%20%20%20%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22sv%2Cen%22.%20%7D%0A%20%20minus%20%20%7B%20%3Fr%20wbt%3AP2%20%3FkommunTV.%0A%20%20%3Fr%20wbt%3AP1%20%3FwdQ.%7D%0A%0A%0A%7D Saknas kommun TV enligt WIkibase]
* Anslagstavlan [https://sweopendata.wikibase.cloud/query/embed.html#%23title%3A%20Kommuners%20anslagstavla%20-%20test%20Wikibase%0A%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fcoord%22%5D%7D%0A%0APREFIX%20wb%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3FrLabel%20%3Fvideo%20%3Fcoord%20%3Fimg%20WHERE%20%7B%0A%20%20VALUES%20%20%3FAnslagsTavla%20%7Bwb%3AQ240%7D%0A%20%20%20%3Fr%20wbt%3AP2%20%3FAnslagsTavla%20.%0A%20%20%20%3Fr%20wbt%3AP11%20%3Fvideo.%0A%20%20%3Fr%20wbt%3AP1%20%3FwdQ%0A%20%20BIND%28URI%28concat%28%22http%3A%2F%2Fwww.wikidata.org%2Fentity%2F%22%2C%3FwdQ%29%29%20AS%20%3Fwikidata_iri%29%0A%20%20%0A%20SERVICE%20%3Chttps%3A%2F%2Fquery.wikidata.org%2Fsparql%3E%20%7B%0A%20%20%20%20%3Fwikidata_iri%20wdt%3AP625%20%3Fcoord.%0A%20%20%20%20%3Fwikidata_iri%20wdt%3AP18%20%3Fimg.%0A%20%20%20%20%7D%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22sv%2Cen%22.%20%7D%0A%7D Karta] / [https://sweopendata.wikibase.cloud/query/embed.html#%23title%3A%20Kommuners%20anslagstavla%20-%20test%20Wikibase%0A%0APREFIX%20wb%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%20%3FrLabel%20%20%3FKommunsida%20%3Fwikidata_iri%20WHERE%20%7B%0A%20%20VALUES%20%20%3FAnslagsTavla%20%7Bwb%3AQ240%7D%0A%20%20%20%3Fr%20wbt%3AP2%20%3FAnslagsTavla%20.%0A%20%20%20%3Fr%20wbt%3AP11%20%3FKommunsida.%0A%20%20%3Fr%20wbt%3AP1%20%3FwdQ%0A%20%20BIND%28URI%28concat%28%22http%3A%2F%2Fwww.wikidata.org%2Fentity%2F%22%2C%3FwdQ%29%29%20AS%20%3Fwikidata_iri%29%0A%20%20%0A%20SERVICE%20%3Chttps%3A%2F%2Fquery.wikidata.org%2Fsparql%3E%20%7B%0A%20%20%20%20%3Fwikidata_iri%20wdt%3AP625%20%3Fcoord.%0A%20%20%20%20%3Fwikidata_iri%20wdt%3AP18%20%3Fimg.%0A%20%20%20%20%7D%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22sv%2Cen%22.%20%7D%0A%7Dorder%20by%20%3FrLabel Lista] / [https://sweopendata.wikibase.cloud/query/embed.html#%23%23title%3A%20Kommuners%20Anslagstavla%20-%20test%20Wikibase%0A%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fcoord%22%5D%7D%0A%0APREFIX%20wb%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3FrLabel%20%3Fvideo%20%3Fcoord%20%3Fimg%20%3FwdQ%20%3FsvWikipedia%20WHERE%20%7B%0A%20%20VALUES%20%20%3FAnslagsTavla%20%7Bwb%3AQ240%7D%0A%20%20%20%3Fr%20wbt%3AP2%20%3FAnslagsTavla%20.%0A%20%20%20%3Fr%20wbt%3AP11%20%3Fvideo.%0A%20%20%3Fr%20wbt%3AP1%20%3FwdQ%0A%20%20BIND%28URI%28concat%28%22http%3A%2F%2Fwww.wikidata.org%2Fentity%2F%22%2C%3FwdQ%29%29%20AS%20%3Fwikidata_iri%29%0A%20%20%0A%20SERVICE%20%3Chttps%3A%2F%2Fquery.wikidata.org%2Fsparql%3E%20%7B%0A%20%20%20%20%3Fwikidata_iri%20wdt%3AP625%20%3Fcoord.%0A%20%20%20OPTIONAL%20%7B%20%3Fwikidata_iri%20wdt%3AP41%20%3Fflag%20%7D%0A%20%20%20OPTIONAL%20%7B%20%3Fwikidata_iri%20wdt%3AP94%20%3Fcoat%20%7D%0A%20%20%20OPTIONAL%20%7B%20%3Fwikidata_iri%20wdt%3AP154%20%3Flogo%20%7D%0A%20%20%20OPTIONAL%20%7B%20%3Fwikidata_iri%20wdt%3AP18%20%3Fimage%20%7D%20%20%0A%20%20%20BIND%28%20COALESCE%28%3Fflag%2C%20%3Fcoat%2C%20%3Flogo%2C%20%3Fimage%29%20as%20%3Fimg%20%29%0A%20%20%20OPTIONAL%20%7B%0A%20%20%20%20%20%20%3FsvWikipedia%20schema%3Aabout%20%3Fwikidata_iri%20.%0A%20%20%20%20%20%20%3FsvWikipedia%20schema%3AinLanguage%20%22sv%22%20.%0A%20%20%20%20%20%20%3FsvWikipedia%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fsv.wikipedia.org%2F%3E%20.%0A%20%20%20%20%7D%0A%20%20%20%20%7D%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22sv%2Cen%22.%20%7D%0A%7D Karta2]
** [https://sweopendata.wikibase.cloud/query/embed.html#%23title%3A%20Kommuner%20som%20saknar%20Anslagstavla%20-%20test%20Wikibase%0A%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fcoord%22%5D%7D%0A%0APREFIX%20wb%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fsweopendata.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3FrLabel%20%3Fvideo%20%3Fcoord%20%3Fimg%20%3Fwikidatakom%20%3FWBdb%20%3Fwww%20WHERE%20%7B%0A%20%20VALUES%20%20%3FAnslag%20%7Bwb%3AQ240%7D%20%20%0A%20%20%7BSERVICE%20%3Chttps%3A%2F%2Fquery.wikidata.org%2Fsparql%3E%20%7B%0A%20%20%20%20%3Fwikidatakom%20wdt%3AP31%20wd%3AQ127448%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP17%20wd%3AQ34.%0A%20%20%20%20%3Fwikidatakom%20wdt%3AP625%20%3Fcoord.%0A%20%20%20%20%3Fwikidatakom%20wdt%3AP856%20%3Fwww.%20%20%20%20%0A%20%20%20%20%3Fwikidatakom%20wdt%3AP18%20%3Fimg.%0A%20%20%20%20MINUS%20%7B%20%3Fwikidatakom%20wd%3AP576%20%3Fend.%20%7D%7D%0A%20%20%20%20BIND(replace(str(%3Fwikidatakom)%2C%22http%3A%2F%2Fwww.wikidata.org%2Fentity%2F%22%2C%22%22)%20AS%20%3FwdQ)%7D%0A%20%20%20%20%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22sv%2Cen%22.%20%7D%0A%20%20minus%20%20%7B%20%3Fr%20wbt%3AP2%20%3FAnslag.%0A%20%20%3Fr%20wbt%3AP1%20%3FwdQ.%7D%0A%0A%0A%7D Saknas post med Anslagstavla]

Latest revision as of 10:09, 23 February 2023

Vad behövs för att starta med Länkade data och Kunskapsgrafer se svar chatGPT

Denna POC

  • Video Schema and Wikidata - and this POC

A Wikibase used for defining datasets we would like to see in Open data portals

Example datasets we would like to see

  • Campsites / Naturcampingplatser
    • Suggested schema:
    • Example data ???
    • Target all Swedish Municipalities Q127448

Misc

Kommun TV / Anslagstavla

se Kommuner