Mapping en:Infobox North American Automobile: Difference between revisions
From DBpedia Mappings
Jump to navigationJump to search
(initial mapping) |
(rtrim on lines) |
||
Line 2: | Line 2: | ||
|mapToClass = Automobile | |mapToClass = Automobile | ||
|mappings = | |mappings = | ||
{{DBpediaPropertyMapping | templateProperty = name | ontologyProperty = | {{DBpediaPropertyMapping | templateProperty = name | ontologyProperty = | ||
foaf:name}} | foaf:name}} | ||
{{DBpediaPropertyMapping | templateProperty = manufacturer | ontologyProperty = manufacturingCompany}} | {{DBpediaPropertyMapping | templateProperty = manufacturer | ontologyProperty = manufacturingCompany}} | ||
{{DBpediaPropertyMapping | templateProperty = parent_company | ontologyProperty = parentCompany}} | {{DBpediaPropertyMapping | templateProperty = parent_company | ontologyProperty = parentCompany}} | ||
{{DBpediaPropertyMapping | templateProperty = aka | ontologyProperty = | {{DBpediaPropertyMapping | templateProperty = aka | ontologyProperty = | ||
foaf:name}} | foaf:name}} | ||
{{DBpediaDateIntervalMapping | templateProperty = production | | {{DBpediaDateIntervalMapping | templateProperty = production | | ||
startDateOntologyProperty = productionStartDate| | startDateOntologyProperty = productionStartDate| | ||
endDateOntologyProperty = productionEndDate}} | endDateOntologyProperty = productionEndDate}} | ||
{{DBpediaDateIntervalMapping | templateProperty = production | | {{DBpediaDateIntervalMapping | templateProperty = production | | ||
startDateOntologyProperty = productionStartYear| | startDateOntologyProperty = productionStartYear| | ||
endDateOntologyProperty = productionEndYear}} | endDateOntologyProperty = productionEndYear}} | ||
{{DBpediaDateIntervalMapping | templateProperty = model_year | | {{DBpediaDateIntervalMapping | templateProperty = model_year | | ||
startDateOntologyProperty = modelStartDate| | startDateOntologyProperty = modelStartDate| | ||
endDateOntologyProperty = modelEndDate}} | endDateOntologyProperty = modelEndDate}} | ||
{{DBpediaDateIntervalMapping | templateProperty = model_year | | {{DBpediaDateIntervalMapping | templateProperty = model_year | | ||
startDateOntologyProperty = modelStartYear| | startDateOntologyProperty = modelStartYear| | ||
endDateOntologyProperty = modelEndYear}} | endDateOntologyProperty = modelEndYear}} | ||
{{DBpediaPropertyMapping | templateProperty = assembly | ontologyProperty = assembly}} | {{DBpediaPropertyMapping | templateProperty = assembly | ontologyProperty = assembly}} | ||
{{DBpediaPropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor}} | {{DBpediaPropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor}} | ||
{{DBpediaPropertyMapping | templateProperty = successor | ontologyProperty = successor}} | {{DBpediaPropertyMapping | templateProperty = successor | ontologyProperty = successor}} | ||
{{DBpediaPropertyMapping | templateProperty = class | ontologyProperty = class}} | {{DBpediaPropertyMapping | templateProperty = class | ontologyProperty = class}} | ||
{{DBpediaPropertyMapping | templateProperty = body_style | ontologyProperty = bodyStyle }} | {{DBpediaPropertyMapping | templateProperty = body_style | ontologyProperty = bodyStyle }} | ||
{{DBpediaPropertyMapping | templateProperty = layout | ontologyProperty = layout }} | {{DBpediaPropertyMapping | templateProperty = layout | ontologyProperty = layout }} | ||
{{DBpediaPropertyMapping | templateProperty = platform | ontologyProperty = platform}} | {{DBpediaPropertyMapping | templateProperty = platform | ontologyProperty = platform}} | ||
{{DBpediaIntermediateNodeMapping | nodeClass = AutomobileEngine | | {{DBpediaIntermediateNodeMapping | nodeClass = AutomobileEngine | | ||
correspondingProperty = engine | nodeURI = | correspondingProperty = engine | nodeURI = | ||
/{superResource}/Engine/{number} | mappings = | /{superResource}/Engine/{number} | mappings = | ||
{{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = powerOutput | unit = Power }} | {{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = powerOutput | unit = Power }} | ||
{{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = displacement | unit = Volume }} | {{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = displacement | unit = Volume }} | ||
<!-- Produces wrong results in many cases | <!-- Produces wrong results in many cases | ||
{{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = | {{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = | ||
foaf:name}} | foaf:name}} | ||
{{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = valvetrain}} | {{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = valvetrain}} | ||
--> | --> | ||
}} | }} | ||
{{DBpediaPropertyMapping | templateProperty = transmission | ontologyProperty = transmission}} | {{DBpediaPropertyMapping | templateProperty = transmission | ontologyProperty = transmission}} | ||
{{DBpediaPropertyMapping | templateProperty = wheelbase | ontologyProperty = wheelbase | unit = millimetre}} | {{DBpediaPropertyMapping | templateProperty = wheelbase | ontologyProperty = wheelbase | unit = millimetre}} | ||
{{DBpediaPropertyMapping | templateProperty = length | ontologyProperty = length | unit = Length}} | {{DBpediaPropertyMapping | templateProperty = length | ontologyProperty = length | unit = Length}} | ||
{{DBpediaPropertyMapping | templateProperty = width | ontologyProperty = width | unit = Length}} | {{DBpediaPropertyMapping | templateProperty = width | ontologyProperty = width | unit = Length}} | ||
{{DBpediaPropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length}} | {{DBpediaPropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length}} | ||
{{DBpediaPropertyMapping | templateProperty = weight | ontologyProperty = weight | unit = Mass}} | {{DBpediaPropertyMapping | templateProperty = weight | ontologyProperty = weight | unit = Mass}} | ||
{{DBpediaPropertyMapping | templateProperty = related | ontologyProperty = relatedMeanOfTransportation}} | {{DBpediaPropertyMapping | templateProperty = related | ontologyProperty = relatedMeanOfTransportation}} | ||
{{DBpediaPropertyMapping | templateProperty = designer | ontologyProperty = designer}} | {{DBpediaPropertyMapping | templateProperty = designer | ontologyProperty = designer}} | ||
{{DBpediaPropertyMapping | templateProperty = designer | ontologyProperty = designCompany}} | {{DBpediaPropertyMapping | templateProperty = designer | ontologyProperty = designCompany}} | ||
}} | }} |