Mapping en:Infobox automobile: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
Line 4: 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 = manufacturer | ontologyProperty = manufacturer }}
{{PropertyMapping | templateProperty = parent_company | ontologyProperty = parentCompany }}
{{PropertyMapping | templateProperty = aka | ontologyProperty = foaf:name }}


{{PropertyMapping | templateProperty = parent_company | ontologyProperty = parentCompany}}
{{DateIntervalMapping | templateProperty = production
 
| startDateOntologyProperty = productionStartDate
{{PropertyMapping | templateProperty = aka | ontologyProperty =
| endDateOntologyProperty = productionEndDate
foaf:name}}
}}
 
{{DateIntervalMapping | templateProperty = production
{{DateIntervalMapping | templateProperty = production |
| startDateOntologyProperty = productionStartYear
startDateOntologyProperty = productionStartDate|
| endDateOntologyProperty = productionEndYear
endDateOntologyProperty = productionEndDate}}
}}
 
{{DateIntervalMapping | templateProperty = model_years
{{DateIntervalMapping | templateProperty = production |
| startDateOntologyProperty = modelStartDate
startDateOntologyProperty = productionStartYear|
| endDateOntologyProperty = modelEndDate
endDateOntologyProperty = productionEndYear}}
}}
 
{{DateIntervalMapping | templateProperty = model_years
{{DateIntervalMapping | templateProperty = model_years |
| startDateOntologyProperty = modelStartYear
startDateOntologyProperty = modelStartDate|
| endDateOntologyProperty = modelEndYear
endDateOntologyProperty = modelEndDate}}
}}
 
{{DateIntervalMapping | templateProperty = model_years |
startDateOntologyProperty = modelStartYear|
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 = 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 = class | ontologyProperty = class}}
{{PropertyMapping | templateProperty = body_style | ontologyProperty = bodyStyle }}
{{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}}


Line 56: Line 42:
     -->
     -->


{{IntermediateNodeMapping | nodeClass = AutomobileEngine |
{{IntermediateNodeMapping
correspondingProperty = engine | nodeURI =
| nodeClass = AutomobileEngine
/{superResource}/Engine/{number} | mappings =
| correspondingProperty = engine
 
| nodeURI = /{superResource}/Engine/{number}
| mappings =
     {{PropertyMapping | templateProperty = engine | 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
    <!-- Produces wrong results in many cases
{{PropertyMapping | templateProperty = engine | ontologyProperty = foaf:name}}
{{PropertyMapping | templateProperty = engine | ontologyProperty =
foaf:name}}
 
{{PropertyMapping | templateProperty = engine | ontologyProperty = valvetrain}}
{{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 = fuel_capacity | ontologyProperty = fuelCapacity | unit = Volume }}
{{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 = designer}}
{{PropertyMapping | templateProperty = designer | ontologyProperty = designCompany}}
{{PropertyMapping | templateProperty = designer | ontologyProperty = designCompany}}
}}
}}

Revision as of 22:42, 15 June 2011

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 parent_company
ontology property parentCompany




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


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 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 class
ontology property class




Property Mapping (help)
template property body_style
ontology property bodyStyle




Property Mapping (help)
template property layout
ontology property layout




Property Mapping (help)
template property platform
ontology property automobilePlatform



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


Property Mapping (help)
template property engine
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 fuel_capacity
ontology property fuelCapacity
unitVolume


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




Property Mapping (help)
template property designer
ontology property designer




Property Mapping (help)
template property designer
ontology property designCompany