Difference between revisions of "Mapping en:Infobox snooker player"

From DBpedia Mappings
Jump to: navigation, search
(Created page with '{{ConditionalMapping | cases = {{Condition | templateProperty = World champ | operator = isSet | mapping = {{TemplateMapping | mapToClass = SnookerCh...')
 
(https://github.com/dbpedia/mappings-tracker/issues/62)
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
     | mapping = {{TemplateMapping
 
     | mapping = {{TemplateMapping
 
                 | mapToClass = SnookerChamp
 
                 | mapToClass = SnookerChamp
 +
                }}
 +
}}
 +
 +
{{Condition
 +
    | templateProperty = name
 +
    | operator = contains
 +
    | value = No.
 +
    | mapping = {{TemplateMapping
 +
                | mapToClass = SnookerWorldRanking
 
                 }}
 
                 }}
 
  }}
 
  }}
Line 15: Line 24:
  
 
| defaultMappings =
 
| defaultMappings =
{{PropertyMapping | templateProperty = Name | ontologyProperty = foaf:name }}
+
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
 
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
 
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
 
{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
 
{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
Line 29: Line 38:
 
{{PropertyMapping | templateProperty = High ranking| ontologyProperty = highestRank }}
 
{{PropertyMapping | templateProperty = High ranking| ontologyProperty = highestRank }}
 
{{PropertyMapping | templateProperty = Current rank| ontologyProperty = currentRank }}
 
{{PropertyMapping | templateProperty = Current rank| ontologyProperty = currentRank }}
{{PropertyMapping | templateProperty = Prize money | ontologyProperty = priceMoney }}
+
{{PropertyMapping | templateProperty = Prize money | ontologyProperty = gross }}
{{PropertyMapping | templateProperty = high break | ontologyProperty = highestBreak }}
+
{{PropertyMapping | templateProperty = High break | ontologyProperty = highestBreak }}
 
{{PropertyMapping | templateProperty = Century break | ontologyProperty = centuryBreaks }}
 
{{PropertyMapping | templateProperty = Century break | ontologyProperty = centuryBreaks }}
 +
        {{PropertyMapping | templateProperty = Best finish | ontologyProperty = bestFinish }}
 
         {{PropertyMapping | templateProperty = Ranking wins | ontologyProperty = rankingWins }}
 
         {{PropertyMapping | templateProperty = Ranking wins | ontologyProperty = rankingWins }}
 
         {{PropertyMapping | templateProperty = Other wins | ontologyProperty = otherWins}}
 
         {{PropertyMapping | templateProperty = Other wins | ontologyProperty = otherWins}}
         {{PropertyMapping | templateProperty = World champ | ontologyProperty = worldChampion}}
+
         {{PropertyMapping | templateProperty = World champ | ontologyProperty = worldChampionTitleYear}}
 
}}
 
}}

Latest revision as of 15:02, 16 June 2015

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

Conditions

Condition (help)
template property World champ
operator isSet
This is the mapping for the Wikipedia template Infobox snooker 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 SnookerChamp


Condition (help)
template property name
operator contains
value No.
This is the mapping for the Wikipedia template Infobox snooker 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 SnookerWorldRanking


Condition (help)
otherwise
This is the mapping for the Wikipedia template Infobox snooker 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 SnookerPlayer

Default Mappings




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




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




Property Mapping (help)
template property Sport country
ontology property sportCountry




Property Mapping (help)
template property Nickname
ontology property alias


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




Property Mapping (help)
template property High ranking
ontology property highestRank




Property Mapping (help)
template property Current rank
ontology property currentRank




Property Mapping (help)
template property Prize money
ontology property gross




Property Mapping (help)
template property High break
ontology property highestBreak




Property Mapping (help)
template property Century break
ontology property centuryBreaks




Property Mapping (help)
template property Best finish
ontology property bestFinish




Property Mapping (help)
template property Ranking wins
ontology property rankingWins




Property Mapping (help)
template property Other wins
ontology property otherWins




Property Mapping (help)
template property World champ
ontology property worldChampionTitleYear