Mapping pt:Info/Assentamento: Difference between revisions
No edit summary |
Jairofsouza (talk | contribs) No edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{TemplateMapping | {{ ConditionalMapping | cases = | ||
| mapToClass = Settlement | {{ Condition | templateProperty = settlement_type | operator = contains | value = Município | mapping = | ||
| | {{ TemplateMapping | mapToClass = City }} }} | ||
{{ Condition | templateProperty = settlement_type | operator = contains | value = Cidade | mapping = | |||
{{ TemplateMapping | mapToClass = City }} }} | |||
{{ Condition | templateProperty = settlement_type | operator = contains | value = Metropolitana | mapping = | |||
{{ TemplateMapping | mapToClass = Town }} }} | |||
{{ Condition | templateProperty = settlement_type | operator = contains | value = Vila | mapping = | |||
{{ TemplateMapping | mapToClass = Village }} }} | |||
{{ Condition | operator = otherwise | mapping = | |||
{{ TemplateMapping | mapToClass = Settlement }} }} | |||
| defaultMappings = | |||
{{PropertyMapping | templateProperty = apelido | ontologyProperty = foaf:nick }} | {{PropertyMapping | templateProperty = apelido | ontologyProperty = foaf:nick }} | ||
{{PropertyMapping | templateProperty = nome | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = nome | ontologyProperty = foaf:name | language = pt }} | ||
{{PropertyMapping | templateProperty = nome_nativo | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = nome_nativo | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = nome_oficial | ontologyProperty = foaf:name }} | |||
{{PropertyMapping | templateProperty = nome_oficial | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = nome_oficial | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = outro_nome | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = outro_nome | ontologyProperty = foaf:name }} | ||
Line 41: | Line 52: | ||
{{PropertyMapping | templateProperty = altitude_min_ft | ontologyProperty = minimumElevation | unit = foot }} | {{PropertyMapping | templateProperty = altitude_min_ft | ontologyProperty = minimumElevation | unit = foot }} | ||
{{PropertyMapping | templateProperty = população_total | ontologyProperty = populationTotal }} | {{PropertyMapping | templateProperty = população_total | ontologyProperty = populationTotal }} | ||
{{PropertyMapping | templateProperty = população_densidade_km2 | ontologyProperty = populationDensity }} | |||
<!-- these can't be right! | |||
{{PropertyMapping | templateProperty = subdivisão_tipo | ontologyProperty = englishName }} | |||
{{PropertyMapping | templateProperty = assentamento_tipo | ontologyProperty = alemmanicName }} | |||
{{PropertyMapping | templateProperty = subdivisão_tipo1 | ontologyProperty = englishName }} | |||
--> | |||
}} | }} |
Latest revision as of 14:42, 17 November 2016
This is the mapping for the Wikipedia template Info/Assentamento. Find usages of this Wikipedia template here.
Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.
Read more about mapping Wikipedia templates.
Conditions
Condition (help) | |
---|---|
template property | settlement_type |
operator | contains |
value | Município |
This is the mapping for the Wikipedia template Info/Assentamento. Find usages of this Wikipedia template here.
Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.
Read more about mapping Wikipedia templates.
Template Mapping (help) map to class City
Condition (help) | |
---|---|
template property | settlement_type |
operator | contains |
value | Cidade |
This is the mapping for the Wikipedia template Info/Assentamento. Find usages of this Wikipedia template here.
Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.
Read more about mapping Wikipedia templates.
Template Mapping (help) map to class City
Condition (help) | |
---|---|
template property | settlement_type |
operator | contains |
value | Metropolitana |
This is the mapping for the Wikipedia template Info/Assentamento. Find usages of this Wikipedia template here.
Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.
Read more about mapping Wikipedia templates.
Template Mapping (help) map to class Town
Condition (help) | |
---|---|
template property | settlement_type |
operator | contains |
value | Vila |
This is the mapping for the Wikipedia template Info/Assentamento. Find usages of this Wikipedia template here.
Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.
Read more about mapping Wikipedia templates.
Template Mapping (help) map to class Village
Condition (help) | |
---|---|
otherwise |
This is the mapping for the Wikipedia template Info/Assentamento. Find usages of this Wikipedia template here.
Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.
Read more about mapping Wikipedia templates.
Template Mapping (help) map to class Settlement
Default Mappings
Property Mapping (help) template property apelido ontology property foaf:nick
Property Mapping (help) template property nome ontology property foaf:name language pt
Property Mapping (help) template property nome_nativo ontology property foaf:name
Property Mapping (help) template property nome_oficial ontology property foaf:name
Property Mapping (help) template property nome_oficial ontology property foaf:name
Property Mapping (help) template property outro_nome ontology property foaf:name
Property Mapping (help) template property nome_nativo_lang ontology property language
Property Mapping (help) template property líder_nome ontology property leader
Property Mapping (help) template property líder_nome1 ontology property leader
Property Mapping (help) template property líder_nome2 ontology property leader
Property Mapping (help) template property líder_nome3 ontology property leader
Property Mapping (help) template property líder_nome4 ontology property leader
Property Mapping (help) template property sede ontology property headquarter
Property Mapping (help) template property lema ontology property motto
Property Mapping (help) template property clima ontology property climate
Property Mapping (help) template property código_postal ontology property postalCode
Property Mapping (help) template property código_postal2 ontology property postalCode
Property Mapping (help) template property fundador ontology property foundedBy
Property Mapping (help) template property bandeira_imagem ontology property picture
Property Mapping (help) template property imagem_bandeira ontology property picture
Property Mapping (help) template property emblema_vazio_imagem ontology property picture
Property Mapping (help) template property escudo_imagem ontology property picture
Property Mapping (help) template property horizonte_imagem ontology property picture
Property Mapping (help) template property imagem_emblema_vazio ontology property picture
Property Mapping (help) template property imagem_escudo ontology property picture
Property Mapping (help) template property imagem_horizonte ontology property picture
Property Mapping (help) template property imagem_mapa ontology property picture
Property Mapping (help) template property imagem_mapa1 ontology property picture
Property Mapping (help) template property imagem_mapa_ponto ontology property picture
Property Mapping (help) template property imagem_selo ontology property picture
Property Mapping (help) template property timezone ontology property timeZone
Property Mapping (help) template property timezone2 ontology property timeZone
Property Mapping (help) template property área_total_km2 ontology property areaTotal unit squareKilometre
Property Mapping (help) template property altitude_m ontology property elevation unit metre
Property Mapping (help) template property altitude_max_m ontology property maximumElevation unit metre
Property Mapping (help) template property altitude_min_m ontology property minimumElevation unit metre
Property Mapping (help) template property altitude_ft ontology property elevation unit foot
Property Mapping (help) template property altitude_max_ft ontology property maximumElevation unit foot
Property Mapping (help) template property altitude_min_ft ontology property minimumElevation unit foot
Property Mapping (help) template property população_total ontology property populationTotal
Property Mapping (help) template property população_densidade_km2 ontology property populationDensity