torsdag 16 november 2017


Below query

SELECT ?item ?itemLabel  ?itemDescription ?img ?map ?start ?location ?admLabel ?capital ?short(?admLabel as ?layer) WHERE {
  ?item wdt:P31 wd:Q328584.
  OPTIONAL {?item wdt:P625 ?location}
  OPTIONAL {?item wdt:P131 ?adm}
  OPTIONAL {?item wdt:P18 ?img}
  OPTIONAL {?item wdt:P242 ?map}
  OPTIONAL {?item wdt:P571 ?start}
  OPTIONAL {?item wdt:P1813 ?short}
  OPTIONAL {?item wdt:P36 ?capital}
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "sl","en","de","es" . 
order by ?itemLabel


Image grid showing overview maps and pictures from the area

Pictures in Wikicommon are CC0 = "no copyright reserved" 

Just overview maps from Wikicommon that can be copied and used....

Pictures in Wikicommon are CC0 = "no copyright reserved" 

Wikidata and OSM

Open Street map has a tag for Wikidata ==>

  • Q507051 is Občina Kranjska Gora
  • A search can be done see ink to find the object in OSM with Wikidata tag using Overpass and the query language

    out body;
    out skel qt;

    ==> we get OSM relation 1675593 ==> link 

How to extract data to a spreadsheet

wd:Q852446 United States

  • wd:Q852446 administrative territorial entity of the United States
    • List 

Images for counties

Pictures in Wikicommon are CC0 = "no copyright reserved"

Just locator maps

Pictures in Wikicommon are CC0 = "no copyright reserved" 


Arrondissement - 448

Cantone de France - 5535

Communes of France - 38476

Video time

måndag 13 november 2017

referenser i Wikidata och Döboken

Exempel på hur man kan referera i Wikidata till Svensk Dödbok Q10686079

dvs. Wikidata Q3109655#P569

  1. Property P569 födelsedatum
    1. Har 3 referenser 
      2. SBL från Riksarkivet
      3. Sveriges Dödbok som anges med
        1. P248 Anges i
          1. Värde Q10686079 Sveriges Dödbok
        2. Datum vi kollade Property:P813 
          1. 13 nov 2017
        3. Omnämd som Property 1810 
          1. innehåller nyckel och namn på Döskivan