Mapping en:Infobox automobile: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|correspondingProperty = variantOf
|correspondingProperty = variantOf
|mappings =
|mappings =
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name}}
{{PropertyMapping | templateProperty = manufacturer | ontologyProperty = manufacturer }}
{{PropertyMapping | templateProperty = manufacturer | ontologyProperty = manufacturer }}
{{PropertyMapping | templateProperty = parent_company | ontologyProperty = parentCompany }}
{{PropertyMapping | templateProperty = factory | ontologyProperty = manufactory }}
{{PropertyMapping | templateProperty = aka | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = parent_company | ontologyProperty = parentCompany}}
 
{{PropertyMapping | templateProperty = aka | ontologyProperty = alternativeName}}
{{DateIntervalMapping | templateProperty = production
{{PropertyMapping | templateProperty = type | ontologyProperty = type}}
| startDateOntologyProperty = productionStartDate
{{PropertyMapping | templateProperty = designer | ontologyProperty = designer}}
| endDateOntologyProperty = productionEndDate
{{PropertyMapping | templateProperty = designer | ontologyProperty = designCompany}}
}}
{{PropertyMapping | templateProperty = class | ontologyProperty = class}}
{{DateIntervalMapping | templateProperty = production
{{PropertyMapping | templateProperty = body_style | ontologyProperty = bodyStyle }}
| startDateOntologyProperty = productionStartYear
| endDateOntologyProperty = productionEndYear
}}
{{DateIntervalMapping | templateProperty = model_years
| startDateOntologyProperty = modelStartDate
| endDateOntologyProperty = modelEndDate
}}
{{DateIntervalMapping | templateProperty = model_years
| startDateOntologyProperty = modelStartYear
| endDateOntologyProperty = modelEndYear
}}
 
{{PropertyMapping | templateProperty = production_start | ontologyProperty = productionStartDate}}
{{PropertyMapping | templateProperty = production_start | ontologyProperty = productionStartYear}}
{{PropertyMapping | templateProperty = production_end | ontologyProperty = productionEndDate}}
{{PropertyMapping | templateProperty = production_end | ontologyProperty = productionEndYear}}
{{PropertyMapping | templateProperty = assembly | ontologyProperty = assembly}}
{{PropertyMapping | templateProperty = assembly | ontologyProperty = assembly}}
{{PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor}}
{{PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor}}
{{PropertyMapping | templateProperty = successor | ontologyProperty = successor}}
{{PropertyMapping | templateProperty = successor | ontologyProperty = successor}}
{{PropertyMapping | templateProperty = class | ontologyProperty = class}}
{{PropertyMapping | templateProperty = replaced | ontologyProperty = successor}}
{{PropertyMapping | templateProperty = body_style | ontologyProperty = bodyStyle }}
{{PropertyMapping | templateProperty = layout | ontologyProperty = layout }}
{{PropertyMapping | templateProperty = layout | ontologyProperty = layout }}
{{PropertyMapping | templateProperty = platform | ontologyProperty = automobilePlatform}}
{{PropertyMapping | templateProperty = platform | ontologyProperty = automobilePlatform}}
 
