Mapping en:Infobox building: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(rtrim on lines)
(Merged from infobox hotl and additions)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ DBpediaTemplateMapping
{{ConditionalMapping
| mapToClass = Building
| cases =
| mappings =
  {{Condition
{{ DBpediaPropertyMapping | templateProperty = address | ontologyProperty = address }}
  | templateProperty = hotel_name
{{ DBpediaPropertyMapping | templateProperty = architect | ontologyProperty = architect }}
  | operator = isSet
{{ DBpediaPropertyMapping | templateProperty = architecturalBureau | ontologyProperty = architectualBureau }}
  | mapping = {{TemplateMapping | header = 0 | mapToClass = Hotel }}
{{ DBpediaPropertyMapping | templateProperty = buildingStartDate | ontologyProperty = buildingStartDate }}
  }}
{{ DBpediaPropertyMapping | templateProperty = buildingEndDate | ontologyProperty = buildingEndDate }}
  {{Condition
{{ DBpediaPropertyMapping | templateProperty = openingDate | ontologyProperty = openingDate }}
  | templateProperty = hotel_name
{{ DBpediaPropertyMapping | templateProperty = closingDate | ontologyProperty = closingDate }}
  | operator = isSet
{{ DBpediaPropertyMapping | templateProperty = rebuildingDate | ontologyProperty = rebuildingDate }}
  | mapping = {{TemplateMapping | header = 0 | mapToClass = Hotel }}
{{ DBpediaPropertyMapping | templateProperty = owner | ontologyProperty = owner }}
  }}
{{ DBpediaPropertyMapping | templateProperty = owningOrganisation | ontologyProperty = owningOrganisation }}
  {{Condition
{{ DBpediaPropertyMapping | templateProperty = visitorsTotal | ontologyProperty = visitorsTotal }}
  | templateProperty = hotel_chain
{{ DBpediaPropertyMapping | templateProperty = visitorsPerYear | ontologyProperty = visitorsPerYear }}
  | operator = isSet
{{ DBpediaPropertyMapping | templateProperty = former_names | ontologyProperty = formerName }}
  | mapping = {{TemplateMapping | header = 0 | mapToClass = Hotel }}
{{ DBpediaPropertyMapping | templateProperty = architectural_style | ontologyProperty = architecturalStyle }}
  }}
{{ DBpediaPropertyMapping | templateProperty = structural_system | ontologyProperty = structuralSystem }}
  {{Condition
{{ DBpediaPropertyMapping | templateProperty = cost | ontologyProperty = cost | unit = Currency }}
  | templateProperty = number_of_rooms
{{ DBpediaPropertyMapping | templateProperty = current_tenants | ontologyProperty = tenant }}
  | operator = isSet
{{ DBpediaPropertyMapping | templateProperty = start_date | ontologyProperty = buildingStartDate }}
  | mapping = {{TemplateMapping | header = 0 | mapToClass = Hotel }}
{{ DBpediaPropertyMapping | templateProperty = completion_date | ontologyProperty = buildingEndDate }}
  }}
{{ DBpediaPropertyMapping | templateProperty = inauguration_date | ontologyProperty = openingDate }}
  {{Condition
{{ DBpediaPropertyMapping | templateProperty = demolition_date | ontologyProperty = demolitionDate }}
  | templateProperty = number_of_suites
{{ DBpediaPropertyMapping | templateProperty = destruction_date | ontologyProperty = destructionDate }}
  | operator = isSet
{{ DBpediaPropertyMapping | templateProperty = floor_count | ontologyProperty = floorCount }}
  | mapping = {{TemplateMapping | header = 0 | mapToClass = Hotel }}
{{ DBpediaPropertyMapping | templateProperty = floor_area | ontologyProperty = floorArea | unit = Area }}
  }}
{{ DBpediaPropertyMapping | templateProperty = awards | ontologyProperty = awards }}
  {{Condition
{{ DBpediaGeocoordinatesMapping | coordinates = coordinates }}
  | templateProperty = number_of_stores
{{ DBpediaPropertyMapping | templateProperty = elevationInFoot | ontologyProperty = elevation | unit = foot }}
  | operator = isSet
{{ DBpediaPropertyMapping | templateProperty = elevationInMeters | ontologyProperty = elevation | unit = metre }}
  | mapping = {{TemplateMapping | header = 0 | mapToClass = ShoppingMall }}
{{ DBpediaPropertyMapping | templateProperty = width | ontologyProperty = width | unit = Length }}
  }}
{{ DBpediaPropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length }}
  {{Condition
{{ DBpediaPropertyMapping | templateProperty = building_name | ontologyProperty = foaf:name }}
  | templateProperty = number_of_anchors
{{ DBpediaPropertyMapping | templateProperty = native_building_name | ontologyProperty = foaf:name }}
  | operator = isSet
{{ DBpediaPropertyMapping | templateProperty = building_type | ontologyProperty = type }}
  | mapping = {{TemplateMapping | header = 0 | mapToClass = ShoppingMall }}
{{ DBpediaPropertyMapping | templateProperty = location | ontologyProperty = location }}
  }}
  {{Condition
  | templateProperty = seating_type
  | operator = isSet
  | mapping = {{TemplateMapping | header = 0 | mapToClass = Venue }}
  }}
  {{Condition
  | templateProperty = seating_capacity
  | operator = isSet
  | mapping = {{TemplateMapping | header = 0 | mapToClass = Venue }}
  }}
  {{Condition
  | operator = otherwise
  | mapping = {{TemplateMapping | header = 0 | mapToClass = Building }}
  }}
| defaultMappings =
  {{PropertyMapping | templateProperty = hotel_name | ontologyProperty = foaf:name }}
  {{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
  {{PropertyMapping | templateProperty = building_name | ontologyProperty = foaf:name }}
  {{PropertyMapping | templateProperty = native_name | ontologyProperty = originalName }}
  {{PropertyMapping | templateProperty = former_names | ontologyProperty = formerName }}
  {{PropertyMapping | templateProperty = alternate_names | ontologyProperty = alternativeName }}
  {{PropertyMapping | templateProperty = building_type | ontologyProperty = type }}
  {{PropertyMapping | templateProperty = etymology | ontologyProperty = namedAfter }}
  {{PropertyMapping | templateProperty = address | ontologyProperty = address }}
  {{PropertyMapping | templateProperty = location | ontologyProperty = location }}
  {{PropertyMapping | templateProperty = location_country | ontologyProperty = country }}
  {{PropertyMapping | templateProperty = location_city | ontologyProperty = city }}
  {{PropertyMapping | templateProperty = location_town | ontologyProperty = location }}
  {{PropertyMapping | templateProperty = status | ontologyProperty = status }}
  {{PropertyMapping | templateProperty = classification | ontologyProperty = classification }}
  {{PropertyMapping | templateProperty = architect | ontologyProperty = architect }}
  {{PropertyMapping | templateProperty = architecture_firm | ontologyProperty = architect }}
  {{PropertyMapping | templateProperty = developer | ontologyProperty = developer }}
  {{PropertyMapping | templateProperty = engineer | ontologyProperty = engineer }}
  {{PropertyMapping | templateProperty = architecturalBureau | ontologyProperty = architectualBureau }}
  {{GeocoordinatesMapping | coordinates = coordinates }}
  {{ GeocoordinatesMapping | coordinates = coordinates | latitudeDegrees = latd | latitudeDirection = latNS | latitudeMinutes = latm | latitudeSeconds = lats | longitudeDegrees = longd | longitudeDirection = longEW | longitudeMinutes = longm | longitudeSeconds = longs }}
  {{PropertyMapping | templateProperty = construction_start_date | ontologyProperty = buildingStartDate }}
  {{PropertyMapping | templateProperty = start_date | ontologyProperty = buildingStartDate }}
  {{PropertyMapping | templateProperty = groundbreaking_date | ontologyProperty = buildingStartDate }}
  {{PropertyMapping | templateProperty = buildingEndDate | ontologyProperty = buildingEndDate }}
  {{PropertyMapping | templateProperty = completion_date | ontologyProperty = buildingEndDate }}
  {{PropertyMapping | templateProperty = opening | ontologyProperty = openingDate }}
  {{PropertyMapping | templateProperty = opened_date | ontologyProperty = openingDate }}
  {{PropertyMapping | templateProperty = opening_date | ontologyProperty = openingDate }}
  {{PropertyMapping | templateProperty = closing_date | ontologyProperty = dateOfAbandonment }}
  {{PropertyMapping | templateProperty = inauguration_date | ontologyProperty = openingDate }}
  {{PropertyMapping | templateProperty = date_demolished | ontologyProperty = demolitionDate }}
  {{PropertyMapping | templateProperty = demolition_date | ontologyProperty = demolitionDate }}
  {{PropertyMapping | templateProperty = destruction_date | ontologyProperty = destructionDate }}
  {{PropertyMapping | templateProperty = rebuildingDate | ontologyProperty = rebuildingDate }}
  {{PropertyMapping | templateProperty = owner | ontologyProperty = owner }}
  {{PropertyMapping | templateProperty = cost | ontologyProperty = cost | unit = Currency }}
  {{PropertyMapping | templateProperty = architectural_style | ontologyProperty = architecturalStyle }}
  {{PropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length }}
  {{PropertyMapping | templateProperty = architectural | ontologyProperty = height | unit = Length }}
  {{PropertyMapping | templateProperty = tip | ontologyProperty = height | unit = Length }}
  {{PropertyMapping | templateProperty = roof | ontologyProperty = height | unit = Length }}
  {{PropertyMapping | templateProperty = width | ontologyProperty = width | unit = Length }}
  {{PropertyMapping | templateProperty = altitude | ontologyProperty = width | unit = Length }}
  {{PropertyMapping | templateProperty = top_floor | ontologyProperty = height | unit = Length }}
  {{PropertyMapping | templateProperty = floor_count | ontologyProperty = floorCount }}
  {{PropertyMapping | templateProperty = floors | ontologyProperty = floorCount }}
  {{PropertyMapping | templateProperty = floor_area | ontologyProperty = floorArea | unit = Area }}
  {{PropertyMapping | templateProperty = visitorsTotal | ontologyProperty = visitorsTotal }}
  {{PropertyMapping | templateProperty = visitorsPerYear | ontologyProperty = visitorsPerYear }}
  {{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
  {{PropertyMapping | templateProperty = structural_system | ontologyProperty = structuralSystem }}
  {{PropertyMapping | templateProperty = awards | ontologyProperty = award }}
  {{PropertyMapping | templateProperty = ren_awards | ontologyProperty = award }}  
  {{PropertyMapping | templateProperty = native_building_name | ontologyProperty = foaf:name }}
  {{PropertyMapping | templateProperty = parking | ontologyProperty = numberOfParkingSpaces }}
  {{PropertyMapping | templateProperty = number_of_restaurants | ontologyProperty = numberOfRestaurants }}
  {{PropertyMapping | templateProperty = number_of_rooms | ontologyProperty = numberOfRooms }}
  {{PropertyMapping | templateProperty = rooms | ontologyProperty = numberOfRooms }}
  {{PropertyMapping | templateProperty = unit_count | ontologyProperty = numberOfRooms }}
  {{PropertyMapping | templateProperty = number_of_suites | ontologyProperty = numberOfSuites }}
  {{PropertyMapping | templateProperty = chain | ontologyProperty = chain }}
  {{PropertyMapping | templateProperty = hotel_chain | ontologyProperty = chain }}
  {{PropertyMapping | templateProperty = affiliation | ontologyProperty = affiliation }}
  {{PropertyMapping | templateProperty = number_of_stores | ontologyProperty = numberOfStores }}
  {{PropertyMapping | templateProperty = number_of_anchors | ontologyProperty = numberOfStores }}
  {{PropertyMapping | templateProperty = seating_capacity | ontologyProperty = seatingCapacity }}
  {{PropertyMapping | templateProperty = known_for | ontologyProperty = knownFor }}
  {{PropertyMapping | templateProperty = elevator_count | ontologyProperty = elevatorCount }}
  {{PropertyMapping | templateProperty = material | ontologyProperty = material }}
  {{PropertyMapping | templateProperty = diameter | ontologyProperty = diameter }}
}}
}}

Latest revision as of 15:05, 31 October 2017

This is the mapping for the Wikipedia template Infobox building. 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 hotel_name
operator isSet
Template Mapping (help)
map to class Hotel
Condition (help)
template property hotel_name
operator isSet
Template Mapping (help)
map to class Hotel
Condition (help)
template property hotel_chain
operator isSet
Template Mapping (help)
map to class Hotel
Condition (help)
template property number_of_rooms
operator isSet
Template Mapping (help)
map to class Hotel
Condition (help)
template property number_of_suites
operator isSet
Template Mapping (help)
map to class Hotel
Condition (help)
template property number_of_stores
operator isSet
Template Mapping (help)
map to class ShoppingMall
Condition (help)
template property number_of_anchors
operator isSet
Template Mapping (help)
map to class ShoppingMall
Condition (help)
template property seating_type
operator isSet
Template Mapping (help)
map to class Venue
Condition (help)
template property seating_capacity
operator isSet
Template Mapping (help)
map to class Venue
Condition (help)
otherwise
Template Mapping (help)
map to class Building

Default Mappings




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




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




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




Property Mapping (help)
template property native_name
ontology property originalName




Property Mapping (help)
template property former_names
ontology property formerName




Property Mapping (help)
template property alternate_names
ontology property alternativeName




Property Mapping (help)
template property building_type
ontology property type




Property Mapping (help)
template property etymology
ontology property namedAfter




Property Mapping (help)
template property address
ontology property address




Property Mapping (help)
template property location
ontology property location




Property Mapping (help)
template property location_country
ontology property country




Property Mapping (help)
template property location_city
ontology property city




Property Mapping (help)
template property location_town
ontology property location




Property Mapping (help)
template property status
ontology property status




Property Mapping (help)
template property classification
ontology property classification




Property Mapping (help)
template property architect
ontology property architect




Property Mapping (help)
template property architecture_firm
ontology property architect




Property Mapping (help)
template property developer
ontology property developer




Property Mapping (help)
template property engineer
ontology property engineer




Property Mapping (help)
template property architecturalBureau
ontology property architectualBureau
Geocoordinates Mapping (help)
coordinates template property coordinates
Geocoordinates Mapping (help)
coordinates template property coordinates
longitude degrees template property longd
longitude minutes template property longm
longitude seconds template property longs
longitude direction template property longEW
latitude degrees template property latd
latitude minutes template property latm
latitude seconds template property lats
latitude direction template property latNS




Property Mapping (help)
template property construction_start_date
ontology property buildingStartDate




Property Mapping (help)
template property start_date
ontology property buildingStartDate




Property Mapping (help)
template property groundbreaking_date
ontology property buildingStartDate




Property Mapping (help)
template property buildingEndDate
ontology property buildingEndDate




Property Mapping (help)
template property completion_date
ontology property buildingEndDate




Property Mapping (help)
template property opening
ontology property openingDate




Property Mapping (help)
template property opened_date
ontology property openingDate




Property Mapping (help)
template property opening_date
ontology property openingDate




Property Mapping (help)
template property closing_date
ontology property dateOfAbandonment




Property Mapping (help)
template property inauguration_date
ontology property openingDate




Property Mapping (help)
template property date_demolished
ontology property demolitionDate




Property Mapping (help)
template property demolition_date
ontology property demolitionDate




Property Mapping (help)
template property destruction_date
ontology property destructionDate




Property Mapping (help)
template property rebuildingDate
ontology property rebuildingDate




Property Mapping (help)
template property owner
ontology property owner


Property Mapping (help)
template property cost
ontology property cost
unitCurrency




Property Mapping (help)
template property architectural_style
ontology property architecturalStyle


Property Mapping (help)
template property height
ontology property height
unitLength


Property Mapping (help)
template property architectural
ontology property height
unitLength


Property Mapping (help)
template property tip
ontology property height
unitLength


Property Mapping (help)
template property roof
ontology property height
unitLength


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


Property Mapping (help)
template property altitude
ontology property width
unitLength


Property Mapping (help)
template property top_floor
ontology property height
unitLength




Property Mapping (help)
template property floor_count
ontology property floorCount




Property Mapping (help)
template property floors
ontology property floorCount


Property Mapping (help)
template property floor_area
ontology property floorArea
unitArea




Property Mapping (help)
template property visitorsTotal
ontology property visitorsTotal




Property Mapping (help)
template property visitorsPerYear
ontology property visitorsPerYear




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




Property Mapping (help)
template property structural_system
ontology property structuralSystem




Property Mapping (help)
template property awards
ontology property award




Property Mapping (help)
template property ren_awards
ontology property award




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




Property Mapping (help)
template property parking
ontology property numberOfParkingSpaces




Property Mapping (help)
template property number_of_restaurants
ontology property numberOfRestaurants




Property Mapping (help)
template property number_of_rooms
ontology property numberOfRooms




Property Mapping (help)
template property rooms
ontology property numberOfRooms




Property Mapping (help)
template property unit_count
ontology property numberOfRooms




Property Mapping (help)
template property number_of_suites
ontology property numberOfSuites




Property Mapping (help)
template property chain
ontology property chain




Property Mapping (help)
template property hotel_chain
ontology property chain




Property Mapping (help)
template property affiliation
ontology property affiliation




Property Mapping (help)
template property number_of_stores
ontology property numberOfStores




Property Mapping (help)
template property number_of_anchors
ontology property numberOfStores




Property Mapping (help)
template property seating_capacity
ontology property seatingCapacity




Property Mapping (help)
template property known_for
ontology property knownFor




Property Mapping (help)
template property elevator_count
ontology property elevatorCount




Property Mapping (help)
template property material
ontology property material




Property Mapping (help)
template property diameter
ontology property diameter