User:Funkyxian

 { "type": "ExternalData", "service": "geoshape", "ids": "Q31" }

 { "type": "ExternalData", "service": "geoshape", "ids": "Q28464643" }

 { "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 DISTINCT ?id ?idLabel (concat (?idLabel, '(', ?inception, ')' ) as ?title) (if(?inception < '1800', '#FF0000', if(?inception < '1900', '#0000FF', '#00FF00')) as ?fill) WHERE {  ?id (wdt:P31/wdt:P279*) wd:Q16970.  ?id wdt:P17 wd:Q31.  ?id wdt:P149 ?architecture.  ?id wdt:P571 ?inception.     SERVICE wikibase:label { bd:serviceParam wikibase:language 'nl,fr,en'. } } "}