Mapping en:Infobox cricketer: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(initial mapping)
 
(meter -> metre)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ DBpediaTemplateMapping
{{TemplateMapping
| mapToClass = Cricketer
| mapToClass = Cricketer
| mappings =
| mappings =
{{ DBpediaPropertyMapping | templateProperty = country | ontologyProperty = country }}
{{PropertyMapping | templateProperty = country | ontologyProperty = country }}
{{ DBpediaPropertyMapping | templateProperty = debut date | ontologyProperty = activeYearsStartYear }}
{{PropertyMapping | templateProperty = country2 | ontologyProperty = country }}
{{ DBpediaPropertyMapping | templateProperty = debut date | ontologyProperty = debutDate }}
{{PropertyMapping | templateProperty = country3 | ontologyProperty = country }}
{{ DBpediaPropertyMapping | templateProperty = debut year | ontologyProperty = activeYearsStartYear }}
 
{{ DBpediaPropertyMapping | templateProperty = debut year | ontologyProperty = debutYear }}
{{PropertyMapping | templateProperty = debut date | ontologyProperty = activeYearsStartDate }}
{{ DBpediaPropertyMapping | templateProperty = last date | ontologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = debut year | ontologyProperty = activeYearsStartYear }}
{{ DBpediaPropertyMapping | templateProperty = last date | ontologyProperty = lastDate }}
{{PropertyMapping | templateProperty = last date | ontologyProperty = activeYearsEndDate }}
{{ DBpediaPropertyMapping | templateProperty = last year | ontologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = last year | ontologyProperty = activeYearsEndYear }}
{{ DBpediaPropertyMapping | templateProperty = last year | ontologyProperty = lastYear }}
 
{{ DBpediaPropertyMapping | templateProperty = FCs | ontologyProperty = fc }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{ DBpediaPropertyMapping | templateProperty = FC runs | ontologyProperty = fcRuns }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = playername | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
    {{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{ DBpediaPropertyMapping | templateProperty = playername | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = fullname | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = fullname | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = nickname | ontologyProperty = foaf:nick }}
{{ DBpediaPropertyMapping | templateProperty = nickname | ontologyProperty = otherName }}
 
{{ DBpediaPropertyMapping | templateProperty = dayofbirth | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = cricket team | ontologyProperty = team }}
{{ DBpediaPropertyMapping | templateProperty = monthofbirth | ontologyProperty = birthDate }}
    {{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{ DBpediaPropertyMapping | templateProperty = yearofbirth | ontologyProperty = birthDate }}
    {{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
{{ DBpediaPropertyMapping | templateProperty = placeofbirth | ontologyProperty = birthPlace }}
    {{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
{{ DBpediaPropertyMapping | templateProperty = countryofbirth | ontologyProperty = birthPlace }}
    {{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }}
{{ DBpediaPropertyMapping | templateProperty = dayofdeath | ontologyProperty = deathDate }}
{{CalculateMapping | operation = add | templateProperty1 = heightft  | unit1 = foot  | templateProperty2 = heightin  | unit2 = inch  | ontologyProperty = height }}
{{ DBpediaPropertyMapping | templateProperty = monthofdeath | ontologyProperty = deathDate }}
{{CalculateMapping | operation = add | templateProperty1 = heightm  | unit1 = metre  | templateProperty2 = heightcm  | unit2 = centimetre  | ontologyProperty = height }}
{{ DBpediaPropertyMapping | templateProperty = yearofdeath | ontologyProperty = deathDate }}
    {{PropertyMapping | templateProperty = batting | ontologyProperty = battingSide }}
{{ DBpediaPropertyMapping | templateProperty = placeofdeath | ontologyProperty = deathPlace }}
    {{PropertyMapping | templateProperty = bowling | ontologyProperty = bowlingSide }}
{{ DBpediaPropertyMapping | templateProperty = countryofdeath | ontologyProperty = deathPlace }}
 
{{ DBpediaPropertyMapping | templateProperty = cricket team | ontologyProperty = currentTeam }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club1 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year1 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year1
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club2 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year2 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year2
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club3 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year3 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year3
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club4 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year4 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year4
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club5 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year5 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year5
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club6 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year6 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year6
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club7 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year7 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year7
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club8 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year8 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year8
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club9 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year9 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year9
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club10 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year10 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year10
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
        {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club11 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year11 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year11
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club12 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year12 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year12
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club13 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year13 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year13
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club14 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year14 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year14
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club15 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year15 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year15
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club16 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year16 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year16
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club17 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year17 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year17
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = CareerStation
    | correspondingProperty = careerStation
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = club18 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = year18 | ontologyProperty = activeYearsStartYear }}
            {{DateIntervalMapping
| templateProperty          = year18
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
    }}
    }}
}}
}}

Latest revision as of 21:04, 8 October 2017

This is the mapping for the Wikipedia template Infobox cricketer. 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 Cricketer

Mappings




Property Mapping (help)
template property country
ontology property country




Property Mapping (help)
template property country2
ontology property country




Property Mapping (help)
template property country3
ontology property country





Property Mapping (help)
template property debut date
ontology property activeYearsStartDate




Property Mapping (help)
template property debut year
ontology property activeYearsStartYear




Property Mapping (help)
template property last date
ontology property activeYearsEndDate




Property Mapping (help)
template property last year
ontology property activeYearsEndYear





Property Mapping (help)
template property nationality
ontology property nationality




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




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




Property Mapping (help)
template property website
ontology property foaf:homepage




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




Property Mapping (help)
template property nickname
ontology property foaf:nick





Property Mapping (help)
template property cricket 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
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
Calculate Mapping (help)
operation add
template property 1 heightm
template property unit 1 metre
template property 2 heightcm
template property unit 2 centimetre
ontology property height




Property Mapping (help)
template property batting
ontology property battingSide




Property Mapping (help)
template property bowling
ontology property bowlingSide


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




Property Mapping (help)
template property club1
ontology property team




Property Mapping (help)
template property year1
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year1
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 club2
ontology property team




Property Mapping (help)
template property year2
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year2
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 club3
ontology property team




Property Mapping (help)
template property year3
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year3
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 club4
ontology property team




Property Mapping (help)
template property year4
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year4
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 club5
ontology property team




Property Mapping (help)
template property year5
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year5
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 club6
ontology property team




Property Mapping (help)
template property year6
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year6
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 club7
ontology property team




Property Mapping (help)
template property year7
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year7
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 club8
ontology property team




Property Mapping (help)
template property year8
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year8
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 club9
ontology property team




Property Mapping (help)
template property year9
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year9
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 club10
ontology property team




Property Mapping (help)
template property year10
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year10
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 club11
ontology property team




Property Mapping (help)
template property year11
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year11
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 club12
ontology property team




Property Mapping (help)
template property year12
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year12
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 club13
ontology property team




Property Mapping (help)
template property year13
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year13
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 club14
ontology property team




Property Mapping (help)
template property year14
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year14
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 club15
ontology property team




Property Mapping (help)
template property year15
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year15
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 club16
ontology property team




Property Mapping (help)
template property year16
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year16
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 club17
ontology property team




Property Mapping (help)
template property year17
ontology property activeYearsStartYear


Date Interval Mapping (help)
template property year17
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 club18
ontology property team




Property Mapping (help)
template property year18
ontology property activeYearsStartYear


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