User:Salgo60/MapTest

A geoshape of België
 { "type": "ExternalData", "service": "geoshape", "ids": "Q31" }

A geoshape of Finland
 { "type": "ExternalData", "service": "geoshape", "ids": "Q33" }

A geoshape of Söderala parish Q10688474
 { "type": "ExternalData", "service": "geoshape", "ids": "Q10688474" }

Söderhamns kommun Q145835
 { "type": "ExternalData", "service": "geoshape", "ids": "Q145835" }

A geoshape of Sint-Pieterskerk, Rumst
 { "type": "ExternalData", "service": "geoshape", "ids": "Q28464643" }

Governors of US states with their party affiliation
 { "type": "ExternalData", "service": "geoshape", "query": " SELECT ?id ?head (SAMPLE(?img) as ?img)   (min(?partyId) as ?party)   (if(?party = '0', '#800000', if(?party = '1', '#000080', '#008000')) as ?fill)  (concat(, ?headLabel, ) as ?title)  (concat(?stateLabel, '\\n', '') as ?description) WHERE {    ?id wdt:P31 wd:Q35657 .  ?id wdt:P6 ?head .  ?head wdt:P102 ?party .  BIND(if(?party = wd:Q29468, '0', if(?party = wd:Q29552, '1', '2')) as ?partyId)   SERVICE wikibase:label {    bd:serviceParam wikibase:language 'en' .    ?head rdfs:label ?headLabel .    ?id rdfs:label ?stateLabel .  }  OPTIONAL {    ?head wdt:P18 ?img .  }  ?link schema:about ?head .  ?link schema:isPartOf  . } GROUP BY ?id ?head ?headLabel ?link ?stateLabel "}

 { "type": "ExternalData", "service": "geoshape", "query": "SELECT ?id  ?idLabel (min(?years) as ?year) (concat (?idLabel, ' (', str(?year), ')' ) as ?title) (if(?year < 1500, '#00FF00',      if(?year < 1700, '#00AA00',         if (?year < 1800, '#006600',       	   if (?year < 1900, '#003300',              if (?year < 1930, '#001100',                if (?year < 1950, '#110000',  '#000000')))))) as ?fill) WHERE {  ?id (wdt:P31/wdt:P279*) wd:Q16970.  ?id wdt:P17 wd:Q31. ?id wdt:P571 ?inception.   BIND(year(?inception) AS ?years)     SERVICE wikibase:label { bd:serviceParam wikibase:language 'nl,fr,en'. } } GROUP BY ?id ?idLabel "}

 { "type": "ExternalData", "service": "geoshape", "query": "SELECT ?id ?idLbabel (concat (?idLabel, ' (', ?_architectLabel, ')' ) as ?title) WHERE {  ?id wdt:P84 ?_architect.  ?_architect wdt:P21 wd:Q6581072.  OPTIONAL { ?item wdt:P18 ?_image. }  OPTIONAL { ?item wdt:P571 ?_inception. }  SERVICE wikibase:label { bd:serviceParam wikibase:language 'nl,en,de,fr'. } }  GROUP BY ?id ?idLabel "}