User:Ederporto/sandbox/3/state

{{{{{|safesubst:}}}#invoke:String|replace SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } ?item_cargo wdt:P361* wd:Q17813784. ?item_cargo wdt:P1697 ?validos. ?item_cargo wdt:P31 wd:Q40231. {?item_cargo (wdt:P541/wdt:P279*) wd:Q10265290.} UNION {?item_cargo (wdt:P541/wdt:P279*) wd:Q10265289.} OPTIONAL { ?item_cargo p:P991 ?statement. } OPTIONAL { ?statement ps:P991 ?item. } OPTIONAL { ?statement pq:P1111 ?votos. } OPTIONAL { ?statement pq:P102 ?partido. ?partido wdt:P1813 ?sigla. } OPTIONAL { ?statement pq:P5832 ?coligacao. } BIND("9aed9e" AS ?result) } ORDER BY DESC(?votos) }}
 * source={{{{{|safesubst:}}}#invoke:String|replace
 * source={{{{{|safesubst:}}}#invoke:String|replace
 * source={{{{{|safesubst:}}}#invoke:String|replace
 * source={{Wikidata list
 * sparql=SELECT ?item ?partido ?sigla ?coligacao ?item_cargo ?votos ?validos ?result WHERE {
 * columns=label:Nome, ?votos:Votos recebidos,?validos:Porcentagem, ?result, ?partido, ?coligacao
 * section=?item_cargo
 * sort=
 * min_section=1
 * thumb=128
 * autolist=fallback
 * wdedit=yes
 * links=red
 * header_template=subst:User:Ederporto/sandbox/4
 * row_template=subst:User:Ederporto/sandbox/5

State elections in Acre in 2014 for State Deputy
}} = }} }} {{
 * pattern=
 * replace=
 * pattern=
 * replace==
 * pattern===
 * replace====
 * pattern====
 * replace====

{{}}