Mapping en:Infobox NFL biography: Difference between revisions
(rtrim on lines) |
m (Chile moved page Mapping en:Infobox pro football player to Mapping en:Infobox NFL biography: moved template) |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ConditionalMapping | ||
| mapToClass = | | cases = | ||
| | {{Condition | ||
{{ | | templateProperty = CFLDraftedYear | ||
{{ | | operator = isSet | ||
{{ | | mapping = {{TemplateMapping | ||
{{ | | mapToClass = CanadianFootballPlayer | ||
{{ | }} | ||
{{ | }} | ||
{{ | |||
{{ | {{Condition | ||
{{ | | templateProperty = CFLDraftedRound | ||
{{ | | operator = isSet | ||
{{ | | mapping = {{TemplateMapping | ||
{{ | | mapToClass = CanadianFootballPlayer | ||
{{ | }} | ||
{{ | }} | ||
{{ | |||
{{ | {{Condition | ||
| operator = otherwise | |||
{{ | | mapping = {{TemplateMapping | ||
{{ | | mapToClass = AmericanFootballPlayer | ||
{{ | }} | ||
{{ | }} | ||
{{ | |||
{{ | | defaultMappings = | ||
{{ | {{PropertyMapping | templateProperty = status | ontologyProperty = status }} | ||
{{ | {{PropertyMapping | templateProperty = College | ontologyProperty = college }} | ||
{{ | {{PropertyMapping | templateProperty = high_school | ontologyProperty = highschool }} | ||
{{ | {{PropertyMapping | templateProperty = debutyear | ontologyProperty = activeYearsStartYear }} | ||
{{ | {{PropertyMapping | templateProperty = finalyear | ontologyProperty = activeYearsEndYear }} | ||
{{ | {{PropertyMapping | templateProperty = draftyear | ontologyProperty = draftYear }} | ||
{{ | {{PropertyMapping | templateProperty = draftround | ontologyProperty = draftRound }} | ||
{{ | {{PropertyMapping | templateProperty = draftpick | ontologyProperty = draftPick }} | ||
{{ | {{PropertyMapping | templateProperty = undraftedyear | ontologyProperty = undraftedYear }} | ||
{{ | {{PropertyMapping | templateProperty = teams | ontologyProperty = team }} | ||
{{ | {{PropertyMapping | templateProperty = debutteam | ontologyProperty = debutTeam }} | ||
{{ | {{PropertyMapping | templateProperty = suppdraftyear | ontologyProperty = supplementalDraftYear }} | ||
{{ | {{PropertyMapping | templateProperty = suppdraftround | ontologyProperty = supplementalDraftRound }} | ||
{{ | {{PropertyMapping | templateProperty = pastteams | ontologyProperty = formerTeam }} | ||
{{ | {{PropertyMapping | templateProperty = espn | ontologyProperty = espnId }} | ||
{{ | {{PropertyMapping | templateProperty = Name | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = full_name | ontologyProperty = foaf:name }} | |||
{{PropertyMapping | templateProperty = team | ontologyProperty = team }} | |||
{{PropertyMapping | templateProperty = position1 | ontologyProperty = position }} | |||
{{PropertyMapping | templateProperty = position2 | ontologyProperty = position }} | |||
{{PropertyMapping | templateProperty = position3 | ontologyProperty = position }} | |||
{{PropertyMapping | templateProperty = position4 | ontologyProperty = position }} | |||
{{PropertyMapping | templateProperty = position5 | ontologyProperty = position }} | |||
{{PropertyMapping | templateProperty = DateOfBirth | ontologyProperty = birthDate }} | |||
{{PropertyMapping | templateProperty = Birthplace | ontologyProperty = birthPlace }} | |||
{{PropertyMapping | templateProperty = DateOfDeath | ontologyProperty = deathDate }} | |||
{{PropertyMapping | templateProperty = Deathplace | ontologyProperty = deathPlace }} | |||
{{PropertyMapping | templateProperty = Weight_lbs | ontologyProperty = weight | unit = pound }} | |||
{{PropertyMapping | templateProperty = position | ontologyProperty = position }} | |||
{{PropertyMapping | templateProperty = number | ontologyProperty = number }} | |||
{{PropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }} | |||
{{PropertyMapping | templateProperty = deathdate | ontologyProperty = deathDate }} | |||
{{PropertyMapping | templateProperty = currentteam | ontologyProperty = team }} | |||
{{PropertyMapping | templateProperty = currentnumber | ontologyProperty = number }} | |||
{{PropertyMapping | templateProperty = currentposition | ontologyProperty = position }} | |||
{{PropertyMapping | templateProperty = weight | ontologyProperty = weight | unit = pound }} | |||
{{CalculateMapping | operation = add | templateProperty1 = Height_ft | unit1 = foot | templateProperty2 = Height_in | unit2 = inch | ontologyProperty = height }} | |||
{{CalculateMapping | operation = add | templateProperty1 = heightft | unit1 = foot | templateProperty2 = heightin | unit2 = inch | ontologyProperty = height }} | |||
}} | }} |
Latest revision as of 22:40, 15 October 2017
This is the mapping for the Wikipedia template Infobox NFL 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.
Conditions
Condition (help) | |
---|---|
template property | CFLDraftedYear |
operator | isSet |
This is the mapping for the Wikipedia template Infobox NFL 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 CanadianFootballPlayer
Condition (help) | |
---|---|
template property | CFLDraftedRound |
operator | isSet |
This is the mapping for the Wikipedia template Infobox NFL 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 CanadianFootballPlayer
Condition (help) | |
---|---|
otherwise |
This is the mapping for the Wikipedia template Infobox NFL 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 AmericanFootballPlayer
Default Mappings
Property Mapping (help) template property status ontology property status
Property Mapping (help) template property College ontology property college
Property Mapping (help) template property high_school ontology property highschool
Property Mapping (help) template property debutyear ontology property activeYearsStartYear
Property Mapping (help) template property finalyear ontology property activeYearsEndYear
Property Mapping (help) template property draftyear ontology property draftYear
Property Mapping (help) template property draftround ontology property draftRound
Property Mapping (help) template property draftpick ontology property draftPick
Property Mapping (help) template property undraftedyear ontology property undraftedYear
Property Mapping (help) template property teams ontology property team
Property Mapping (help) template property debutteam ontology property debutTeam
Property Mapping (help) template property suppdraftyear ontology property supplementalDraftYear
Property Mapping (help) template property suppdraftround ontology property supplementalDraftRound
Property Mapping (help) template property pastteams ontology property formerTeam
Property Mapping (help) template property espn ontology property espnId
Property Mapping (help) template property Name ontology property foaf:name
Property Mapping (help) template property full_name ontology property foaf:name
Property Mapping (help) template property team ontology property team
Property Mapping (help) template property position1 ontology property position
Property Mapping (help) template property position2 ontology property position
Property Mapping (help) template property position3 ontology property position
Property Mapping (help) template property position4 ontology property position
Property Mapping (help) template property position5 ontology property position
Property Mapping (help) template property DateOfBirth ontology property birthDate
Property Mapping (help) template property Birthplace ontology property birthPlace
Property Mapping (help) template property DateOfDeath ontology property deathDate
Property Mapping (help) template property Deathplace ontology property deathPlace
Property Mapping (help) template property Weight_lbs ontology property weight unit pound
Property Mapping (help) template property position ontology property position
Property Mapping (help) template property number ontology property number
Property Mapping (help) template property birthdate ontology property birthDate
Property Mapping (help) template property deathdate ontology property deathDate
Property Mapping (help) template property currentteam ontology property team
Property Mapping (help) template property currentnumber ontology property number
Property Mapping (help) template property currentposition ontology property position
Property Mapping (help) template property weight ontology property weight unit pound
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 heightft template property unit 1 foot template property 2 heightin template property unit 2 inch ontology property height