Mapping mk:Инфокутија Езеро: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Created page with "{{ ConditionalMapping | cases = <!-- Bay (Class does currently not exist) {{Condition | templateProperty = bya_name | operator = isSet | mapping = {{TemplateMapp...")
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ ConditionalMapping
{{TemplateMapping | mapToClass = Lake
| cases =
| mappings =
<!-- Bay (Class does currently not exist)
{{Condition
| templateProperty = bya_name
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Bay }}
}}
{{Condition
| templateProperty = bya_image
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Bay }}
}}
{{Condition
| templateProperty = alt_bay
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Bay }}
}}
{{Condition
| templateProperty = caption_bay
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Bay }}
}}
{{Condition
| templateProperty = type
| operator = contains
| value = gulf
| mapping = {{TemplateMapping | header = 0 | mapToClass = Bay }}
}}
-->
 
<!-- Lake -->
{{Condition
| templateProperty = lake_name
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Lake }}
}}
{{Condition
| templateProperty = image_lake
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Lake }}
}}
{{Condition
| templateProperty = lake_type
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Lake }}
}}
{{Condition
| templateProperty = alt_lake
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Lake }}
}}
{{Condition
| templateProperty = caption_lake
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Lake }}
}}
 
<!-- Ocean -->
{{Condition
| templateProperty = ocean_name
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Ocean }}
}}
{{Condition
| templateProperty = Ocean_name
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Ocean }}
}}
{{Condition
| templateProperty = image_ocean
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Ocean }}
}}
{{Condition
| templateProperty = image_Ocean
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Ocean }}
}}
{{Condition
| templateProperty = ocean_type
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Ocean }}
}}
{{Condition
| templateProperty = caption_ocean
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Ocean }}
}}
{{Condition
| templateProperty = caption_Ocean
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Ocean }}
}}
{{Condition
| templateProperty = alt_ocean
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = Ocean }}
}}
 
 
<!-- Reservoir -->
{{Condition
| templateProperty = type
| operator = contains
| value = reservoir
| mapping = {{TemplateMapping | header = 0 | mapToClass = Dam }}
}}
{{Condition
| templateProperty = lake_type
| operator = contains
| value = reservoir
| mapping = {{TemplateMapping | header = 0 | mapToClass = Dam }}
}}
 
 
<!-- Sea -->
{{Condition
| templateProperty = type
| operator = contains
| value = sea
| mapping = {{TemplateMapping | header = 0 | mapToClass = Sea }}
}}
 
 
<!-- Protected Area -->
{{Condition
| templateProperty = designation
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = ProtectedArea }}
}}
 
 
<!-- Default -->
{{Condition
| operator = otherwise
| mapping = {{TemplateMapping | header = 0 | mapToClass = BodyOfWater }}
}}
 
 
| defaultMappings =
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = bay_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = lake_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = lake_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = native_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = ocean_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = Ocean_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = other_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = etymology | ontologyProperty = namedAfter }}
{{PropertyMapping | templateProperty = image | ontologyProperty = foaf:depiction | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
{{PropertyMapping | templateProperty = image_bay | ontologyProperty = foaf:depiction | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
{{PropertyMapping | templateProperty = image_lake | ontologyProperty = foaf:depiction | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
{{PropertyMapping | templateProperty = image_ocean | ontologyProperty = foaf:depiction | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
{{PropertyMapping | templateProperty = image_Ocean | ontologyProperty = foaf:depiction | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
{{PropertyMapping | templateProperty = image_bathymetry | ontologyProperty = foaf:depiction | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
{{PropertyMapping | templateProperty = image_bathymetry | ontologyProperty = foaf:depiction | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
                {{PropertyMapping | templateProperty = image bathymetry | ontologyProperty = foaf:depiction | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
                {{PropertyMapping | templateProperty = image lake | ontologyProperty = foaf:depiction | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
{{PropertyMapping | templateProperty = image_map | ontologyProperty = map | prefix = http://en.wikipedia.org/wiki/Special:FilePath/ | transform = external }}
{{GeocoordinatesMapping | coordinates = coords }}
{{GeocoordinatesMapping | coordinates = coords }}
{{GeocoordinatesMapping | latitudeDirection = latNS | latitudeDegrees = latd | latitudeMinutes = latm | latitudeSeconds = lats | longitudeDirection = longEW | longitudeDegrees = longd  | longitudeMinutes = longm | longitudeSeconds = longs }}
             
               
{{PropertyMapping | templateProperty = type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = lake_type | ontologyProperty = type }}
                {{PropertyMapping | templateProperty = islands | ontologyProperty = island }}
{{PropertyMapping | templateProperty = ocean_type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = outflow | ontologyProperty = outflow }}
{{PropertyMapping | templateProperty = outflow | ontologyProperty = outflow }}
{{PropertyMapping | templateProperty = inflow | ontologyProperty = inflow }}
{{PropertyMapping | templateProperty = inflow | ontologyProperty = inflow }}
{{PropertyMapping | templateProperty = oceans | ontologyProperty = inflow }}
                {{PropertyMapping | templateProperty = frozen | ontologyProperty = frozen }}
{{PropertyMapping | templateProperty = rivers | ontologyProperty = inflow }}
 
{{PropertyMapping | templateProperty = countries | ontologyProperty = country }}
{{PropertyMapping | templateProperty = basin_countries | ontologyProperty = country }}
{{PropertyMapping | templateProperty = basin_countries | ontologyProperty = country }}
{{PropertyMapping | templateProperty = location | ontologyProperty = location }}
{{PropertyMapping | templateProperty = location | ontologyProperty = location }}
{{PropertyMapping | templateProperty = islands | ontologyProperty = island }}
{{PropertyMapping | templateProperty = islands_category | ontologyProperty = island }}
{{PropertyMapping | templateProperty = islands category | ontologyProperty = island  }}
{{PropertyMapping | templateProperty = frozen | ontologyProperty = frozen }}
{{PropertyMapping | templateProperty = cities | ontologyProperty = nearestCity }}
{{PropertyMapping | templateProperty = cities | ontologyProperty = nearestCity }}
{{PropertyMapping | templateProperty = reference | ontologyProperty = quote }}
{{PropertyMapping | templateProperty = reference | ontologyProperty = quote }}
{{PropertyMapping | templateProperty = agency | ontologyProperty = management }}
{{PropertyMapping | templateProperty = group | ontologyProperty = isPartOf }}
{{PropertyMapping | templateProperty = part_of | ontologyProperty = isPartOf }}
{{PropertyMapping | templateProperty = parent | ontologyProperty = isPartOf }}
{{PropertyMapping | templateProperty = sections | ontologyProperty = part }}
{{PropertyMapping | templateProperty = engineer | ontologyProperty = engineer }}
{{PropertyMapping | templateProperty = date-built | ontologyProperty = buildingStartDate }}
{{PropertyMapping | templateProperty = date-flooded | ontologyProperty = floodingDate }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = area | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = area | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = area_km2 | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = area_ref | ontologyProperty = areaQuote }}
{{PropertyMapping | templateProperty = catchment | ontologyProperty = areaOfCatchment | unit = squareKilometre }}
{{PropertyMapping | templateProperty = catchment | ontologyProperty = areaOfCatchment | unit = squareKilometre }}
{{PropertyMapping | templateProperty = catchment_km2 | ontologyProperty = areaOfCatchment | unit = squareKilometre }}
{{PropertyMapping | templateProperty = catchment_ref | ontologyProperty = areaOfCatchmentQuote }}
{{PropertyMapping | templateProperty = depth | ontologyProperty = averageDepth | unit = metre }}
{{PropertyMapping | templateProperty = depth | ontologyProperty = averageDepth | unit = metre }}
{{PropertyMapping | templateProperty = depth_m | ontologyProperty = averageDepth | unit = metre }}
{{PropertyMapping | templateProperty = depth_ref | ontologyProperty = averageDepthQuote }}
{{PropertyMapping | templateProperty = elevation | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = elevation | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = elevation_m | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = elevation_ref | ontologyProperty = elevationQuote }}
{{PropertyMapping | templateProperty = length | ontologyProperty = length | unit = kilometre }}
{{PropertyMapping | templateProperty = length_km | ontologyProperty = length | unit = kilometre }}
{{PropertyMapping | templateProperty = length_ref | ontologyProperty = lengthQuote }}
{{PropertyMapping | templateProperty = max-depth | ontologyProperty = maximumDepth | unit = metre }}
{{PropertyMapping | templateProperty = max-depth | ontologyProperty = maximumDepth | unit = metre }}
{{PropertyMapping | templateProperty = max-depth_m | ontologyProperty = maximumDepth | unit = metre }}
{{PropertyMapping | templateProperty = max-depth_ref | ontologyProperty = maximumDepthQuote }}
{{PropertyMapping | templateProperty = shore | ontologyProperty = shoreLength | unit = kilometre }}
{{PropertyMapping | templateProperty = shore | ontologyProperty = shoreLength | unit = kilometre }}
{{PropertyMapping | templateProperty = shore_km | ontologyProperty = shoreLength | unit = kilometre }}
{{PropertyMapping | templateProperty = temperature_high | ontologyProperty = maximumTemperature | unit = temperature }}
{{PropertyMapping | templateProperty = temperature_high_C | ontologyProperty = maximumTemperature | unit = degreeCelsius }}
{{PropertyMapping | templateProperty = temperature_high_F | ontologyProperty = maximumTemperature | unit = degreeFahrenheit }}
{{PropertyMapping | templateProperty = temperature_low | ontologyProperty = minimumTemperature | unit = temperature }}
{{PropertyMapping | templateProperty = temperature_low_C | ontologyProperty = minimumTemperature | unit = degreeCelsius }}
{{PropertyMapping | templateProperty = temperature_low_F | ontologyProperty = minimumTemperature | unit = degreeFahrenheit }}
{{PropertyMapping | templateProperty = volume | ontologyProperty = volume | unit = cubicMetre }}
{{PropertyMapping | templateProperty = volume_km3 | ontologyProperty = volume | unit = cubicKilometre }}
{{PropertyMapping | templateProperty = volume_ref | ontologyProperty = volumeQuote }}
{{PropertyMapping | templateProperty = width | ontologyProperty = width | unit = kilometre }}
{{PropertyMapping | templateProperty = width | ontologyProperty = width | unit = kilometre }}
{{PropertyMapping | templateProperty = width_km | ontologyProperty = width | unit = kilometre }}
{{PropertyMapping | templateProperty = width_ref | ontologyProperty = widthQuote }}


<!-- Properties which are not mapped (yet)
Maybe useful properties but without a counterpart so far:
{{PropertyMapping | templateProperty = benches | ontologyProperty =  }}
{{PropertyMapping | templateProperty = coordinates_footnotes | ontologyProperty =  }}
{{PropertyMapping | templateProperty = coordinates_region | ontologyProperty =  }}
{{PropertyMapping | templateProperty = coordinates_type | ontologyProperty =  }}
{{PropertyMapping | templateProperty = native_name_lang | ontologyProperty =  }}
{{PropertyMapping | templateProperty = residence_time | ontologyProperty =  }}
{{PropertyMapping | templateProperty = salinity | ontologyProperty =  }}
{{PropertyMapping | templateProperty = shore_ref | ontologyProperty =  }}
{{PropertyMapping | templateProperty = temperature_high_ref | ontologyProperty =  }}
{{PropertyMapping | templateProperty = temperature_low_ref | ontologyProperty =  }}
{{PropertyMapping | templateProperty = trenches | ontologyProperty =  }}
Useless properties:
{{PropertyMapping | templateProperty = alt | ontologyProperty =  }}
{{PropertyMapping | templateProperty = alt_bathymetry | ontologyProperty =  }}
{{PropertyMapping | templateProperty = alt_bay | ontologyProperty =  }}
{{PropertyMapping | templateProperty = alt_lake | ontologyProperty =  }}
{{PropertyMapping | templateProperty = alt_map | ontologyProperty =  }}
{{PropertyMapping | templateProperty = alt_ocean | ontologyProperty =  }}
{{PropertyMapping | templateProperty = align | ontologyProperty =  | comment = style parameter }}
{{PropertyMapping | templateProperty = bathymetry_size | ontologyProperty =  | comment = style parameter }}
{{PropertyMapping | templateProperty = caption | ontologyProperty =  }}
{{PropertyMapping | templateProperty = caption_bathymetry | ontologyProperty =  }}
{{PropertyMapping | templateProperty = caption_bay | ontologyProperty =  }}
{{PropertyMapping | templateProperty = caption_lake | ontologyProperty =  }}
{{PropertyMapping | templateProperty = caption_map | ontologyProperty =  }}
{{PropertyMapping | templateProperty = caption_ocean | ontologyProperty =  }}
{{PropertyMapping | templateProperty = caption_Ocean | ontologyProperty =  }}
{{PropertyMapping | templateProperty = coordinates_display | ontologyProperty =  | comment = style parameter }}
{{PropertyMapping | templateProperty = coordinates_format | ontologyProperty =  }}
{{PropertyMapping | templateProperty = child | ontologyProperty =  | comment = equivalent to embed (yes or no) }}
{{PropertyMapping | templateProperty = embed | ontologyProperty = yes or no }}
{{PropertyMapping | templateProperty = embedded | ontologyProperty =  | comment = equivalent to 'extra' and 'nrhp' }}
{{PropertyMapping | templateProperty = extra | ontologyProperty =  }}
{{PropertyMapping | templateProperty = image_size | ontologyProperty =  | comment = style parameter }}
{{PropertyMapping | templateProperty = map_size | ontologyProperty =  | comment = style parameter }}
{{PropertyMapping | templateProperty = nrhp | ontologyProperty =  | comment = equivalent to 'extra' and 'embedded' }}
{{PropertyMapping | templateProperty = pushpin_image | ontologyProperty =  }}
{{PropertyMapping | templateProperty = pushpin_label_position | ontologyProperty =  }}
{{PropertyMapping | templateProperty = pushpin_map | ontologyProperty = map | comment = useless without the label }}
{{PropertyMapping | templateProperty = pushpin_map_alt | ontologyProperty =  }}
{{PropertyMapping | templateProperty = pushpin_map_caption | ontologyProperty =  }}
{{PropertyMapping | templateProperty = pushpin_mapsize | ontologyProperty =  | comment = style parameter }}
{{PropertyMapping | templateProperty = pushpin_relief | ontologyProperty =  }}
-->
}}
}}

Latest revision as of 01:15, 9 March 2016

This is the mapping for the Wikipedia template Инфокутија Езеро. 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 Lake

Mappings




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


Property Mapping (help)
template property image_bathymetry
ontology property foaf:depiction
prefixhttp://en.wikipedia.org/wiki/Special:FilePath/
transformexternal
Property Mapping (help)
template property image bathymetry
ontology property foaf:depiction
prefixhttp://en.wikipedia.org/wiki/Special:FilePath/
transformexternal
Property Mapping (help)
template property image lake
ontology property foaf:depiction
prefixhttp://en.wikipedia.org/wiki/Special:FilePath/
transformexternal



Geocoordinates Mapping (help)
coordinates template property coords






Property Mapping (help)
template property type
ontology property type




Property Mapping (help)
template property islands
ontology property island





Property Mapping (help)
template property outflow
ontology property outflow





Property Mapping (help)
template property inflow
ontology property inflow




Property Mapping (help)
template property frozen
ontology property frozen






Property Mapping (help)
template property basin_countries
ontology property country




Property Mapping (help)
template property location
ontology property location





Property Mapping (help)
template property cities
ontology property nearestCity




Property Mapping (help)
template property reference
ontology property quote



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



Property Mapping (help)
template property catchment
ontology property areaOfCatchment
unitsquareKilometre



Property Mapping (help)
template property depth
ontology property averageDepth
unitmetre



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



Property Mapping (help)
template property max-depth
ontology property maximumDepth
unitmetre



Property Mapping (help)
template property shore
ontology property shoreLength
unitkilometre



Property Mapping (help)
template property width
ontology property width
unitkilometre