Mapping it:Vino: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{ConditionalMapping
{{ TemplateMapping
| cases =
    | mapToClass = Wine
{{Condition
    | mappings =
| operator = equals
    {{ PropertyMapping | templateProperty = titolo_vino | ontologyProperty = percentageAlcohol }}
| templateProperty = tipo
    {{ PropertyMapping | templateProperty = resa_uva | ontologyProperty = numberOfVineyards }}
| value = Denominazione di Origine Controllata
| mapping = {{TemplateMapping | mapToClass = ControlledDesignationOfOriginWine}}
}}
{{Condition
| operator = otherwise
| mapping = {{TemplateMapping | mapToClass = Wine}}
}}
| defaultMappings =
<!-- {{ PropertyMapping | templateProperty = gazzetta_ufficiale | ontologyProperty = }} -->
 
{{ PropertyMapping | templateProperty = nome | ontologyProperty = foaf:name }}
 
<!-- {{ PropertyMapping | templateProperty = vitigno | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = titolo_vino | ontologyProperty = }} -->
 
{{ PropertyMapping | templateProperty = tipo | ontologyProperty = type}}
 
<!-- {{ PropertyMapping | templateProperty = resa_uva | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = resa_vino | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = data_decreto | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = estratto_secco | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = titolo_uva | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = note_decreto | ontologyProperty = }} -->
 
{{ PropertyMapping | templateProperty = paese | ontologyProperty = country }}
 
<!-- {{ PropertyMapping | templateProperty = dim | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = regione | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = fonte | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = regione2 | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = regione3 | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = regione4 | ontologyProperty = }} -->
}}
}}

Latest revision as of 09:41, 17 June 2014

This is the mapping for the Wikipedia template Vino. 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 Wine

Mappings




Property Mapping (help)
template property titolo_vino
ontology property percentageAlcohol




Property Mapping (help)
template property resa_uva
ontology property numberOfVineyards