Mapping en:Infobox Serbia municipality: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(disclaimer template paramater: page name encoded)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DisclaimerMapping|{{PAGENAMEE}}}}
{{ConditionalMapping
| cases =
  {{Condition
    | templateProperty = settlement_type
    | operator = equals
    | value = city
    | mapping = {{TemplateMapping
                  | mapToClass = City
                }}
  }}


{{TemplateMapping
  {{Condition
| mapToClass = Municipality
    | templateProperty = settlement_type
| mappings =
    | operator = equals
    | value = town
    | mapping = {{TemplateMapping
                  | mapToClass = Town
                }}
  }}
 
  {{Condition
    | templateProperty = settlement_type
    | operator = equals
    | value = village
    | mapping = {{TemplateMapping
                  | mapToClass = Village
                }}
  }}
 
  {{Condition
    | operator = otherwise
    | mapping = {{TemplateMapping
                  | mapToClass = Town
                }}
  }}
 
| 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
unitsquareKilometre


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


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


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




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