Mapping en:Infobox basketball biography: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
Line 26: Line 26:
{{PropertyMapping | templateProperty = height_m | ontologyProperty = height | unit = metre }}
{{PropertyMapping | templateProperty = height_m | ontologyProperty = height | unit = metre }}
{{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 }}
       
         {{IntermediateNodeMapping
         {{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | nodeClass = TimePeriod
Line 34: Line 35:
             {{DateIntervalMapping
             {{DateIntervalMapping
| templateProperty          = years1
| templateProperty          = years1
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
        {{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team2 | ontologyProperty = team }}
            {{DateIntervalMapping
| templateProperty          = years2
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
{{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team3 | ontologyProperty = team }}
            {{DateIntervalMapping
| templateProperty          = years3
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
{{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team4 | ontologyProperty = team }}
            {{DateIntervalMapping
| templateProperty          = years4
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
{{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team5 | ontologyProperty = team }}
            {{DateIntervalMapping
| templateProperty          = years5
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
{{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team6 | ontologyProperty = team }}
            {{DateIntervalMapping
| templateProperty          = years6
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
        {{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team7 | ontologyProperty = team }}
            {{DateIntervalMapping
| templateProperty          = years7
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
{{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team8 | ontologyProperty = team }}
            {{DateIntervalMapping
| templateProperty          = years8
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
{{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team9 | ontologyProperty = team }}
            {{DateIntervalMapping
| templateProperty          = years9
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
        }}
{{IntermediateNodeMapping
    | nodeClass = TimePeriod
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = team10 | ontologyProperty = team }}
            {{DateIntervalMapping
| templateProperty          = years10
| startDateOntologyProperty = activeYearsStartYear
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
| endDateOntologyProperty  = activeYearsEndYear

Revision as of 12:00, 27 June 2013

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_year
ontology property draftYear




Property Mapping (help)
template property draft_team
ontology property draftTeam




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 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 former_teams
ontology property formerTeam




Property Mapping (help)
template property awards
ontology property award


Property Mapping (help)
template property height
ontology property height
unitfoot


Property Mapping (help)
template property height_m
ontology property height
unitmetre
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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team1
ontology property team


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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team2
ontology property team


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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team3
ontology property team


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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team4
ontology property team


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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team5
ontology property team


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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team6
ontology property team


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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team7
ontology property team


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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team8
ontology property team


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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team9
ontology property team


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


Intermediate Node Mapping (help)
node class TimePeriod
corresponding property termPeriod




Property Mapping (help)
template property team10
ontology property team


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