Mapping en:Infobox Serbia municipality: Difference between revisions
RobertIsele (talk | contribs) (Map to the right settlement subclass) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ConditionalMapping | {{ConditionalMapping | ||
| cases = | | cases = | ||
Line 31: | Line 29: | ||
{{Condition | {{Condition | ||
| otherwise | | operator = otherwise | ||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = Town | | mapToClass = Town | ||
Line 38: | Line 36: | ||
| defaultMappings = | | defaultMappings = | ||
{{ConstantMapping | ontologyProperty = country | value = Serbia }} | |||
{{PropertyMapping | templateProperty = neighboring_municipalities | ontologyProperty = neighboringMunicipality }} | {{PropertyMapping | templateProperty = neighboring_municipalities | ontologyProperty = neighboringMunicipality }} | ||
{{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }} | {{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }} |
Latest revision as of 14:58, 28 July 2011
This is the mapping for the Wikipedia template Infobox Serbia municipality. 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 | equals |
value | city |
This is the mapping for the Wikipedia template Infobox Serbia municipality. 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 | equals |
value | town |
This is the mapping for the Wikipedia template Infobox Serbia municipality. 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 | equals |
value | village |
This is the mapping for the Wikipedia template Infobox Serbia municipality. 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 Infobox Serbia municipality. 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
Default Mappings
Constant Mapping (help) ontology property country value Serbia
Property Mapping (help) template property neighboring_municipalities ontology property neighboringMunicipality
Property Mapping (help) template property postal_code ontology property postalCode
Property Mapping (help) template property municipality_code ontology property areaCode
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 highest_m ontology property maximumElevation unit metre
Property Mapping (help) template property lowest_m ontology property minimumElevation unit metre
Property Mapping (help) template property population ontology property populationTotal
Property Mapping (help) template property populationof ontology property populationAsOf
Property Mapping (help) template property website ontology property foaf:homepage
Property Mapping (help) template property demonym ontology property demonym
Geocoordinates Mapping (help) longitude minutes template property long_m longitude direction template property long_NS latitude degrees template property lat_d latitude minutes template property lat_m latitude direction template property lat_EW