Mapping fr:Infobox Musique classique (personnalité): Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping
<!-- For an overview over all known types see: http://fr.wikipedia.org/wiki/Mod%C3%A8le:Infobox_Musique_classique_(personnalit%C3%A9)#Charte_graphique -->
| mapToClass = MusicalArtist
{{ConditionalMapping
| mappings =  
 
| cases =
  {{Condition
    | templateProperty = chart
    | operator = equals
    | value = danse
    | mapping = {{TemplateMapping | header = 0
                  | mapToClass = Dancer
                }}
  }}
  {{Condition
  | operator = otherwise
  | mapping = {{TemplateMapping | header = 0
                  | mapToClass = ClassicalMusicArtist
              }}
  }}
 
| defaultMappings =
 
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = nom autre | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = nom autre | ontologyProperty = otherName }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
         {{PropertyMapping | templateProperty = surnom | ontologyProperty = foaf:nick }}
         {{PropertyMapping | templateProperty = surnom | ontologyProperty = foaf:nick }}
Line 11: Line 29:
{{PropertyMapping | templateProperty = date de décès  | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = date de décès  | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = lieu de décès | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = lieu de décès | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = lieux de résidence | ontologyProperty = city }}
{{PropertyMapping | templateProperty = lieux de résidence | ontologyProperty = residence }}
         {{PropertyMapping | templateProperty = activité principale | ontologyProperty = occupation }}
         {{PropertyMapping | templateProperty = activité principale | ontologyProperty = occupation }}
         {{PropertyMapping | templateProperty = tessiture | ontologyProperty = tessitura }}
         {{PropertyMapping | templateProperty = tessiture | ontologyProperty = tessitura }}
         {{PropertyMapping | templateProperty = style | ontologyProperty = style }}
         {{PropertyMapping | templateProperty = style | ontologyProperty = style }}
         {{PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
         {{PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
         {{PropertyMapping | templateProperty = activités autres | ontologyProperty = occupation }}
         {{PropertyMapping | templateProperty = activités autres | ontologyProperty = otherOccupation }}
         {{PropertyMapping | templateProperty = lieux d'activité | ontologyProperty = city }}
         {{PropertyMapping | templateProperty = lieux d'activité | ontologyProperty = city }}
         {{DateIntervalMapping
         {{DateIntervalMapping
Line 34: Line 52:
{{PropertyMapping | templateProperty = famille | ontologyProperty = family}}
{{PropertyMapping | templateProperty = famille | ontologyProperty = family}}
{{PropertyMapping | templateProperty = récompenses | ontologyProperty = award}}
{{PropertyMapping | templateProperty = récompenses | ontologyProperty = award}}
         {{PropertyMapping | templateProperty = distinctions | ontologyProperty = award}}
         {{PropertyMapping | templateProperty = distinctions | ontologyProperty = decoration}}
{{PropertyMapping | templateProperty = web | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = web | ontologyProperty = foaf:homepage }}
         {{PropertyMapping | templateProperty = œuvres | ontologyProperty = creator }}
         {{PropertyMapping | templateProperty = œuvres | ontologyProperty = created }}
         {{PropertyMapping | templateProperty = répertoire | ontologyProperty = creator }}
         {{PropertyMapping | templateProperty = répertoire | ontologyProperty = created }}
         {{PropertyMapping | templateProperty = scènes | ontologyProperty = scene }}         
         {{PropertyMapping | templateProperty = scènes | ontologyProperty = scene }}         
}}
}}

Latest revision as of 19:27, 31 August 2013

This is the mapping for the Wikipedia template Infobox Musique classique (personnalité). 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 chart
operator equals
value danse
Template Mapping (help)
map to class Dancer
Condition (help)
otherwise
Template Mapping (help)
map to class ClassicalMusicArtist

Default Mappings




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




Property Mapping (help)
template property nom autre
ontology property otherName




Property Mapping (help)
template property légende
ontology property thumbnailCaption




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




Property Mapping (help)
template property nom de naissance
ontology property birthName




Property Mapping (help)
template property date de naissance
ontology property birthDate




Property Mapping (help)
template property lieu de naissance
ontology property birthPlace




Property Mapping (help)
template property date de décès
ontology property deathDate




Property Mapping (help)
template property lieu de décès
ontology property deathPlace




Property Mapping (help)
template property lieux de résidence
ontology property residence




Property Mapping (help)
template property activité principale
ontology property occupation




Property Mapping (help)
template property tessiture
ontology property tessitura




Property Mapping (help)
template property style
ontology property style




Property Mapping (help)
template property genre
ontology property genre




Property Mapping (help)
template property activités autres
ontology property otherOccupation




Property Mapping (help)
template property lieux d'activité
ontology property city


Date Interval Mapping (help)
template property années actives
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear




Property Mapping (help)
template property collaborations
ontology property collaboration




Property Mapping (help)
template property éditeurs
ontology property recordLabel




Property Mapping (help)
template property formation
ontology property education




Property Mapping (help)
template property maîtres
ontology property mentor




Property Mapping (help)
template property enseignement
ontology property educationPlace




Property Mapping (help)
template property élèves
ontology property disciple




Property Mapping (help)
template property ascendants
ontology property parent




Property Mapping (help)
template property conjoints
ontology property spouse




Property Mapping (help)
template property descendants
ontology property child




Property Mapping (help)
template property famille
ontology property family




Property Mapping (help)
template property récompenses
ontology property award




Property Mapping (help)
template property distinctions
ontology property decoration




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




Property Mapping (help)
template property œuvres
ontology property created




Property Mapping (help)
template property répertoire
ontology property created




Property Mapping (help)
template property scènes
ontology property scene