Mapping en:Infobox Swiss town: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
No edit summary |
||
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 }} |
Revision as of 14:59, 28 July 2011
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 | twinCity |
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 |
unit | squareKilometre |
Property Mapping (help) | |
---|---|
template property | elevation |
ontology property | elevation |
unit | metre |
Property Mapping (help) | |
---|---|
template property | altitude |
ontology property | elevation |
unit | metre |
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 |
unit | metre |
Property Mapping (help) | |
---|---|
template property | lowest |
ontology property | lowestPlace |
Property Mapping (help) | |
---|---|
template property | lowest_m |
ontology property | minimumElevation |
unit | metre |
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 |