Mapping nl:Infobox Nobelprijswinnaar: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
m (land = country)
(IntermediateNodeMapping Award => NobelPrize)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{TemplateMapping
<!-- ConditionMapping for type of Person -->
| mapToClass = Award
{{ConditionalMapping
| mappings =
| cases =
{{Condition
    | templateProperty = typeprijs
    | operator = contains
    | value = Natuurkunde
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Scientist
                }}
 
}}
 
{{Condition
    | templateProperty = typeprijs
    | operator = contains
    | value = Scheikunde
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Scientist
                }}
 
}}
 
{{Condition
    | templateProperty = typeprijs
    | operator = contains
    | value = Fysiologie
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Scientist
                }}
 
}}
 
{{Condition
    | templateProperty = typeprijs
    | operator = contains
    | value = Geneeskunde
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Scientist
                }}
 
}}
 
{{Condition
    | templateProperty = typeprijs
    | operator = contains
    | value = Literatuur
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Writer
                }}
 
}}
 
<!-- 'otherwise', meestal Nobelprijs voor de Vrede of Prijs van de Zweedse Rijksbank voor economie -->
{{Condition
    | operator = otherwise
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Person
                }}
}}
 
 
<!-- DefaultMappings for every Person -->
| defaultMappings =
{{PropertyMapping | templateProperty = naam | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = naam | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = afbeelding | ontologyProperty = picture }}
{{PropertyMapping | templateProperty = afbeelding | ontologyProperty = picture }}
{{PropertyMapping | templateProperty = onderschrift | ontologyProperty = subtitle }}
{{PropertyMapping | templateProperty = onderschrift | ontologyProperty = pictureDescription }}
{{PropertyMapping | templateProperty = land | ontologyProperty = country }}
{{PropertyMapping | templateProperty = land | ontologyProperty = country }}
{{PropertyMapping | templateProperty = geboorteplaats | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = geboorteplaats | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = plaatsvanoverlijden | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = plaatsvanoverlijden | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = voor | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = op | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = nationaliteit | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = nationaliteit | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = jaar | ontologyProperty = year }}
{{DateIntervalMapping  
{{DateIntervalMapping  
         | templateProperty = periode  
         | templateProperty = periode  
Line 17: Line 75:
         | endDateOntologyProperty = deathDate
         | endDateOntologyProperty = deathDate
     }}
     }}
<!-- IntermediateNodeMapping for NobelPrize -->
{{IntermediateNodeMapping
| nodeClass = NobelPrize
| correspondingProperty = award
| mappings =
    {{PropertyMapping | templateProperty = voor | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = voor2 | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = op | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = op2 | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = jaar | ontologyProperty = year }}
{{PropertyMapping | templateProperty = jaar2 | ontologyProperty = year }}
{{PropertyMapping | templateProperty = typeprijs | ontologyProperty = category }}
{{PropertyMapping | templateProperty = typeprijs | ontologyProperty = category }}
{{PropertyMapping | templateProperty = typeprijs2 | ontologyProperty = category }}
{{PropertyMapping | templateProperty = met | ontologyProperty = alongside }}
{{PropertyMapping | templateProperty = met2 | ontologyProperty = alongside }}
}}
}}
}}

Latest revision as of 10:18, 4 July 2013

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

Conditions

Condition (help)
template property typeprijs
operator contains
value Natuurkunde
Template Mapping (help)
map to class Scientist


Condition (help)
template property typeprijs
operator contains
value Scheikunde
Template Mapping (help)
map to class Scientist


Condition (help)
template property typeprijs
operator contains
value Fysiologie
Template Mapping (help)
map to class Scientist


Condition (help)
template property typeprijs
operator contains
value Geneeskunde
Template Mapping (help)
map to class Scientist


Condition (help)
template property typeprijs
operator contains
value Literatuur
Template Mapping (help)
map to class Writer


Condition (help)
otherwise
Template Mapping (help)
map to class Person

Default Mappings




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




Property Mapping (help)
template property afbeelding
ontology property picture




Property Mapping (help)
template property onderschrift
ontology property pictureDescription




Property Mapping (help)
template property land
ontology property country




Property Mapping (help)
template property geboorteplaats
ontology property birthPlace




Property Mapping (help)
template property plaatsvanoverlijden
ontology property deathPlace




Property Mapping (help)
template property nationaliteit
ontology property nationality


Date Interval Mapping (help)
template property periode
start date ontology property birthDate
end date ontology property deathDate



Intermediate Node Mapping (help)
node class NobelPrize
corresponding property award




Property Mapping (help)
template property voor
ontology property predecessor




Property Mapping (help)
template property voor2
ontology property predecessor




Property Mapping (help)
template property op
ontology property successor




Property Mapping (help)
template property op2
ontology property successor




Property Mapping (help)
template property jaar
ontology property year




Property Mapping (help)
template property jaar2
ontology property year




Property Mapping (help)
template property typeprijs
ontology property category




Property Mapping (help)
template property typeprijs2
ontology property category




Property Mapping (help)
template property met
ontology property alongside




Property Mapping (help)
template property met2
ontology property alongside