Mapping en:Infobox person: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(disclaimer template paramater: page name encoded)
(Updated some properties, deleted not necessary properties)
Line 4: Line 4:
| mapToClass = Person
| mapToClass = Person
| mappings =
| mappings =
{{PropertyMapping | templateProperty = birth_name | ontologyProperty = birthName }}
<!-- basic parameter
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthYear }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthYear }}
Line 11: Line 12:
{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathYear }}
{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathYear }}
{{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = death_cause | ontologyProperty = deathCause }}
{{PropertyMapping | templateProperty = body_discovered | ontologyProperty = bodyDiscovered }}
{{PropertyMapping | templateProperty = resting_place | ontologyProperty = restingPlace }}
{{GeocoordinatesMapping | ontologyProperty = restingPlacePosition | coordinates = resting_place_coordinates }}
{{PropertyMapping | templateProperty = residence | ontologyProperty = residence }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = stateOfOrigin}}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = stateOfOrigin}}
{{PropertyMapping | templateProperty = ethnicity | ontologyProperty = ethnicity }}
{{PropertyMapping | templateProperty = citizenship | ontologyProperty = citizenship }}
{{PropertyMapping | templateProperty = citizenship | ontologyProperty = currentDomicile }}
{{PropertyMapping | templateProperty = other_names | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = other_names | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = known_for | ontologyProperty = knownFor }}
{{PropertyMapping | templateProperty = known_for | ontologyProperty = knownFor }}
{{PropertyMapping | templateProperty = education | ontologyProperty = education }}
{{PropertyMapping | templateProperty = alma_mater | ontologyProperty = almaMater }}
{{PropertyMapping | templateProperty = employer | ontologyProperty = employer }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{IntermediateNodeMapping | nodeClass = PersonFunction |
{{IntermediateNodeMapping | nodeClass = PersonFunction |
correspondingProperty = occupation |
correspondingProperty = occupation |
Line 43: Line 32:


}}
}}
 
<!-- end of basic parameters
{{PropertyMapping | templateProperty = home_town | ontologyProperty = hometown }}
{{PropertyMapping | templateProperty = birth_name | ontologyProperty = birthName }}
{{IntermediateNodeMapping | nodeClass = PersonFunction |
{{PropertyMapping | templateProperty = body_discovered | ontologyProperty = bodyDiscovered }}
      correspondingProperty = function |
{{PropertyMapping | templateProperty = death_cause | ontologyProperty = deathCause }}
      mappings =
        {{PropertyMapping | templateProperty = resting_place | ontologyProperty = restingPlace }}
{{GeocoordinatesMapping | ontologyProperty = restingPlacePosition | coordinates = resting_place_coordinates }}
{{PropertyMapping | templateProperty = residence | ontologyProperty = residence }}
{{PropertyMapping | templateProperty = ethnicity | ontologyProperty = ethnicity }}
{{PropertyMapping | templateProperty = citizenship | ontologyProperty = citizenship }}
{{PropertyMapping | templateProperty = citizenship | ontologyProperty = currentDomicile }}
{{PropertyMapping | templateProperty = education | ontologyProperty = education }}
{{PropertyMapping | templateProperty = alma_mater | ontologyProperty = almaMater }}
{{PropertyMapping | templateProperty = employer | ontologyProperty = employer }}
        {{DateIntervalMapping | templateProperty = years_active | startDateOntologyProperty = activeYearsStartYear| endDateOntologyProperty = activeYearsEndYear }}
        {{PropertyMapping | templateProperty = home_town | ontologyProperty = hometown }}
{{PropertyMapping | templateProperty = salary | ontologyProperty = salary | unit = Currency }}
{{PropertyMapping | templateProperty = networth | ontologyProperty = networth | unit = Currency }}
{{PropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length }}
{{PropertyMapping | templateProperty = weight | ontologyProperty = weight | unit = Mass }}
        {{IntermediateNodeMapping | nodeClass = PersonFunction |
        correspondingProperty = function |
        mappings =
         {{PropertyMapping | templateProperty = title | ontologyProperty = title }}
         {{PropertyMapping | templateProperty = title | ontologyProperty = title }}
         {{DateIntervalMapping | templateProperty = term | startDateOntologyProperty = functionStartDate | endDateOntologyProperty = functionEndDate}}
         {{DateIntervalMapping | templateProperty = term | startDateOntologyProperty = functionStartDate | endDateOntologyProperty = functionEndDate}}
Line 53: Line 59:
}}
}}
{{PropertyMapping | templateProperty = title | ontologyProperty = title }}
{{PropertyMapping | templateProperty = title | ontologyProperty = title }}
{{PropertyMapping | templateProperty = salary | ontologyProperty = salary | unit = Currency }}
        {{PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = networth | ontologyProperty = networth | unit = Currency }}
{{PropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length }}
{{PropertyMapping | templateProperty = weight | ontologyProperty = weight | unit = Mass }}
 
{{PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = successor | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = successor | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = party | ontologyProperty = party }}
{{PropertyMapping | templateProperty = party | ontologyProperty = party }}
{{PropertyMapping | templateProperty = boards | ontologyProperty = board }}
{{PropertyMapping | templateProperty = opponents | ontologyProperty = opponent }}
{{PropertyMapping | templateProperty = opponents | ontologyProperty = opponent }}
        {{PropertyMapping | templateProperty = boards | ontologyProperty = board }}
{{PropertyMapping | templateProperty = religion | ontologyProperty = religion }}
{{PropertyMapping | templateProperty = religion | ontologyProperty = religion }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
Line 71: Line 74:
{{PropertyMapping | templateProperty = relatives | ontologyProperty = relative }}
{{PropertyMapping | templateProperty = relatives | ontologyProperty = relative }}
{{PropertyMapping | templateProperty = awards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = awards | ontologyProperty = award }}
{{DateIntervalMapping | templateProperty = years_active | startDateOntologyProperty = activeYearsStartYear| endDateOntologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = pseudonym | ontologyProperty = pseudonym }}
{{PropertyMapping | templateProperty = pseudonym | ontologyProperty = pseudonym }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
 
{{PropertyMapping | templateProperty = parents | ontologyProperty = father }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = father }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = mother }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = mother }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
}}
}}

Revision as of 16:31, 15 March 2010

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

{{TemplateMapping | mapToClass = Person | mappings =