Mapping fr:Infobox Club sportif: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(first import from Mapping:Infobox_football_club (en))
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping
{{ConditionalMapping
| mapToClass = SoccerClub
| cases =
| mappings =
 
{{Condition
| templateProperty = Sport
| operator        = contains
| value            = football
| mapping          =
  {{TemplateMapping | header = 0
  | mapToClass = SoccerClub
  }}
}}
 
{{Condition
| templateProperty = Sport
| operator        = contains
| value            = rugby
| mapping          =
  {{TemplateMapping | header = 0
  | mapToClass = RugbyClub
  }}
}}
 
{{Condition
| operator = otherwise
| mapping =
  {{TemplateMapping | header = 0
  | mapToClass = SportsTeam
  }}
}}
 
| defaultMappings =
{{PropertyMapping | templateProperty = Nom du club | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = Nom du club | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = Nom complet | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = Nom complet | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = Surnoms | ontologyProperty = foaf:nick }}
{{PropertyMapping | templateProperty = Surnoms | ontologyProperty = foaf:nick }}
         {{PropertyMapping | templateProperty = Site web | ontologyProperty = foaf:homepage }}
         {{PropertyMapping | templateProperty = Site web | ontologyProperty = foaf:homepage }}
        {{PropertyMapping | templateProperty = Logo | ontologyProperty = foaf:logo }}
        {{PropertyMapping | templateProperty = Sport | ontologyProperty = sport }}
{{PropertyMapping | templateProperty = Noms precedents | ontologyProperty = formerName }}


{{PropertyMapping | templateProperty = Date de fondation | ontologyProperty = formationDate }}
{{PropertyMapping | templateProperty = Date de fondation | ontologyProperty = formationDate }}
         <!-- {{PropertyMapping | templateProperty = Date de disparition | ontologyProperty = dissolved }} dissolved page recommends to use dissolutionDate, but it has a wierd domain type (PapulatedPlace) -->
{{PropertyMapping | templateProperty = Date de fondation | ontologyProperty = formationYear }}
 
         {{PropertyMapping | templateProperty = Date de disparition | ontologyProperty = extinctionDate }}
        {{PropertyMapping | templateProperty = Date de disparition | ontologyProperty = extinctionYear }}
         {{PropertyMapping | templateProperty = Stade  | ontologyProperty = ground }}
         {{PropertyMapping | templateProperty = Stade  | ontologyProperty = ground }}
         {{PropertyMapping | templateProperty = Capacite | ontologyProperty = capacity }}
         {{PropertyMapping | templateProperty = Capacite | ontologyProperty = capacity }}
        {{PropertyMapping | templateProperty = Siege | ontologyProperty = headquarter }}
        {{PropertyMapping | templateProperty = Couleurs | ontologyProperty = colour }}
        {{PropertyMapping | templateProperty = Couleurs | ontologyProperty = colourName }}


{{PropertyMapping | templateProperty = Président | ontologyProperty = chairman }}
{{PropertyMapping | templateProperty = Président | ontologyProperty = chairman }}

Latest revision as of 23:08, 22 June 2014

This is the mapping for the Wikipedia template Infobox Club sportif. 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 Sport
operator contains
value football
Template Mapping (help)
map to class SoccerClub


Condition (help)
template property Sport
operator contains
value rugby
Template Mapping (help)
map to class RugbyClub


Condition (help)
otherwise
Template Mapping (help)
map to class SportsTeam

Default Mappings




Property Mapping (help)
template property Nom du club
ontology property foaf:name




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




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




Property Mapping (help)
template property Site web
ontology property foaf:homepage







Property Mapping (help)
template property Sport
ontology property sport




Property Mapping (help)
template property Noms precedents
ontology property formerName





Property Mapping (help)
template property Date de fondation
ontology property formationDate




Property Mapping (help)
template property Date de fondation
ontology property formationYear




Property Mapping (help)
template property Date de disparition
ontology property extinctionDate




Property Mapping (help)
template property Date de disparition
ontology property extinctionYear




Property Mapping (help)
template property Stade
ontology property ground




Property Mapping (help)
template property Capacite
ontology property capacity




Property Mapping (help)
template property Siege
ontology property headquarter




Property Mapping (help)
template property Couleurs
ontology property colour




Property Mapping (help)
template property Couleurs
ontology property colourName





Property Mapping (help)
template property Président
ontology property chairman




Property Mapping (help)
template property Entraîneur
ontology property manager





Property Mapping (help)
template property Championnat actuel
ontology property league




Property Mapping (help)
template property Meilleur buteur
ontology property clubsRecordGoalscorer