<?xml version="1.0" encoding="utf-8"?><mediawiki xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.8/ http://www.mediawiki.org/xml/export-0.8.xsd" version="0.8" xml:lang="en" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mediawiki.org/xml/export-0.8/">
      <page>
        <title>Mapping en:Infobox snooker player</title>
        <ns>204</ns>
        <id>3544</id>
        <revision>
          <id>48390</id>
          <timestamp>2015-06-16T14:02:20Z</timestamp>
          <contributor>
            <username></username>
            <id></id>
          </contributor>
          <text xml:space="preserve">{{ConditionalMapping
| cases =
 {{Condition
    | templateProperty = World champ
    | operator = isSet
    | mapping = {{TemplateMapping
                | mapToClass = SnookerChamp
                }}
 }}

 {{Condition
    | templateProperty = name
    | operator = contains
    | value = No.
    | mapping = {{TemplateMapping
                | mapToClass = SnookerWorldRanking
                }}
 }}

  {{Condition
    | operator = otherwise
    | mapping = {{TemplateMapping | mapToClass = SnookerPlayer }}
  }}

| defaultMappings =
	{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
	{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
	{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
	{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
	{{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }}
	{{PropertyMapping | templateProperty = Sport country | ontologyProperty = sportCountry }}
	{{PropertyMapping | templateProperty = Nickname     | ontologyProperty = alias }}
       {{DateIntervalMapping
          | templateProperty          = Professional
          | startDateOntologyProperty = activeYearsStartYear
          | endDateOntologyProperty   = activeYearsEndYear
        }}
	{{PropertyMapping | templateProperty = High ranking| ontologyProperty = highestRank }}
	{{PropertyMapping | templateProperty = Current rank| ontologyProperty = currentRank }}
	{{PropertyMapping | templateProperty = Prize money | ontologyProperty = gross }}
	{{PropertyMapping | templateProperty = High break | ontologyProperty = highestBreak }}
	{{PropertyMapping | templateProperty = Century break | ontologyProperty = centuryBreaks }}
        {{PropertyMapping | templateProperty = Best finish | ontologyProperty = bestFinish }}
        {{PropertyMapping | templateProperty = Ranking wins | ontologyProperty = rankingWins }}
        {{PropertyMapping | templateProperty = Other wins | ontologyProperty = otherWins}}
        {{PropertyMapping | templateProperty = World champ | ontologyProperty = worldChampionTitleYear}}
}}</text>
          <format></format>
        </revision>
      </page>
    </mediawiki>