Mapping en:Infobox Swiss town: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
m (s/twinCity/twinTown/)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
| mapToClass = Settlement
| mapToClass = Settlement
| mappings =
| mappings =
{{ConstantMapping | ontologyProperty = country | value = Switzerland }}
{{PropertyMapping | templateProperty = subject_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = subject_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = municipality_type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = municipality_type | ontologyProperty = type }}
         {{PropertyMapping | templateProperty = canton | ontologyProperty = canton }}
         {{PropertyMapping | templateProperty = canton | ontologyProperty = canton }}
{{PropertyMapping | templateProperty = twintowns | ontologyProperty = twinCity }}
{{PropertyMapping | templateProperty = twintowns | ontologyProperty = twinTown }}
{{PropertyMapping | templateProperty = iso-code-region | ontologyProperty = isoCodeRegion }}
{{PropertyMapping | templateProperty = iso-code-region | ontologyProperty = isoCodeRegion }}
{{PropertyMapping | templateProperty = district | ontologyProperty = district }}
{{PropertyMapping | templateProperty = district | ontologyProperty = district }}

Latest revision as of 15:35, 6 April 2015

This is the mapping for the Wikipedia template Infobox Swiss town. 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

Mappings

Constant Mapping (help)
ontology property country
value Switzerland




Property Mapping (help)
template property subject_name
ontology property foaf:name




Property Mapping (help)
template property municipality_type
ontology property type




Property Mapping (help)
template property canton
ontology property canton




Property Mapping (help)
template property twintowns
ontology property twinTown




Property Mapping (help)
template property iso-code-region
ontology property isoCodeRegion




Property Mapping (help)
template property district
ontology property district




Property Mapping (help)
template property within_municipality
ontology property municipality
Geocoordinates Mapping (help)
longitude degrees template property long_d
longitude minutes template property long_m
latitude degrees template property lat_d
latitude minutes template property lat_m




Property Mapping (help)
template property postal_code
ontology property postalCode




Property Mapping (help)
template property municipality_code
ontology property municipalityCode




Property Mapping (help)
template property municipal_code
ontology property municipalityCode


Property Mapping (help)
template property area
ontology property areaTotal
unitsquareKilometre


Property Mapping (help)
template property elevation
ontology property elevation
unitmetre


Property Mapping (help)
template property altitude
ontology property elevation
unitmetre




Property Mapping (help)
template property population
ontology property populationTotal




Property Mapping (help)
template property populationof
ontology property populationTotal




Property Mapping (help)
template property popofyear
ontology property censusYear




Property Mapping (help)
template property highest
ontology property highestPlace


Property Mapping (help)
template property highest_m
ontology property maximumElevation
unitmetre




Property Mapping (help)
template property lowest
ontology property lowestPlace


Property Mapping (help)
template property lowest_m
ontology property minimumElevation
unitmetre




Property Mapping (help)
template property mayor
ontology property mayor




Property Mapping (help)
template property mayor_party
ontology property leaderParty




Property Mapping (help)
template property demonym
ontology property demonym




Property Mapping (help)
template property neighboring_municipalities
ontology property neighboringMunicipality




Property Mapping (help)
template property website
ontology property foaf:homepage