Mapping en:Infobox venue: Difference between revisions
From DBpedia Mappings
Jump to navigationJump to search
No edit summary |
(merged from stadium and theatre) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{TemplateMapping | mapToClass = Venue | {{ConditionalMapping | ||
| | | cases = | ||
{{Condition | |||
| templateProperty = type | |||
| operator = contains | |||
| value = Sport | |||
| mapping = {{TemplateMapping | header = 0 | mapToClass = Stadium }} | |||
}} | |||
{{Condition | |||
| templateProperty = type | |||
| operator = contains | |||
| value = Stadium | |||
| mapping = {{TemplateMapping | header = 0 | mapToClass = Stadium }} | |||
}} | |||
{{Condition | |||
| templateProperty = type | |||
| operator = contains | |||
| value = Arena | |||
| mapping = {{TemplateMapping | header = 0 | mapToClass = Stadium }} | |||
}} | |||
{{Condition | |||
| templateProperty = type | |||
| operator = contains | |||
| value = Movie | |||
| mapping = {{TemplateMapping | header = 0 | mapToClass = Cinema }} | |||
}} | |||
{{Condition | |||
| templateProperty = type | |||
| operator = contains | |||
| value = Cinema | |||
| mapping = {{TemplateMapping | header = 0 | mapToClass = Cinema }} | |||
}} | |||
{{Condition | |||
| templateProperty = type | |||
| operator = contains | |||
| value = Theat | |||
| mapping = {{TemplateMapping | header = 0 | mapToClass = Theatre }} | |||
}} | |||
{{Condition | |||
| templateProperty = type | |||
| operator = contains | |||
| value = Broadway | |||
| mapping = {{TemplateMapping | header = 0 | mapToClass = Theatre }} | |||
}} | |||
{{Condition | |||
| templateProperty = type | |||
| operator = contains | |||
| value = Opera | |||
| mapping = {{TemplateMapping | header = 0 | mapToClass = Theatre }} | |||
}} | |||
{{Condition | |||
| operator = otherwise | |||
| mapping = {{TemplateMapping | header = 0 | mapToClass = Venue }} | |||
}} | |||
| defaultMappings = | |||
{{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | |||
{{ PropertyMapping | templateProperty = nickname | ontologyProperty = foaf:nick }} | |||
{{ PropertyMapping | templateProperty = fullname | ontologyProperty = foaf:name }} | |||
{{ PropertyMapping | templateProperty = stadium_name | ontologyProperty = foaf:name }} | |||
{{ PropertyMapping | templateProperty = centre_name | ontologyProperty = foaf:name }} | |||
{{ PropertyMapping | templateProperty = native_name | ontologyProperty = originalName }} | |||
{{ PropertyMapping | templateProperty = former names | ontologyProperty = formerName }} | |||
{{ PropertyMapping | templateProperty = former_names | ontologyProperty = formerName }} | |||
{{PropertyMapping | templateProperty = othernames | ontologyProperty = alternativeName }} | |||
{{ PropertyMapping | templateProperty = address | ontologyProperty = address }} | |||
{{ PropertyMapping | templateProperty = location | ontologyProperty = location }} | {{ PropertyMapping | templateProperty = location | ontologyProperty = location }} | ||
{{PropertyMapping | templateProperty = city | ontologyProperty = city }} | |||
{{PropertyMapping | templateProperty = country | ontologyProperty = country }} | |||
{{ PropertyMapping | templateProperty = type | ontologyProperty = type }} | {{ PropertyMapping | templateProperty = type | ontologyProperty = type }} | ||
{{ PropertyMapping | templateProperty = tenants | ontologyProperty = tenant }} | |||
{{PropertyMapping | templateProperty = broke_ground | ontologyProperty = buildingStartDate }} | |||
{{PropertyMapping | templateProperty = broke ground | ontologyProperty = buildingStartDate }} | |||
{{DateIntervalMapping | |||
| templateProperty = built | |||
| startDateOntologyProperty = buildingStartDate | |||
| endDateOntologyProperty = buildingEndDate | |||
}} | |||
{{PropertyMapping | templateProperty = opened | ontologyProperty = openingDate }} | |||
{{PropertyMapping | templateProperty = reopened | ontologyProperty = reopeningDate }} | |||
{{PropertyMapping | templateProperty = closed | ontologyProperty = closingDate }} | |||
{{ PropertyMapping | templateProperty = renovated | ontologyProperty = rebuildingDate }} | |||
{{PropertyMapping | templateProperty = rebuilt | ontologyProperty = rebuildingDate }} | |||
{{PropertyMapping | templateProperty = demolished | ontologyProperty = demolitionDate }} | |||
{{ PropertyMapping | templateProperty = construction_cost | ontologyProperty = cost | unit = Currency }} | |||
{{ PropertyMapping | templateProperty = genre | ontologyProperty = genre }} | {{ PropertyMapping | templateProperty = genre | ontologyProperty = genre }} | ||
{{ PropertyMapping | templateProperty = owner | ontologyProperty = owner }} | {{ PropertyMapping | templateProperty = owner | ontologyProperty = owner }} | ||
{{ PropertyMapping | templateProperty = operator | ontologyProperty = operator }} | |||
{{ PropertyMapping | templateProperty = architect | ontologyProperty = architect }} | |||
{{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }} | {{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }} | ||
{{ PropertyMapping | templateProperty = Acreage | ontologyProperty = areaTotal |unit = Area }} | |||
{{ PropertyMapping | templateProperty = acreage | ontologyProperty = areaTotal | unit = Area }} | |||
{{ PropertyMapping | templateProperty = capacity | ontologyProperty = seatingCapacity }} | |||
{{ PropertyMapping | templateProperty = seating_capacity | ontologyProperty = seatingCapacity }} | |||
{{ PropertyMapping | templateProperty = production | ontologyProperty = currentProduction }} | |||
{{PropertyMapping | templateProperty = currentuse | ontologyProperty = currentlyUsedFor }} | |||
{{ PropertyMapping | templateProperty = nickname | ontologyProperty = foaf:nick }} | {{ PropertyMapping | templateProperty = nickname | ontologyProperty = foaf:nick }} | ||
{{ PropertyMapping | templateProperty = suites | ontologyProperty = numberOfSuites }} | |||
{{GeocoordinatesMapping | latitude = latitude | longitude = longitude }} | |||
{{GeocoordinatesMapping | coordinates = coordinates }} | |||
{{ GeocoordinatesMapping | coordinates = coordinates | latitudeDegrees = latd | latitudeDirection = latNS | latitudeMinutes = latm | latitudeSeconds = lats | longitudeDegrees = longd | longitudeDirection = longEW | longitudeMinutes = longm | longitudeSeconds = longs }} | |||
{{ GeocoordinatesMapping | coordinates = coordinates | latitude = latitude | longitude = longitude | longitudeDegrees = longd | longitudeMinutes = longm | longitudeSeconds = longs | longitudeDirection = longEW | latitudeDegrees = latd | latitudeMinutes = latm | latitudeSeconds = lats | latitudeDirection = latNS }} | |||
}} | }} |
Latest revision as of 18:10, 31 October 2017
This is the mapping for the Wikipedia template Infobox venue. 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 | type |
operator | contains |
value | Sport |
Template Mapping (help) map to class Stadium
Condition (help) | |
---|---|
template property | type |
operator | contains |
value | Stadium |
Template Mapping (help) map to class Stadium
Condition (help) | |
---|---|
template property | type |
operator | contains |
value | Arena |
Template Mapping (help) map to class Stadium
Condition (help) | |
---|---|
template property | type |
operator | contains |
value | Movie |
Template Mapping (help) map to class Cinema
Condition (help) | |
---|---|
template property | type |
operator | contains |
value | Cinema |
Template Mapping (help) map to class Cinema
Condition (help) | |
---|---|
template property | type |
operator | contains |
value | Theat |
Template Mapping (help) map to class Theatre
Condition (help) | |
---|---|
template property | type |
operator | contains |
value | Broadway |
Template Mapping (help) map to class Theatre
Condition (help) | |
---|---|
template property | type |
operator | contains |
value | Opera |
Template Mapping (help) map to class Theatre
Condition (help) | |
---|---|
otherwise |
Template Mapping (help) map to class Venue
Default Mappings
Property Mapping (help) template property name ontology property foaf:name
Property Mapping (help) template property nickname ontology property foaf:nick
Property Mapping (help) template property fullname ontology property foaf:name
Property Mapping (help) template property stadium_name ontology property foaf:name
Property Mapping (help) template property centre_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 former_names ontology property formerName
Property Mapping (help) template property othernames ontology property alternativeName
Property Mapping (help) template property address ontology property address
Property Mapping (help) template property location ontology property location
Property Mapping (help) template property city ontology property city
Property Mapping (help) template property country ontology property country
Property Mapping (help) template property type ontology property type
Property Mapping (help) template property tenants ontology property tenant
Property Mapping (help) template property broke_ground ontology property buildingStartDate
Property Mapping (help) template property broke ground ontology property buildingStartDate
Date Interval Mapping (help) template property built start date ontology property buildingStartDate end date ontology property buildingEndDate
Property Mapping (help) template property opened ontology property openingDate
Property Mapping (help) template property reopened ontology property reopeningDate
Property Mapping (help) template property closed ontology property closingDate
Property Mapping (help) template property renovated ontology property rebuildingDate
Property Mapping (help) template property rebuilt ontology property rebuildingDate
Property Mapping (help) template property demolished ontology property demolitionDate
Property Mapping (help) template property construction_cost ontology property cost unit Currency
Property Mapping (help) template property genre ontology property genre
Property Mapping (help) template property owner ontology property owner
Property Mapping (help) template property operator ontology property operator
Property Mapping (help) template property architect ontology property architect
Property Mapping (help) template property website ontology property foaf:homepage
Property Mapping (help) template property Acreage ontology property areaTotal unit Area
Property Mapping (help) template property acreage ontology property areaTotal unit Area
Property Mapping (help) template property capacity ontology property seatingCapacity
Property Mapping (help) template property seating_capacity ontology property seatingCapacity
Property Mapping (help) template property production ontology property currentProduction
Property Mapping (help) template property currentuse ontology property currentlyUsedFor
Property Mapping (help) template property nickname ontology property foaf:nick
Property Mapping (help) template property suites ontology property numberOfSuites
Geocoordinates Mapping (help) latitude template property latitude longitude template property longitude
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
Geocoordinates Mapping (help) coordinates template property coordinates latitude template property latitude longitude template property longitude 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