Mapping de:Infobox MLB player: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(Created page with '{{ TemplateMapping | mapToClass = BaseballPlayer | mappings = {{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} {{ PropertyMappin...') |
No edit summary |
||
Line 5: | Line 5: | ||
{{ PropertyMapping | templateProperty = team | ontologyProperty = club }} | {{ PropertyMapping | templateProperty = team | ontologyProperty = club }} | ||
<!-- If 'altleague' is not used the property 'league' should have a constant value like 'MLB'.. --> | <!-- If 'altleague' is not used the property 'league' should have a constant value like 'MLB'.. --> | ||
{{ PropertyMapping | templateProperty = altleague | ontologyProperty = league }} | |||
{{ PropertyMapping | templateProperty = position | ontologyProperty = position }} | {{ PropertyMapping | templateProperty = position | ontologyProperty = position }} | ||
{{ PropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }} | {{ PropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }} |
Revision as of 13:19, 2 May 2011
This is the mapping for the Wikipedia template Infobox MLB player. 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 | BaseballPlayer |
Mappings
Property Mapping (help) | |
---|---|
template property | name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | team |
ontology property | club |
Property Mapping (help) | |
---|---|
template property | altleague |
ontology property | league |
Property Mapping (help) | |
---|---|
template property | position |
ontology property | position |
Property Mapping (help) | |
---|---|
template property | birthdate |
ontology property | birthDate |
Property Mapping (help) | |
---|---|
template property | birthplace |
ontology property | birthPlace |
Property Mapping (help) | |
---|---|
template property | deathdate |
ontology property | deathDate |
Property Mapping (help) | |
---|---|
template property | deathplace |
ontology property | deathPlace |
Property Mapping (help) | |
---|---|
template property | bats |
ontology property | bats |
Property Mapping (help) | |
---|---|
template property | throws |
ontology property | throws |
Property Mapping (help) | |
---|---|
template property | debutteam |
ontology property | debutTeam |
Property Mapping (help) | |
---|---|
template property | finalteam |
ontology property | formerTeam |
Combine Date Mapping (help) | |
---|---|
template property 1 | debutdate |
template property unit 1 | xsd:gMonthDay |
template property 2 | debutyear |
template property unit 2 | xsd:gYear |
ontology property | activeYearsStartDate |
Combine Date Mapping (help) | |
---|---|
template property 1 | finaldate |
template property unit 1 | xsd:gMonthDay |
template property 2 | finalyear |
template property unit 2 | xsd:gYear |
ontology property | activeYearsEndDate |
Property Mapping (help) | |
---|---|
template property | awards |
ontology property | award |
Property Mapping (help) | |
---|---|
template property | teams |
ontology property | formerTeam |