Mapping en:Infobox automobile: Difference between revisions
From DBpedia Mappings
Jump to navigationJump to search
(initial mapping) |
(rtrim on lines) |
||
Line 4: | Line 4: | ||
|correspondingProperty = variantOf | |correspondingProperty = variantOf | ||
|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_years | | {{DBpediaDateIntervalMapping | templateProperty = model_years | | ||
startDateOntologyProperty = modelStartDate| | startDateOntologyProperty = modelStartDate| | ||
endDateOntologyProperty = modelEndDate}} | endDateOntologyProperty = modelEndDate}} | ||
{{DBpediaDateIntervalMapping | templateProperty = model_years | | {{DBpediaDateIntervalMapping | templateProperty = model_years | | ||
startDateOntologyProperty = modelStartYear| | startDateOntologyProperty = modelStartYear| | ||
endDateOntologyProperty = modelEndYear}} | endDateOntologyProperty = modelEndYear}} | ||
{{DBpediaPropertyMapping | templateProperty = production_start | ontologyProperty = productionStartDate}} | {{DBpediaPropertyMapping | templateProperty = production_start | ontologyProperty = productionStartDate}} | ||
{{DBpediaPropertyMapping | templateProperty = production_start | ontologyProperty = productionStartYear}} | {{DBpediaPropertyMapping | templateProperty = production_start | ontologyProperty = productionStartYear}} | ||
{{DBpediaPropertyMapping | templateProperty = production_end | ontologyProperty = productionEndDate}} | {{DBpediaPropertyMapping | templateProperty = production_end | ontologyProperty = productionEndDate}} | ||
{{DBpediaPropertyMapping | templateProperty = production_end | ontologyProperty = productionEndYear}} | {{DBpediaPropertyMapping | templateProperty = production_end | ontologyProperty = productionEndYear}} | ||
{{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}} | ||
<!-- Produces wrong results in many cases | <!-- Produces wrong results in many cases | ||
{{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = engine}} | {{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = engine}} | ||
--> | --> | ||
{{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 }} | ||
{{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = configuration | unit = engineConfiguration }} | {{DBpediaPropertyMapping | templateProperty = engine | ontologyProperty = configuration | unit = engineConfiguration }} | ||
<!-- 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 = fuel_capacity | ontologyProperty = fuelCapacity | unit = Volume }} | {{DBpediaPropertyMapping | templateProperty = fuel_capacity | ontologyProperty = fuelCapacity | unit = Volume }} | ||
{{DBpediaPropertyMapping | templateProperty = fuel capacity | ontologyProperty = fuelCapacity | unit = Volume }} | {{DBpediaPropertyMapping | templateProperty = fuel capacity | ontologyProperty = fuelCapacity | unit = Volume }} | ||
{{DBpediaPropertyMapping | templateProperty = designer | ontologyProperty = designer}} | {{DBpediaPropertyMapping | templateProperty = designer | ontologyProperty = designer}} | ||
{{DBpediaPropertyMapping | templateProperty = designer | ontologyProperty = designCompany}} | {{DBpediaPropertyMapping | templateProperty = designer | ontologyProperty = designCompany}} | ||
}} | }} |