Mapping fr:Infobox Musique (artiste): Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ConditionalMapping | {{ConditionalMapping | ||
| cases = | | cases = | ||
{{Condition | |||
| templateProperty = charte | |||
| operator = contains | |||
| value = vocal | |||
| mapping = {{TemplateMapping | |||
| mapToClass = Singer | |||
| header = 0 | |||
}} | |||
}} | |||
{{Condition | {{Condition | ||
| templateProperty = charte | | templateProperty = charte | ||
Line 7: | Line 16: | ||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = Band | | mapToClass = Band | ||
| header = 0 | |||
}} | }} | ||
}} | }} | ||
Line 15: | Line 25: | ||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = Instrumentalist | | mapToClass = Instrumentalist | ||
| header = 0 | |||
}} | }} | ||
}} | }} | ||
Line 23: | Line 34: | ||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = BackScene | | mapToClass = BackScene | ||
| header = 0 | |||
}} | |||
}} | |||
{{Condition | |||
| templateProperty = charte | |||
| operator = contains | |||
| value = classique | |||
| mapping = {{TemplateMapping | |||
| mapToClass = ClassicalMusicArtist | |||
| header = 0 | |||
}} | }} | ||
}} | }} | ||
Line 30: | Line 51: | ||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = MusicalArtist | | mapToClass = MusicalArtist | ||
| header = 0 | |||
}} | }} | ||
}} | }} | ||
Line 35: | Line 57: | ||
| defaultMappings = | | defaultMappings = | ||
{{PropertyMapping | templateProperty = charte | ontologyProperty = artistFunction }} | |||
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = nom de naissance | ontologyProperty = birthName }} | {{PropertyMapping | templateProperty = nom de naissance | ontologyProperty = birthName }} | ||
{{PropertyMapping | templateProperty = nom alias | ontologyProperty = foaf:nick }} | {{PropertyMapping | templateProperty = nom alias | ontologyProperty = foaf:nick }} | ||
{{PropertyMapping | templateProperty = surnom | ontologyProperty = foaf:nick }} | |||
{{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }} | {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }} | ||
{{PropertyMapping | templateProperty = date de naissance | ontologyProperty = birthDate }} | {{PropertyMapping | templateProperty = date de naissance | ontologyProperty = birthDate }} | ||
{{PropertyMapping | templateProperty = lieu de naissance | ontologyProperty = birthPlace | {{PropertyMapping | templateProperty = lieu de naissance | ontologyProperty = birthPlace | select = first }} | ||
{{PropertyMapping | templateProperty = pays d'origine | ontologyProperty = nationality }} | |||
{{PropertyMapping | templateProperty = pays origine | ontologyProperty = | |||
{{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 | select = first }} | ||
{{PropertyMapping | templateProperty = profession | ontologyProperty = | {{PropertyMapping | templateProperty = profession | ontologyProperty = profession }} | ||
{{PropertyMapping | templateProperty = profession autre | ontologyProperty = | {{PropertyMapping | templateProperty = profession autre | ontologyProperty = profession }} | ||
{{DateIntervalMapping | {{DateIntervalMapping | ||
| templateProperty = années actives | | templateProperty = années actives | ||
Line 52: | Line 75: | ||
| endDateOntologyProperty = activeYearsEndYear | | endDateOntologyProperty = activeYearsEndYear | ||
}} | }} | ||
{{PropertyMapping | templateProperty = genre | ontologyProperty = | {{PropertyMapping | templateProperty = genre | ontologyProperty = genre }} | ||
{{PropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }} | {{PropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }} | ||
{{PropertyMapping | templateProperty = instrument | ontologyProperty = instrument }} | {{PropertyMapping | templateProperty = instrument | ontologyProperty = instrument }} | ||
Line 60: | Line 83: | ||
{{PropertyMapping | templateProperty = site web | ontologyProperty = foaf:homepage }} | {{PropertyMapping | templateProperty = site web | ontologyProperty = foaf:homepage }} | ||
{{PropertyMapping | templateProperty = logo | ontologyProperty = foaf:logo }} | {{PropertyMapping | templateProperty = logo | ontologyProperty = foaf:logo }} | ||
{{PropertyMapping | templateProperty = upright | ontologyProperty = scaleFactor}} | |||
{{PropertyMapping | templateProperty = image | ontologyProperty = picture }} | |||
}} | }} |
Latest revision as of 21:26, 12 March 2022
This is the mapping for the Wikipedia template Infobox Musique (artiste). 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 | vocal |
Template Mapping (help) map to class Singer
Condition (help) | |
---|---|
template property | charte |
operator | contains |
value | groupe |
Template Mapping (help) map to class Band
Condition (help) | |
---|---|
template property | charte |
operator | contains |
value | instrumentiste |
Template Mapping (help) map to class Instrumentalist
Condition (help) | |
---|---|
template property | charte |
operator | contains |
value | scène |
Template Mapping (help) map to class BackScene
Condition (help) | |
---|---|
template property | charte |
operator | contains |
value | classique |
Template Mapping (help) map to class ClassicalMusicArtist
Condition (help) | |
---|---|
otherwise |
Template Mapping (help) map to class MusicalArtist
Default Mappings
Property Mapping (help) template property charte ontology property artistFunction
Property Mapping (help) template property nom ontology property foaf:name
Property Mapping (help) template property nom de naissance ontology property birthName
Property Mapping (help) template property nom alias ontology property foaf:nick
Property Mapping (help) template property surnom ontology property foaf:nick
Property Mapping (help) template property légende ontology property thumbnailCaption
Property Mapping (help) template property date de naissance ontology property birthDate
Property Mapping (help) template property lieu de naissance ontology property birthPlace select first
Property Mapping (help) template property pays d'origine ontology property nationality
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 select first
Property Mapping (help) template property profession ontology property profession
Property Mapping (help) template property profession autre ontology property profession
Date Interval Mapping (help) template property années actives start date ontology property activeYearsStartYear end date ontology property activeYearsEndYear
Property Mapping (help) template property genre ontology property genre
Property Mapping (help) template property influences ontology property influencedBy
Property Mapping (help) template property instrument ontology property instrument
Property Mapping (help) template property label ontology property recordLabel
Property Mapping (help) template property membres actuels ontology property bandMember
Property Mapping (help) template property ex membres ontology property formerBandMember
Property Mapping (help) template property site web ontology property foaf:homepage
Property Mapping (help) template property logo ontology property foaf:logo
Property Mapping (help) template property upright ontology property scaleFactor
Property Mapping (help) template property image ontology property picture