Mapping ja:Infobox Prepared Food: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(Created page with "{{ TemplateMapping | mapToClass = Food | mappings = {{ PropertyMapping | templateProperty = name | ontologyProperty = rdfs:label }} {{ PropertyMapping | templat...")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
   | mapToClass = Food  
   | mapToClass = Food  
   | mappings =  
   | mappings =  
    {{ PropertyMapping | templateProperty = name | ontologyProperty = rdfs:label }}
  {{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} <!-- TODO: name_lang -->
    {{ PropertyMapping | templateProperty = main_ingredient | ontologyProperty = ingredient }}
  {{PropertyMapping | templateProperty = alternate name | ontologyProperty = alias }}
    {{ PropertyMapping | templateProperty = caption | ontologyProperty = description }}
  {{PropertyMapping | templateProperty = alternate_name | ontologyProperty = alias }}
    {{ PropertyMapping | templateProperty = country | ontologyProperty = country }}
  {{PropertyMapping | templateProperty = enname | ontologyProperty = alias }}
    {{ PropertyMapping | templateProperty = variants | ontologyProperty = hasVariant }}
 
    {{ PropertyMapping | templateProperty = type | ontologyProperty = type }}
  {{PropertyMapping | templateProperty = country | ontologyProperty = country }} <!-- origin -->
    {{ PropertyMapping | templateProperty = region | ontologyProperty = region }}
  {{PropertyMapping | templateProperty = national_cuisine | ontologyProperty = cuisine }}
  {{PropertyMapping | templateProperty = region | ontologyProperty = region }}  <!-- origin -->
  {{PropertyMapping | templateProperty = creator | ontologyProperty = creatorOfDish }}
  {{PropertyMapping | templateProperty = year | ontologyProperty = year }}
  {{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 = caption | ontologyProperty = pictureDescription }}
  {{PropertyMapping | templateProperty = main_ingredient | ontologyProperty = ingredient }}
  {{PropertyMapping | templateProperty = main_ingredient | ontologyProperty = ingredientName }}
  {{PropertyMapping | templateProperty = minor_ingredient | ontologyProperty = ingredient }}
  {{PropertyMapping | templateProperty = minor_ingredient | ontologyProperty = ingredientName }}
 
  {{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 08:10, 8 November 2016

This is the mapping for the Wikipedia template Infobox Prepared 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 enname
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 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 caption
ontology property pictureDescription




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 minor_ingredient
ontology property ingredient




Property Mapping (help)
template property minor_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