Wikidata:WikiProject Infoboxes/places/country example

Tries to map potential Q155 properties' onto en:Brazil infobox.

Article wikicodeWikidata mapping
{{Infobox country
|conventional_long_name = Federative Republic of Brazil
|native_name = {{native name|pt|República Federativa do Brasil}}
|common_name = Brazil
|image_flag = Flag of Brazil.svg
|alt_flag =
|image_coat = Coat of arms of Brazil.svg
|alt_coat =
|symbol_type = Coat of arms
|national_motto = {{vunblist |{{native phrase|pt|"Ordem e Progresso"|italics=off|nolink=on}} |{{small|"Order and Progress"}}}}
|national_anthem = {{vunblist |''[[Brazilian National Anthem|Hino Nacional Brasileiro]]'' |{{small|''Brazilian National Anthem''}} 
|<center>[[File:Hino-Nacional-Brasil-instrumental-mec.ogg|noicon|center]]</center>}}
|other_symbol_type = [[Seal (emblem)|National seal]]
|other_symbol = {{vunblist |''[[National Seal of Brazil|Selo Nacional do Brasil]]'' 
|{{small|''National Seal of Brazil''}} |[[File:National Seal of Brazil (color).svg|100px|link=National Seal of Brazil]]}}
|image_map = BRA orthographic.svg
|alt_map = |map_caption =
|capital =[[Brasília]]
|latd=15 |latm=47 |latNS=S |longd=47 |longm=52 |longEW=W
|largest_city = [[São Paulo]]
|official_languages = [[Portuguese language|Portuguese]]<ref>{{en}} {{cite web |title=Demographics |publisher=Brazilian Government 
|year=2011 |url=http://www.brasil.gov.br/sobre/brazil/brazil-in-numbers/demographics |accessdate=2011-10-08}}</ref>
|ethnic_groups =
 {{vunblist
  | 47.73% [[White Brazilian|White]]
  | {{nowrap|43.13% [[Pardo|Brown (Pardo)]]<sup>a</sup>}}
  |  7.61% [[Black Brazilian|Black]]
  |  1.09% [[Asian Brazilian|Asian]]
  |  0.43% [[Indigenous peoples in Brazil|Amerindian]]
 }}
|ethnic_groups_year = 2010
<ref name="raca2010">{{cite web 
|url=http://www.ibge.gov.br/home/estatistica/populacao/censo2010/caracteristicas_da_populacao/tabelas_pdf/tab3.pdf 
|title=Caracteristicas da População e dos Domicílios do Censo Demográfico 2010 — Cor ou raça 
|format=PDF |date= |accessdate=2012-04-07}}</ref>
|demonym = Brazilian
|government_type = [[Federalism|Federal]] [[Presidential system|presidential]] [[constitutional republic]]
|leader_title1 = [[President of Brazil|President]]
|leader_name1 = [[Dilma Rousseff]] ([[Partido dos Trabalhadores|PT]])
|leader_title2 = [[Vice-President of Brazil|Vice President]]
|leader_name2 = [[Michel Temer]] ([[Brazilian Democratic Movement Party|PMDB]])
|leader_title3 = {{nowrap|[[List of Presidents of the Chamber of Deputies of Brazil|President of the<br/>Chamber of Deputies]]}}
|leader_name3 = {{nowrap|[[Marco Maia]] (PT)}}
|leader_title4 = [[President of the Senate of Brazil|President of the Senate]]
|leader_name4 = {{nowrap|[[José Sarney]] (PMDB)}}
|leader_title5 = [[Supreme Federal Court (Brazil)#President|President of the Supreme Federal Court]]
|leader_name5 = [[Joaquim Barbosa]]
|legislature = [[National Congress of Brazil|National Congress]]
|upper_house = [[Senate of Brazil|Federal Senate]]
|lower_house = [[Chamber of Deputies of Brazil|Chamber of Deputies]]
|sovereignty_type = [[Independence of Brazil|Independence]]
|sovereignty_note = from [[United Kingdom of Portugal, Brazil and the Algarves]]
|established_event1 = [[Brazilian Declaration of Independence|Declared]]
|established_date1 = 7 September 1822
|established_event2 = [[United Kingdom of Portugal, Brazil and the Algarves#Recognition of Brazilian Independence by Portugal|Recognized]]
|established_date2 = 29 August 1825
|established_event3 = [[Proclamation of the Republic (Brazil)|Republic]]
|established_date3 = 15 November 1889
|established_event4 = [[Constitution of Brazil|Current constitution]]
|established_date4 = 5 October 1988
|area_rank = 5th
|area_magnitude = 1 E12
|area_km2 = 8515767
|area_sq_mi = 3287597
|percent_water = 0.65
|area_label = Total
|population_estimate = 193,946,886
|population_estimate_rank =
|population_estimate_year = 2012
<ref name=popdata>[[Brazilian Institute of Geography and Statistics|IBGE]].
[http://www.ibge.gov.br/home/presidencia/noticias/noticia_impressao.php?id_noticia=1961 2011 Population Projection]</ref>
|population_census = 190,732,694<ref>IBGE. 
[http://www.ibge.gov.br/home/presidencia/noticias/noticia_visualiza.php?id_noticia=1766&id_pagina=1
 Censo 2010: população do Brasil é de 190.732.694 pessoas].</ref>
|population_census_rank = 5th
|population_census_year = 2010
|population_density_km2 = 22
|population_density_sq_mi = 57
|population_density_rank = 182nd
|GDP_PPP = $2.294 trillion<ref name=imf>{{cite web 
|url=http://www.imf.org/external/pubs/ft/weo/2012/01/weodata/weorept.aspx?pr.x=48&pr.y=11&sy=2009&ey=2012&scsm=1&ssd=1&sort=country&ds=.
&br=1&c=223&s=NGDPD%2CNGDPDPC%2CPPPGDP%2CPPPPC%2CLP&grp=0&a= 
|title=Brazil |publisher=International Monetary Fund |accessdate=2012-04-17}}</ref>
|GDP_PPP_rank = 7th
|GDP_PPP_year = 2012
|GDP_PPP_per_capita = $11,769<ref name=imf/>
|GDP_PPP_per_capita_rank = 75th
|GDP_nominal = $2.493 trillion<ref name=imf/>
|GDP_nominal_rank = 7th
|GDP_nominal_year = 2012
|GDP_nominal_per_capita = $12,788<ref name=imf/>
|GDP_nominal_per_capita_rank = 53rd
|Gini_year = 2012
|Gini_change = decrease <!--increase/decrease/steady-->
|Gini = 51.9 <!--number only-->
|Gini_ref = <ref name="2012ciagini">
[https://www.cia.gov/library/publications/the-world-factbook/fields/2172.html Country Comparison to the World: Gini Index – Brazil]
[[The World Factbook]]. Retrieved on 2012-04-03.</ref>
|Gini_rank =
|HDI_year = 2012
|HDI_change =  increase
|HDI = 0.730 <!--number only-->
|HDI_ref = <ref name=HDI11>{{cite web |title=Table 1: Human development index 2011 and its components
 |url=http://hdr.undp.org/en/media/HDR_2011_EN_Table1.pdf |format=PDF |accessdate=2011-12-04 |publisher=UNDP |author=UNDP Human Development Report 2011}}</ref>
|HDI_rank = 85th
|currency = [[Brazilian real|Real]] (R$)
|currency_code = BRL
|time_zone = [[Time in Brazil|BRT]]
|utc_offset = −2 to −4
|time_zone_DST = [[Time in Brazil#Summer time|BRST]]
|utc_offset_DST = −2 to −4
|DST_note =
|antipodes =
|date_format = dd/mm/yyyy ([[Common Era|CE]])
|drives_on = right
|calling_code = [[Telephone numbers in Brazil|+55]]
|iso3166code =
|cctld = [[.br]]
|footnote_a = [[Multiracial#Brazil|Multiracial]].
}}
{{Infobox country
|conventional_long_name = ?
|native_name = ?
|common_name = label
|image_flag = P41
|alt_flag =
|image_coat = P94
|alt_coat =
|symbol_type = ?
|national_motto =can be a string property, but what about the native language, user language distrinction ?  
|national_anthem = P85 / P48
|other_symbol_type = ?
|other_symbol =?
|image_map = p242 ? 
|alt_map = |map_caption = locally added ? 
|capital = p36
|latd= |latm= |latNS= |longd= |longm= |longEW= waiting for coordinate datatype (and should probably be a property of the capital's item.  
|largest_city =  property, computed ? 
|official_languages = p37
|ethnic_groups = P172 is the ethnicity of a person, not the ethnic composition of a country
|ethnic_groups_year = source should be part of the queries statement
|demonym = Brazilian
|government_type = ? 
|leader_title1 = ? 
|leader_name1 = p46 + p102
|leader_title2 =? 
|leader_name2 =
|leader_title3 = that's the president of the chamber of the deputies, it could probably be retrieved from the item on this subject.
Question: is that relevant for Brazil. It does not seem to be relevant for France.
If that is relevant for some countires but not for others, how are we supposed to know that ? 
|leader_name3 = {{nowrap|[[Marco Maia]] (PT)}}
|leader_title4 = [[President of the Senate of Brazil|President of the Senate]]
|leader_name4 = {{nowrap|[[José Sarney]] (PMDB)}}
|leader_title5 = [[Supreme Federal Court (Brazil)#President|President of the Supreme Federal Court]]
|leader_name5 = [[Joaquim Barbosa]]
|legislature = C194, but see Q155 to see how messy it is. 
Should Q155 be reserved for the more general name (here Brazilian COngress), and have more specific items for the upper and lower houses ? 
|upper_house = [[Senate of Brazil|Federal Senate]]
|lower_house = ? 
|sovereignty_type = p132 ? 
|sovereignty_note = ?
|established_event1 = ?
|established_date1 = ?
|established_event2 = ?
|established_date2 = ?
|established_event3 = ?
|established_date3 =?
|established_event4 = ?
|established_date4 = ?
|area_rank = computed ?
|area_magnitude = 1 E12
|area_km2 = 8515767
|area_sq_mi = 3287597
|percent_water = 0.65
|area_label = Total
|population_estimate = waiting for number type
|population_estimate_rank = computed ? 
|population_estimate_year = should be ok with qualifiers  
|population_census_rank = computed ? 
|population_census_year = should be ok with qualifiers  
|population_density_km2 = should be ok with qualifiers  
|population_density_sq_mi = 57
|population_density_rank = computed ? 
|GDP_PPP = waiting for quantity datatype 
|GDP_PPP_rank = computed ? 
|GDP_PPP_year = 
|GDP_PPP_per_capita =  hardcoded / computed ? 
|GDP_PPP_per_capita_rank = computed ? 
|GDP_nominal =  waiting for quantity datatype 
|GDP_nominal_rank = computed ? 
|GDP_nominal_year = part of the GDP statement
|GDP_nominal_per_capita = computd ? hardccded ? 
|GDP_nominal_per_capita_rank = computed ? 
|Gini_year = 2012
|Gini_change = computed if enough data 
|Gini = 51.9 <!--number only-->
|Gini_ref = part of the GINI statement
|Gini_rank =
|HDI_year = /
|HDI_change =  computed ? 
|HDI =  waiting for number datatype 
|HDI_ref = qualifier of the above statement
|HDI_rank = computed ? 
|currency = p38, money symbol should probably be stated in the currency's item
|currency_code = from the currency's item
|time_zone = see property proposal
|utc_offset = ?
|time_zone_DST = ?
|utc_offset_DST = −?
|DST_note =
|antipodes =
|date_format ?
|drives_on = right
|calling_code = ?
|iso3166code =
|cctld = p78
|footnote_a = 
}}