Mapping fr:Infobox Compétition sportive: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = SportsEvent | mappings = {{PropertyMapping | templateProperty = lieu | ontologyProperty = city }} {{PropertyMapping | templatePr...') |
No edit summary |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{TemplateMapping | {{ConditionalMapping | ||
| mapToClass = | | cases = | ||
| mappings = | {{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 = soccerTournamentMostSuccesfull }} | |||
{{PropertyMapping | templateProperty = Saison en cours | ontologyProperty = soccerTournamentThisSeason | transform = internal }} | |||
{{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 = chart | |||
| operator = contains | |||
| value = automobile | |||
| mapping = {{TemplateMapping | |||
| mapToClass = SportsEvent | |||
| header = 0 | |||
| mappings = | |||
{{PropertyMapping | templateProperty = champion pilote | ontologyProperty = champion }} | |||
{{PropertyMapping | templateProperty = champion copilote | ontologyProperty = championInDouble }} | |||
{{PropertyMapping | templateProperty = champion constructeur | ontologyProperty = champion }} | |||
}} | |||
}} | |||
{{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 = contains | |||
| value = tennis | |||
| mapping = {{TemplateMapping | |||
| mapToClass = TennisTournament | |||
| header = 0 | |||
}} | |||
}} | |||
{{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 | transform = internal }} | ||
{{PropertyMapping | templateProperty = compétition précédente | ontologyProperty = previousEvent }} | {{PropertyMapping | templateProperty = compétition précédente | ontologyProperty = previousEvent | transform = internal }} | ||
{{PropertyMapping | templateProperty = sport | ontologyProperty = sport }} | {{PropertyMapping | templateProperty = sport | ontologyProperty = sport }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = type | ontologyProperty = type }} | ||
{{PropertyMapping | templateProperty = organisateur | ontologyProperty = | {{PropertyMapping | templateProperty = catégorie | ontologyProperty = category }} | ||
{{PropertyMapping | templateProperty = affluence | ontologyProperty = numberOfPeopleAttending }} | |||
{{PropertyMapping | templateProperty = organisateur | ontologyProperty = organisation}} | |||
{{PropertyMapping | templateProperty = titre | ontologyProperty = title }} | {{PropertyMapping | templateProperty = titre | ontologyProperty = title }} | ||
{{PropertyMapping | templateProperty = suivant lien | ontologyProperty = followingEvent | transform = internal }} | |||
{{PropertyMapping | templateProperty = précédent lien | ontologyProperty = previousEvent | transform = internal }} | |||
{{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 = site | ontologyProperty = numberOfLocations }} | |||
{{PropertyMapping | templateProperty = équipes | ontologyProperty = numberOfTeams }} | |||
{{PropertyMapping | templateProperty = matchs joués | ontologyProperty = numberOfMatches }} | |||
{{PropertyMapping | templateProperty = buts | ontologyProperty = numberOfGoals }} | |||
}} | }} |
Latest revision as of 01:21, 27 February 2015
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 soccerTournamentMostSuccesfull
Property Mapping (help) template property Saison en cours ontology property soccerTournamentThisSeason transform internal
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 | chart |
operator | contains |
value | automobile |
Template Mapping (help) map to class SportsEvent 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) | |
---|---|
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 | contains |
value | tennis |
Template Mapping (help) map to class TennisTournament
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 transform internal
Property Mapping (help) template property compétition précédente ontology property previousEvent transform internal
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 transform internal
Property Mapping (help) template property précédent lien ontology property previousEvent transform internal
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 site 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