Mapping en:Infobox MLB player: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(initial mapping) |
(rtrim on lines) |
||
Line 2: | Line 2: | ||
| mapToClass = BaseballPlayer | | mapToClass = BaseballPlayer | ||
| mappings = | | mappings = | ||
{{ DBpediaPropertyMapping | templateProperty = bats | ontologyProperty = bats }} | {{ DBpediaPropertyMapping | templateProperty = bats | ontologyProperty = bats }} | ||
{{ DBpediaPropertyMapping | templateProperty = throws | ontologyProperty = throws }} | {{ DBpediaPropertyMapping | templateProperty = throws | ontologyProperty = throws }} | ||
{{ DBpediaPropertyMapping | templateProperty = statyear | ontologyProperty = statisticYear }} | {{ DBpediaPropertyMapping | templateProperty = statyear | ontologyProperty = statisticYear }} | ||
{{ DBpediaPropertyMapping | templateProperty = stat1label | ontologyProperty = statisticLabel }} | {{ DBpediaPropertyMapping | templateProperty = stat1label | ontologyProperty = statisticLabel }} | ||
{{ DBpediaPropertyMapping | templateProperty = stat1value | ontologyProperty = statisticValue }} | {{ DBpediaPropertyMapping | templateProperty = stat1value | ontologyProperty = statisticValue }} | ||
{{ DBpediaPropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | {{ DBpediaPropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | ||
{{ DBpediaPropertyMapping | templateProperty = team | ontologyProperty = currentTeam }} | {{ DBpediaPropertyMapping | templateProperty = team | ontologyProperty = currentTeam }} | ||
{{ DBpediaPropertyMapping | templateProperty = number | ontologyProperty = currentNumber }} | {{ DBpediaPropertyMapping | templateProperty = number | ontologyProperty = currentNumber }} | ||
{{ DBpediaPropertyMapping | templateProperty = position | ontologyProperty = currentPosition }} | {{ DBpediaPropertyMapping | templateProperty = position | ontologyProperty = currentPosition }} | ||
{{ DBpediaPropertyMapping | templateProperty = positionplain | ontologyProperty = currentPosition }} | {{ DBpediaPropertyMapping | templateProperty = positionplain | ontologyProperty = currentPosition }} | ||
{{ DBpediaPropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }} | {{ DBpediaPropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }} | ||
{{ DBpediaPropertyMapping | templateProperty = debutteam | ontologyProperty = formerTeam }} | {{ DBpediaPropertyMapping | templateProperty = debutteam | ontologyProperty = formerTeam }} | ||
{{ DBpediaPropertyMapping | templateProperty = awards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = awards | ontologyProperty = award }} | ||
{{ DBpediaPropertyMapping | templateProperty = teams | ontologyProperty = currentTeam }} | {{ DBpediaPropertyMapping | templateProperty = teams | ontologyProperty = currentTeam }} | ||
{{ DBpediaPropertyMapping | templateProperty = deathdate | ontologyProperty = deathDate }} | {{ DBpediaPropertyMapping | templateProperty = deathdate | ontologyProperty = deathDate }} | ||
{{ DBpediaPropertyMapping | templateProperty = finalteam | ontologyProperty = formerTeam }} | {{ DBpediaPropertyMapping | templateProperty = finalteam | ontologyProperty = formerTeam }} | ||
{{ DBpediaCombineDateMapping | templateProperty1 = debutdate | unit1 = xsd:gMonthDay | templateProperty2 = debutyear | unit2 = xsd:gYear | ontologyProperty = activeYearsStartDate }} | {{ DBpediaCombineDateMapping | templateProperty1 = debutdate | unit1 = xsd:gMonthDay | templateProperty2 = debutyear | unit2 = xsd:gYear | ontologyProperty = activeYearsStartDate }} | ||
{{ DBpediaCombineDateMapping | templateProperty1 = finaldate | unit1 = xsd:gMonthDay | templateProperty2 = finalyear | unit2 = xsd:gYear | ontologyProperty = activeYearsEndDate }} | {{ DBpediaCombineDateMapping | templateProperty1 = finaldate | unit1 = xsd:gMonthDay | templateProperty2 = finalyear | unit2 = xsd:gYear | ontologyProperty = activeYearsEndDate }} | ||
}} | }} |