Mapping en:Infobox basketball biography: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 7: Line 7:
{{PropertyMapping | templateProperty = college | ontologyProperty = college }}
{{PropertyMapping | templateProperty = college | ontologyProperty = college }}
{{PropertyMapping | templateProperty = draft | ontologyProperty = draft }}
{{PropertyMapping | templateProperty = draft | ontologyProperty = draft }}
{{PropertyMapping | templateProperty = draft_round | ontologyProperty = draftRound }}
{{PropertyMapping | templateProperty = draft_pick | ontologyProperty = draftPick }}
{{PropertyMapping | templateProperty = draft_year | ontologyProperty = draftYear }}
{{PropertyMapping | templateProperty = draft_year | ontologyProperty = draftYear }}
{{PropertyMapping | templateProperty = draft_team | ontologyProperty = draftTeam }}
{{PropertyMapping | templateProperty = draft_team | ontologyProperty = draftTeam }}
{{PropertyMapping | templateProperty = draft_league | ontologyProperty = draftLeague }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = position | ontologyProperty = position }}
{{PropertyMapping | templateProperty = position | ontologyProperty = position }}
Line 18: Line 21:
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = career_start | ontologyProperty = activeYearsStartYear }}
{{PropertyMapping | templateProperty = career_start | ontologyProperty = activeYearsStartYear }}
{{PropertyMapping | templateProperty = career_end | ontologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = career_end | ontologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = career_position | ontologyProperty = position }}
{{PropertyMapping | templateProperty = career_number | ontologyProperty = number }}
{{PropertyMapping | templateProperty = former_teams | ontologyProperty = formerTeam }}
{{PropertyMapping | templateProperty = former_teams | ontologyProperty = formerTeam }}
{{PropertyMapping | templateProperty = awards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = awards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = height | ontologyProperty = height | unit = foot }}
{{PropertyMapping | templateProperty = highlights | ontologyProperty = award }}
{{PropertyMapping | templateProperty = height_m | ontologyProperty = height | unit = meter }}
{{PropertyMapping | templateProperty = bbr | ontologyProperty = bbr }}
{{CalculateMapping | operation = add | templateProperty1 = height_ft  | unit1 = foot  | templateProperty2 = height_in  | unit2 = inch  | ontologyProperty = height }}
{{CalculateMapping | operation = add | templateProperty1 = height_ft  | unit1 = foot  | templateProperty2 = height_in  | unit2 = inch  | ontologyProperty = height | unit = metre }}
{{CalculateMapping | operation = add | templateProperty1 = height_m  | unit1 = metre  | templateProperty2 = height_cm  | unit2 = centimetre | ontologyProperty = height | unit = metre}}
 
 
        {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team1 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years1 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years1
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
 
        {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team2 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years2 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years2
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
 
{{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team3 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years3 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years3
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
 
{{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team4 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years4 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years4
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
 
{{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team5 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years5 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years5
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
 
{{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team6 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years6 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years6
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
 
        {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team7 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years7 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years7
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
 
{{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team8 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years8 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years8
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
 
{{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team9 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years9 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years9
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
 
{{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team10 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = years10 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = years10
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
}}
}}

Latest revision as of 21:05, 8 October 2017

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

Mappings




Property Mapping (help)
template property league
ontology property league




Property Mapping (help)
template property number
ontology property number




Property Mapping (help)
template property highschool
ontology property highschool




Property Mapping (help)
template property college
ontology property college




Property Mapping (help)
template property draft
ontology property draft




Property Mapping (help)
template property draft_round
ontology property draftRound




Property Mapping (help)
template property draft_pick
ontology property draftPick




Property Mapping (help)
template property draft_year
ontology property draftYear




Property Mapping (help)
template property draft_team
ontology property draftTeam




Property Mapping (help)
template property draft_league
ontology property draftLeague




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




Property Mapping (help)
template property position
ontology property position


Property Mapping (help)
template property weight_lb
ontology property weight
unitpound


Property Mapping (help)
template property weight_lbs
ontology property weight
unitpound


Property Mapping (help)
template property weight
ontology property weight
unitpound


Property Mapping (help)
template property weight_kg
ontology property weight
unitkilogram




Property Mapping (help)
template property team
ontology property team




Property Mapping (help)
template property birth_date
ontology property birthDate




Property Mapping (help)
template property birth_place
ontology property birthPlace




Property Mapping (help)
template property death_date
ontology property deathDate




Property Mapping (help)
template property death_place
ontology property deathPlace




Property Mapping (help)
template property nationality
ontology property nationality




Property Mapping (help)
template property career_start
ontology property activeYearsStartYear




Property Mapping (help)
template property career_end
ontology property activeYearsEndYear




Property Mapping (help)
template property career_position
ontology property position




Property Mapping (help)
template property career_number
ontology property number




Property Mapping (help)
template property former_teams
ontology property formerTeam




Property Mapping (help)
template property awards
ontology property award




Property Mapping (help)
template property highlights
ontology property award




Property Mapping (help)
template property bbr
ontology property bbr
Calculate Mapping (help)
operation add
template property 1 height_ft
template property unit 1 foot
template property 2 height_in
template property unit 2 inch
ontology property height
Calculate Mapping (help)
operation add
template property 1 height_m
template property unit 1 metre
template property 2 height_cm
template property unit 2 centimetre
ontology property height



Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team1
ontology property team




Property Mapping (help)
template property years1
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years1
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team2
ontology property team




Property Mapping (help)
template property years2
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years2
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team3
ontology property team




Property Mapping (help)
template property years3
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years3
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team4
ontology property team




Property Mapping (help)
template property years4
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years4
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team5
ontology property team




Property Mapping (help)
template property years5
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years5
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team6
ontology property team




Property Mapping (help)
template property years6
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years6
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team7
ontology property team




Property Mapping (help)
template property years7
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years7
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team8
ontology property team




Property Mapping (help)
template property years8
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years8
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team9
ontology property team




Property Mapping (help)
template property years9
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years9
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property team10
ontology property team




Property Mapping (help)
template property years10
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property years10
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear