Mapping fr:Infobox Compétition sportive: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{TemplateMapping
{{ConditionalMapping
| mapToClass = SportsEvent
| cases =
| mappings =
{{Condition
    | templateProperty = titre
    | operator = contains
    | value = coupe
    | mapping = {{ConditionalMapping
                | cases =
                {{Condition
                    | templateProperty = charte
                    | operator = contains
                    | value = football
                    | mapping = {{TemplateMapping
                                | mapToClass = SoccerTournament
                                | header = 0
                                | mappings =
                                        {{PropertyMapping | templateProperty = meilleur buteur  | ontologyProperty = soccerTournamentTopScorer }}
                                        {{PropertyMapping | templateProperty = tenant  | ontologyProperty = soccerTournamentLastChampion }}
                                        {{PropertyMapping | templateProperty = plus titré  | ontologyProperty = soccerTournamentMostSuccessfull }}
                                        {{PropertyMapping | templateProperty = saison en cours  | ontologyProperty = soccerTournamentThisSeason }}
                                        {{PropertyMapping | templateProperty = vainqueur | ontologyProperty = goldMedalist }}
                                        {{PropertyMapping | templateProperty = finaliste | ontologyProperty = silverMedalist }}
                                        {{PropertyMapping | templateProperty = troisième | ontologyProperty = bronzeMedalist }}
                                        {{PropertyMapping | templateProperty = participants  | ontologyProperty = numberOfTeams }}
                                }}
                }}
                {{Condition
                    | operator = otherwise
                    | mapping =
                      {{TemplateMapping |mapToClass = Tournament |header = 0 }}
                }}
}}
 
{{Condition
    | templateProperty = titre
    | operator = contains
    | value = tournoi
    | mapping = {{ConditionalMapping
                | cases =
                {{Condition
                    | templateProperty = charte
                    | operator = contains
                    | value = tennis
                    | mapping = {{TemplateMapping
                                | mapToClass = TennisTournament
                                | header = 0
                                }}
                }}
                {{Condition
                    | operator = otherwise
                    | mapping =
                      {{TemplateMapping |mapToClass = Tournament |header = 0 }}
                }}
}}
 
{{Condition
    | templateProperty = titre
    | operator = contains
    | value = championnat
    | mapping = {{ConditionalMapping
                | cases =
                {{Condition
                    | templateProperty = charte
                    | operator = contains
                    | value = football
                    | mapping = {{TemplateMapping
                                | mapToClass = SoccerLeagueSeason
                                | header = 0
                                | mappings =
                                        {{PropertyMapping | templateProperty = meilleur buteur  | ontologyProperty = soccerTournamentTopScorer }}
                                        {{PropertyMapping | templateProperty = tenant  | ontologyProperty = soccerTournamentLastChampion }}
                                        {{PropertyMapping | templateProperty = plus titré  | ontologyProperty = soccerTournamentMostSuccessfull }}
                                        {{PropertyMapping | templateProperty = Saison en cours  | ontologyProperty = soccerTournamentThisSeason }}
                                        {{PropertyMapping | templateProperty = vainqueur  | ontologyProperty = soccerLeagueWinner }}
                                        {{PropertyMapping | templateProperty = relégué  | ontologyProperty = soccerLeagueRelegated }}
                                        {{PropertyMapping | templateProperty = relégué fin  | ontologyProperty = soccerLeagueRelegated }}
                                        {{PropertyMapping | templateProperty = promu début  | ontologyProperty = soccerLeaguePromoted }}
                                        {{PropertyMapping | templateProperty = participants  | ontologyProperty = numberOfTeams }}
                                }}
                }}
                {{Condition
                    | templateProperty = edition
                    | operator = isSet
                    | mapping =
                      {{TemplateMapping |mapToClass = SportsSeason |header = 0 }}
                {{Condition
                    | operator = otherwise
                    | mapping =
                      {{TemplateMapping |mapToClass = SportsEvent |header = 0 }}
                }}
}}
 
{{Condition
    | templateProperty = chart
    | operator = contains
    | value = automobile
    | mapping = {{ConditionalMapping
                | cases =
                {{Condition
                    | templateProperty = edition
                    | operator = isSet
                    | mapping =
                      {{TemplateMapping
                      |mapToClass = MotorSportsSeason
                      |header = 0
                      |mappings =
                              {{PropertyMapping | templateProperty = champion pilote | ontologyProperty = champion }}
                              {{PropertyMapping | templateProperty = champion copilote | ontologyProperty = championInDouble }}
                              {{PropertyMapping | templateProperty = champion constructeur | ontologyProperty = champion }}
                      }}
                {{Condition
                    | operator = otherwise
                    | mapping =
                      {{TemplateMapping |mapToClass = SportsEvent |header = 0 }}
                }}
}}
 
{{Condition
| templateProperty = titre
| operator = contains
| value = olympique
| mapping =
      {{TemplateMapping
      |mapToClass = OlympicEvent
      |header = 0
      |mappings =
              {{PropertyMapping | templateProperty = vainqueur | ontologyProperty = goldMedalist }}
              {{PropertyMapping | templateProperty = deuxième  | ontologyProperty = silverMedalist }}
              {{PropertyMapping | templateProperty = finaliste | ontologyProperty = silverMedalist }}
              {{PropertyMapping | templateProperty = troisième | ontologyProperty = bronzeMedalist }}
      }}
}}
 
{{Condition
| templateProperty = charte
| operator = contains
| value = cyclisme
| mapping =
      {{TemplateMapping
      |mapToClass = CyclingRace
      |header = 0
      |mappings =
              {{PropertyMapping | templateProperty = tenant  | ontologyProperty = recentWinner }}
              {{PropertyMapping | templateProperty = plus titré  | ontologyProperty = mostWins }}
      }}
}}
 
{{Condition
| templateProperty = charte
| operator = equals
| value = Temporaire
| mapping =
  {{TemplateMapping |mapToClass = Event |header = 0 }}
}}
 
{{Condition
| operator = otherwise
| mapping =
  {{TemplateMapping |mapToClass = SportsEvent |header = 0 }}
}}
 
| defaultMappings =


         {{PropertyMapping | templateProperty = lieu | ontologyProperty = city }}
         {{PropertyMapping | templateProperty = lieu | ontologyProperty = city }}
         {{PropertyMapping | templateProperty = lieu | ontologyProperty = country }}
         {{PropertyMapping | templateProperty = lieu | ontologyProperty = country }}
        {{PropertyMapping | templateProperty = nation | ontologyProperty = country }}
         {{PropertyMapping | templateProperty = date | ontologyProperty = date }}
         {{PropertyMapping | templateProperty = date | ontologyProperty = date }}
         {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
        {{PropertyMapping | templateProperty = web | ontologyProperty = foaf:homepage }}
         {{PropertyMapping | templateProperty = site web | ontologyProperty = foaf:homepage }}
         {{PropertyMapping | templateProperty = site web | ontologyProperty = foaf:homepage }}
         {{PropertyMapping | templateProperty = compétition suivante | ontologyProperty = followingEvent }}
         {{PropertyMapping | templateProperty = compétition suivante | ontologyProperty = followingEvent }}
         {{PropertyMapping | templateProperty = compétition précédente | ontologyProperty = previousEvent }}
         {{PropertyMapping | templateProperty = compétition précédente | ontologyProperty = previousEvent }}
         {{PropertyMapping | templateProperty = sport | ontologyProperty = sport }}
         {{PropertyMapping | templateProperty = sport | ontologyProperty = sport }}
         {{PropertyMapping | templateProperty = participants | ontologyProperty = numberOfPeopleAttending }}
         {{PropertyMapping | templateProperty = type  | ontologyProperty = type }}
        {{PropertyMapping | templateProperty = catégorie | ontologyProperty = category }}
        {{PropertyMapping | templateProperty = affluence | ontologyProperty = numberOfPeopleAttending }}
         {{PropertyMapping | templateProperty = organisateur | ontologyProperty = organisation}}
         {{PropertyMapping | templateProperty = organisateur | ontologyProperty = organisation}}
         {{PropertyMapping | templateProperty = titre | ontologyProperty = title }}
         {{PropertyMapping | templateProperty = titre | ontologyProperty = title }}
         {{PropertyMapping | templateProperty = suivant lien | ontologyProperty = nextEvent }}
         {{PropertyMapping | templateProperty = suivant lien | ontologyProperty = followingEvent }}
         {{PropertyMapping | templateProperty = précédent lien | ontologyProperty = previousEvent}}
         {{PropertyMapping | templateProperty = précédent lien | ontologyProperty = previousEvent }}
        {{PropertyMapping | templateProperty = vainqueur | ontologyProperty = champion }}
        {{PropertyMapping | templateProperty = édition | ontologyProperty = rank }}
        {{PropertyMapping | templateProperty = création | ontologyProperty = foundingDate }}
        {{PropertyMapping | templateProperty = disparition | ontologyProperty = dateOfAbandonment }}
        {{PropertyMapping | templateProperty = disciplines  | ontologyProperty = numberOfSports }}
        {{PropertyMapping | templateProperty = nations  | ontologyProperty = NumberOfParticipatingNations }}
        {{PropertyMapping | templateProperty = nombre d'éditions  | ontologyProperty = numberOfSeasons }}
        {{PropertyMapping | templateProperty = sites  | ontologyProperty = numberOfLocations }}
        {{PropertyMapping | templateProperty = équipes  | ontologyProperty = numberOfTeams }}
        {{PropertyMapping | templateProperty = matchs joués | ontologyProperty = numberOfMatches }}
        {{PropertyMapping | templateProperty = buts  | ontologyProperty = numberOfGoals }}
}}
}}

Revision as of 01:48, 22 June 2014

{{ConditionalMapping | cases =

{{Condition
   | templateProperty = titre
   | operator = contains
   | value = coupe 
   | mapping = This is the mapping for the Wikipedia template Infobox Compétition sportive. 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 charte
operator contains
value football
Template Mapping (help)
map to class SoccerTournament

Mappings




Property Mapping (help)
template property meilleur buteur
ontology property soccerTournamentTopScorer




Property Mapping (help)
template property tenant
ontology property soccerTournamentLastChampion




Property Mapping (help)
template property plus titré
ontology property soccerTournamentMostSuccessfull




Property Mapping (help)
template property saison en cours
ontology property soccerTournamentThisSeason




Property Mapping (help)
template property vainqueur
ontology property goldMedalist




Property Mapping (help)
template property finaliste
ontology property silverMedalist




Property Mapping (help)
template property troisième
ontology property bronzeMedalist




Property Mapping (help)
template property participants
ontology property numberOfTeams
Condition (help)
otherwise
Template Mapping (help)
map to class Tournament

Default Mappings

{{{defaultMappings}}}


{{Condition
   | templateProperty = titre
   | operator = contains
   | value = tournoi 
   | mapping = This is the mapping for the Wikipedia template Infobox Compétition sportive. 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 charte
operator contains
value tennis
Template Mapping (help)
map to class TennisTournament
Condition (help)
otherwise
Template Mapping (help)
map to class Tournament

Default Mappings

{{{defaultMappings}}}


{{Condition
   | templateProperty = titre
   | operator = contains
   | value = championnat 
   | mapping = {{ConditionalMapping
               | cases =
Condition (help)
template property charte
operator contains
value football
Template Mapping (help)
map to class SoccerLeagueSeason

Mappings




Property Mapping (help)
template property meilleur buteur
ontology property soccerTournamentTopScorer




Property Mapping (help)
template property tenant
ontology property soccerTournamentLastChampion




Property Mapping (help)
template property plus titré
ontology property soccerTournamentMostSuccessfull




Property Mapping (help)
template property Saison en cours
ontology property soccerTournamentThisSeason




Property Mapping (help)
template property vainqueur
ontology property soccerLeagueWinner




Property Mapping (help)
template property relégué
ontology property soccerLeagueRelegated




Property Mapping (help)
template property relégué fin
ontology property soccerLeagueRelegated




Property Mapping (help)
template property promu début
ontology property soccerLeaguePromoted




Property Mapping (help)
template property participants
ontology property numberOfTeams
Condition (help)
template property edition
operator isSet
Template Mapping (help)
map to class SportsSeason


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


{{Condition
   | templateProperty = chart
   | operator = contains
   | value = automobile 
   | mapping = This is the mapping for the Wikipedia template Infobox Compétition sportive. 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 edition
operator isSet
Template Mapping (help)
map to class MotorSportsSeason

Mappings




Property Mapping (help)
template property champion pilote
ontology property champion




Property Mapping (help)
template property champion copilote
ontology property championInDouble




Property Mapping (help)
template property champion constructeur
ontology property champion
Condition (help)
otherwise
Template Mapping (help)
map to class SportsEvent


Condition (help)
template property titre
operator contains
value olympique
Template Mapping (help)
map to class OlympicEvent

Mappings




Property Mapping (help)
template property vainqueur
ontology property goldMedalist




Property Mapping (help)
template property deuxième
ontology property silverMedalist




Property Mapping (help)
template property finaliste
ontology property silverMedalist




Property Mapping (help)
template property troisième
ontology property bronzeMedalist


Condition (help)
template property charte
operator contains
value cyclisme
Template Mapping (help)
map to class CyclingRace

Mappings




Property Mapping (help)
template property tenant
ontology property recentWinner




Property Mapping (help)
template property plus titré
ontology property mostWins


Condition (help)
template property charte
operator equals
value Temporaire
Template Mapping (help)
map to class Event


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

Default Mappings




Property Mapping (help)
template property lieu
ontology property city




Property Mapping (help)
template property lieu
ontology property country




Property Mapping (help)
template property nation
ontology property country




Property Mapping (help)
template property date
ontology property date




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




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




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




Property Mapping (help)
template property compétition suivante
ontology property followingEvent




Property Mapping (help)
template property compétition précédente
ontology property previousEvent




Property Mapping (help)
template property sport
ontology property sport




Property Mapping (help)
template property type
ontology property type




Property Mapping (help)
template property catégorie
ontology property category




Property Mapping (help)
template property affluence
ontology property numberOfPeopleAttending




Property Mapping (help)
template property organisateur
ontology property organisation




Property Mapping (help)
template property titre
ontology property title




Property Mapping (help)
template property suivant lien
ontology property followingEvent




Property Mapping (help)
template property précédent lien
ontology property previousEvent




Property Mapping (help)
template property vainqueur
ontology property champion




Property Mapping (help)
template property édition
ontology property rank




Property Mapping (help)
template property création
ontology property foundingDate




Property Mapping (help)
template property disparition
ontology property dateOfAbandonment




Property Mapping (help)
template property disciplines
ontology property numberOfSports




Property Mapping (help)
template property nations
ontology property NumberOfParticipatingNations




Property Mapping (help)
template property nombre d'éditions
ontology property numberOfSeasons




Property Mapping (help)
template property sites
ontology property numberOfLocations




Property Mapping (help)
template property équipes
ontology property numberOfTeams




Property Mapping (help)
template property matchs joués
ontology property numberOfMatches




Property Mapping (help)
template property buts
ontology property numberOfGoals