Mapping en:Infobox automobile: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DisclaimerMapping|{{PAGENAMEE}}}}
{{TemplateMapping
{{TemplateMapping
|mapToClass = Automobile
|mapToClass = Automobile
Line 6: Line 4:
|correspondingProperty = variantOf
|correspondingProperty = variantOf
|mappings =
|mappings =
{{PropertyMapping | templateProperty = name | ontologyProperty =
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name}}
foaf:name}}
{{PropertyMapping | templateProperty = manufacturer | ontologyProperty = manufacturer }}
 
{{PropertyMapping | templateProperty = factory | ontologyProperty = manufactory }}
{{PropertyMapping | templateProperty = manufacturer | ontologyProperty = manufacturingCompany}}
 
{{PropertyMapping | templateProperty = parent_company | ontologyProperty = parentCompany}}
{{PropertyMapping | templateProperty = parent_company | ontologyProperty = parentCompany}}
 
{{PropertyMapping | templateProperty = aka | ontologyProperty = alternativeName}}
{{PropertyMapping | templateProperty = aka | ontologyProperty =
{{PropertyMapping | templateProperty = type | ontologyProperty = type}}
foaf:name}}
{{PropertyMapping | templateProperty = designer | ontologyProperty = designer}}
 
{{PropertyMapping | templateProperty = designer | ontologyProperty = designCompany}}
{{PropertyMapping | templateProperty = class | ontologyProperty = class}}
{{PropertyMapping | templateProperty = body_style | ontologyProperty = bodyStyle }}
{{PropertyMapping | templateProperty = assembly | ontologyProperty = assembly}}
{{PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor}}
{{PropertyMapping | templateProperty = successor | ontologyProperty = successor}}
{{PropertyMapping | templateProperty = replaced | ontologyProperty = successor}}
{{PropertyMapping | templateProperty = layout | ontologyProperty = layout }}
{{PropertyMapping | templateProperty = platform | ontologyProperty = automobilePlatform}}
{{PropertyMapping | templateProperty = range | ontologyProperty = range }}
{{PropertyMapping | templateProperty = electric_range | ontologyProperty = range }}
{{DateIntervalMapping | templateProperty = production |
{{DateIntervalMapping | templateProperty = production |
startDateOntologyProperty = productionStartDate|
startDateOntologyProperty = productionStartDate|
endDateOntologyProperty = productionEndDate}}
endDateOntologyProperty = productionEndDate}}
{{DateIntervalMapping | templateProperty = production |
{{DateIntervalMapping | templateProperty = production |
startDateOntologyProperty = productionStartYear|
startDateOntologyProperty = productionStartYear|
endDateOntologyProperty = productionEndYear}}
endDateOntologyProperty = productionEndYear}}
{{DateIntervalMapping | templateProperty = model_years |
{{DateIntervalMapping | templateProperty = model_years |
startDateOntologyProperty = modelStartDate|
startDateOntologyProperty = modelStartDate|
endDateOntologyProperty = modelEndDate}}
endDateOntologyProperty = modelEndDate}}
{{DateIntervalMapping | templateProperty = model_years |
{{DateIntervalMapping | templateProperty = model_years |
startDateOntologyProperty = modelStartYear|
startDateOntologyProperty = modelStartYear|
endDateOntologyProperty = modelEndYear}}
endDateOntologyProperty = modelEndYear}}
{{PropertyMapping | templateProperty = production_start | ontologyProperty = productionStartDate}}
{{PropertyMapping | templateProperty = production_start | ontologyProperty = productionStartDate}}
{{PropertyMapping | templateProperty = production_start | ontologyProperty = productionStartYear}}
{{PropertyMapping | templateProperty = production_start | ontologyProperty = productionStartYear}}
{{PropertyMapping | templateProperty = production_end | ontologyProperty = productionEndDate}}
{{PropertyMapping | templateProperty = production_end | ontologyProperty = productionEndDate}}
{{PropertyMapping | templateProperty = production_end | ontologyProperty = productionEndYear}}
{{PropertyMapping | templateProperty = production_end | ontologyProperty = productionEndYear}}
{{PropertyMapping | templateProperty = assembly | ontologyProperty = assembly}}
{{PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor}}
{{PropertyMapping | templateProperty = successor | ontologyProperty = successor}}
{{PropertyMapping | templateProperty = class | ontologyProperty = class}}
{{PropertyMapping | templateProperty = body_style | ontologyProperty = bodyStyle }}
{{PropertyMapping | templateProperty = layout | ontologyProperty = layout }}
{{PropertyMapping | templateProperty = platform | ontologyProperty = platform}}
    <!-- Produces wrong results in many cases
{{PropertyMapping | templateProperty = engine | ontologyProperty = engine}}
{{PropertyMapping | templateProperty = engine | ontologyProperty = engine}}
    -->
{{IntermediateNodeMapping  
 
| nodeClass = AutomobileEngine  
{{IntermediateNodeMapping | nodeClass = AutomobileEngine |
| correspondingProperty = engine  
correspondingProperty = engine | nodeURI =
| mappings =
/{superResource}/Engine/{number} | mappings =
{{PropertyMapping | templateProperty = motor | ontologyProperty = powerOutput | unit = Power }}
 
    {{PropertyMapping | templateProperty = powerout Power | ontologyProperty = powerOutput | unit = Power }}
    {{PropertyMapping | templateProperty = engine | 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}}
{{PropertyMapping | templateProperty = wheelbase | ontologyProperty = wheelbase | unit = millimetre}}
{{PropertyMapping | templateProperty = wheelbase | ontologyProperty = wheelbase | unit = millimetre}}
{{PropertyMapping | templateProperty = length | ontologyProperty = length | unit = Length}}
{{PropertyMapping | templateProperty = length | ontologyProperty = length | unit = Length}}
{{PropertyMapping | templateProperty = width | ontologyProperty = width | unit = Length}}
{{PropertyMapping | templateProperty = width | ontologyProperty = width | unit = Length}}
{{PropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length}}
{{PropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length}}
{{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 = doors | ontologyProperty = numberOfDoors}}
{{PropertyMapping | templateProperty = fuel_capacity | ontologyProperty = fuelCapacity | unit = Volume }}
{{PropertyMapping | templateProperty = battery | ontologyProperty = battery}}
 
  {{PropertyMapping | templateProperty = fuel_capacity | ontologyProperty = fuelCapacity | unit = Volume }}
{{PropertyMapping | templateProperty = fuel capacity | ontologyProperty = fuelCapacity | unit = Volume }}
  {{PropertyMapping | templateProperty = fuel capacity | ontologyProperty = fuelCapacity | unit = Volume }}
 
{{PropertyMapping | templateProperty = designer | ontologyProperty = designer}}
 
{{PropertyMapping | templateProperty = designer | ontologyProperty = designCompany}}
 
 
}}
}}

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