Mapping en:Infobox food: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
m (moved Mapping en:Infobox prepared food to Mapping en:Infobox food: template is redirected)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
| mapToClass = Food
| mapToClass = Food
| mappings =
| mappings =
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
  {{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} <!-- TODO: name_lang -->
{{PropertyMapping | templateProperty = image | ontologyProperty = picture }}
  {{PropertyMapping | templateProperty = alternate name | ontologyProperty = alias }}
{{PropertyMapping | templateProperty = alternate_name | ontologyProperty = alias }}
  {{PropertyMapping | templateProperty = alternate_name | ontologyProperty = alias }}
{{PropertyMapping | templateProperty = country | ontologyProperty = origin }}
 
{{PropertyMapping | templateProperty = region | ontologyProperty = origin }}
  {{PropertyMapping | templateProperty = country | ontologyProperty = country }} <!-- origin -->
{{PropertyMapping | templateProperty = creator | ontologyProperty = creatorOfDish }}
  {{PropertyMapping | templateProperty = national_cuisine | ontologyProperty = cuisine }}
{{PropertyMapping | templateProperty = course | ontologyProperty = type }}
  {{PropertyMapping | templateProperty = region | ontologyProperty = region }}  <!-- origin -->
{{PropertyMapping | templateProperty = served | ontologyProperty = servingTemperature }}
  {{PropertyMapping | templateProperty = creator | ontologyProperty = creatorOfDish }}
{{PropertyMapping | templateProperty = main_ingredient | ontologyProperty = ingredient }}
  {{PropertyMapping | templateProperty = creators | ontologyProperty = creatorOfDish }}
{{PropertyMapping | templateProperty = variations | ontologyProperty = hasVariant }}
  {{PropertyMapping | templateProperty = year | ontologyProperty = year }}
{{PropertyMapping | templateProperty = calories | ontologyProperty = approximateCalories }}
  {{PropertyMapping | templateProperty = other | ontologyProperty = notes }}
 
  {{PropertyMapping | templateProperty = course | ontologyProperty = type }} <!-- object -->
  {{PropertyMapping | templateProperty = course | ontologyProperty = dc:type }} <!-- literal -->
  {{PropertyMapping | templateProperty = type | ontologyProperty = type }} <!-- TODO: object or literal? -->
  {{PropertyMapping | templateProperty = image | ontologyProperty = picture }}
  {{PropertyMapping | templateProperty = main_ingredient | ontologyProperty = ingredient }}
  {{PropertyMapping | templateProperty = main_ingredient | ontologyProperty = ingredientName }}
  <!-- {{PropertyMapping | templateProperty = minor_ingredient | ontologyProperty = ingredient }} : main_ingredient already includes several. Need to investigate minors -->
 
  {{PropertyMapping | templateProperty = complexity | ontologyProperty = complexity }}
  {{PropertyMapping | templateProperty = mintime | ontologyProperty = minTime | unit = Time }}
  {{PropertyMapping | templateProperty = maxtime | ontologyProperty = maxTime | unit = Time }}
  {{PropertyMapping | templateProperty = time1  | ontologyProperty = minTime | unit = Time }}
  {{PropertyMapping | templateProperty = time2  | ontologyProperty = maxTime | unit = Time }}
 
  {{PropertyMapping | templateProperty = similar_dish | ontologyProperty = related }}
  {{PropertyMapping | templateProperty = variations | ontologyProperty = hasVariant }}
  {{PropertyMapping | templateProperty = cookbook | ontologyProperty = isPartOf }}
 
  {{PropertyMapping | templateProperty = served        | ontologyProperty = servingTemperature }} <!-- TODO and other details, eg Fries "Hot ... with vinegar and mayo sauce" -->
  {{PropertyMapping | templateProperty = serving_size  | ontologyProperty = servingSize        | unit = Mass }}
  {{PropertyMapping | templateProperty = calories       | ontologyProperty = approximateCalories | unit = Energy }}
  {{PropertyMapping | templateProperty = carbohydrate  | ontologyProperty = carbohydrate        | unit = Mass }}
  {{PropertyMapping | templateProperty = fat            | ontologyProperty = fat                | unit = Mass }}
  {{PropertyMapping | templateProperty = protein        | ontologyProperty = protein            | unit = Mass }}
  {{PropertyMapping | templateProperty = glycemic_index | ontologyProperty = glycemicIndex }}
}}
}}

Latest revision as of 11:20, 13 August 2015

This is the mapping for the Wikipedia template Infobox food. 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 Food

Mappings




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




Property Mapping (help)
template property alternate name
ontology property alias




Property Mapping (help)
template property alternate_name
ontology property alias





Property Mapping (help)
template property country
ontology property country




Property Mapping (help)
template property national_cuisine
ontology property cuisine




Property Mapping (help)
template property region
ontology property region




Property Mapping (help)
template property creator
ontology property creatorOfDish




Property Mapping (help)
template property creators
ontology property creatorOfDish




Property Mapping (help)
template property year
ontology property year




Property Mapping (help)
template property other
ontology property notes





Property Mapping (help)
template property course
ontology property type




Property Mapping (help)
template property course
ontology property dc:type




Property Mapping (help)
template property type
ontology property type




Property Mapping (help)
template property image
ontology property picture




Property Mapping (help)
template property main_ingredient
ontology property ingredient




Property Mapping (help)
template property main_ingredient
ontology property ingredientName





Property Mapping (help)
template property complexity
ontology property complexity


Property Mapping (help)
template property mintime
ontology property minTime
unitTime


Property Mapping (help)
template property maxtime
ontology property maxTime
unitTime


Property Mapping (help)
template property time1
ontology property minTime
unitTime


Property Mapping (help)
template property time2
ontology property maxTime
unitTime





Property Mapping (help)
template property similar_dish
ontology property related




Property Mapping (help)
template property variations
ontology property hasVariant




Property Mapping (help)
template property cookbook
ontology property isPartOf





Property Mapping (help)
template property served
ontology property servingTemperature


Property Mapping (help)
template property serving_size
ontology property servingSize
unitMass


Property Mapping (help)
template property calories
ontology property approximateCalories
unitEnergy


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


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


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




Property Mapping (help)
template property glycemic_index
ontology property glycemicIndex