{{PropertyMapping | templateProperty = range | ontologyProperty = range }}
    <!-- Produces wrong results in many cases
{{PropertyMapping | templateProperty = electric_range | ontologyProperty = range }}
{{DateIntervalMapping | templateProperty = production |
startDateOntologyProperty = productionStartDate|
endDateOntologyProperty = productionEndDate}}
{{DateIntervalMapping | templateProperty = production |
startDateOntologyProperty = productionStartYear|
endDateOntologyProperty = productionEndYear}}
{{DateIntervalMapping | templateProperty = model_years |
startDateOntologyProperty = modelStartDate|
endDateOntologyProperty = modelEndDate}}
{{DateIntervalMapping | templateProperty = model_years |
startDateOntologyProperty = modelStartYear|
endDateOntologyProperty = modelEndYear}}
{{PropertyMapping | templateProperty = production_start | ontologyProperty = productionStartDate}}
{{PropertyMapping | templateProperty = production_start | ontologyProperty = productionStartYear}}
{{PropertyMapping | templateProperty = production_end | ontologyProperty = productionEndDate}}
{{PropertyMapping | templateProperty = production_end | ontologyProperty = productionEndYear}}
{{PropertyMapping | templateProperty = engine | ontologyProperty = engine}}
{{PropertyMapping | templateProperty = engine | ontologyProperty = engine}}
    -->
{{IntermediateNodeMapping  
 
| nodeClass = AutomobileEngine  
{{IntermediateNodeMapping
| correspondingProperty = engine  
| nodeClass = AutomobileEngine
| correspondingProperty = engine
| nodeURI = /{superResource}/Engine/{number}
| mappings =
| mappings =
    {{PropertyMapping | templateProperty = engine | ontologyProperty = powerOutput | unit = Power }}
{{PropertyMapping | templateProperty = motor | ontologyProperty = powerOutput | unit = Power }}
    {{PropertyMapping | templateProperty = powerout Power | ontologyProperty = powerOutput | unit = Power }}
{{PropertyMapping | templateProperty = engine | ontologyProperty = displacement | unit = Volume }}
{{PropertyMapping | templateProperty = engine | ontologyProperty = displacement | unit = Volume }}
{{PropertyMapping | templateProperty = engine | ontologyProperty = configuration | unit = engineConfiguration }}
{{PropertyMapping | templateProperty = engine | ontologyProperty = configuration | unit = engineConfiguration }}
<!-- Produces wrong results in many cases
{{PropertyMapping | templateProperty = engine | ontologyProperty = foaf:name}}
{{PropertyMapping | templateProperty = engine | ontologyProperty = valvetrain}}
    -->
}}
}}
{{PropertyMapping | templateProperty = transmission | ontologyProperty = transmission}}
{{PropertyMapping | templateProperty = transmission | ontologyProperty = transmission}}
Line 62: Line 55:
{{PropertyMapping | templateProperty = weight | ontologyProperty = weight | unit = Mass}}
{{PropertyMapping | templateProperty = weight | ontologyProperty = weight | unit = Mass}}
{{PropertyMapping | templateProperty = related | ontologyProperty = relatedMeanOfTransportation}}
{{PropertyMapping | templateProperty = related | ontologyProperty = relatedMeanOfTransportation}}
{{PropertyMapping | templateProperty = fuel_capacity | ontologyProperty = fuelCapacity | unit = Volume }}
{{PropertyMapping | templateProperty = doors | ontologyProperty = numberOfDoors}}
{{PropertyMapping | templateProperty = fuel capacity | ontologyProperty = fuelCapacity | unit = Volume }}
{{PropertyMapping | templateProperty = battery | ontologyProperty = battery}}
{{PropertyMapping | templateProperty = designer | ontologyProperty = designer}}
  {{PropertyMapping | templateProperty = fuel_capacity | ontologyProperty = fuelCapacity | unit = Volume }}
{{PropertyMapping | templateProperty = designer | ontologyProperty = designCompany}}
  {{PropertyMapping | templateProperty = fuel capacity | ontologyProperty = fuelCapacity | unit = Volume }}
}}
}}

Latest revision as of 18:31, 31 October 2017

This is the mapping for the Wikipedia template Infobox automobile. 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 Automobile
corresponding class Automobile
corresponding property variantOf

Mappings




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




Property Mapping (help)
template property manufacturer
ontology property manufacturer




Property Mapping (help)
template property factory
ontology property manufactory




Property Mapping (help)
template property parent_company
ontology property parentCompany




Property Mapping (help)
template property aka
ontology property alternativeName




Property Mapping (help)
template property type
ontology property type




Property Mapping (help)
template property designer
ontology property designer




Property Mapping (help)
template property designer
ontology property designCompany




Property Mapping (help)
template property class
ontology property class




Property Mapping (help)
template property body_style
ontology property bodyStyle




Property Mapping (help)
template property assembly
ontology property assembly




Property Mapping (help)
template property predecessor
ontology property predecessor




Property Mapping (help)
template property successor
ontology property successor




Property Mapping (help)
template property replaced
ontology property successor




Property Mapping (help)
template property layout
ontology property layout




Property Mapping (help)
template property platform
ontology property automobilePlatform




Property Mapping (help)
template property range
ontology property range




Property Mapping (help)
template property electric_range
ontology property range


Date Interval Mapping (help)
template property production
start date ontology property productionStartDate
end date ontology property productionEndDate


Date Interval Mapping (help)
template property production
start date ontology property productionStartYear
end date ontology property productionEndYear


Date Interval Mapping (help)
template property model_years
start date ontology property modelStartDate
end date ontology property modelEndDate


Date Interval Mapping (help)
template property model_years
start date ontology property modelStartYear
end date ontology property modelEndYear




Property Mapping (help)
template property production_start
ontology property productionStartDate




Property Mapping (help)
template property production_start
ontology property productionStartYear




Property Mapping (help)
template property production_end
ontology property productionEndDate




Property Mapping (help)
template property production_end
ontology property productionEndYear




Property Mapping (help)
template property engine
ontology property engine


Intermediate Node Mapping (help)
node class AutomobileEngine
corresponding property engine


Property Mapping (help)
template property motor
ontology property powerOutput
unitPower


Property Mapping (help)
template property powerout Power
ontology property powerOutput
unitPower


Property Mapping (help)
template property engine
ontology property displacement
unitVolume


Property Mapping (help)
template property engine
ontology property configuration
unitengineConfiguration




Property Mapping (help)
template property transmission
ontology property transmission


Property Mapping (help)
template property wheelbase
ontology property wheelbase
unitmillimetre


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


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


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


Property Mapping (help)
template property weight
ontology property weight
unitMass







Property Mapping (help)
template property doors
ontology property numberOfDoors




Property Mapping (help)
template property battery
ontology property battery


Property Mapping (help)
template property fuel_capacity
ontology property fuelCapacity
unitVolume


Property Mapping (help)
template property fuel capacity
ontology property fuelCapacity
unitVolume