Mapping fr:Infobox Musique (artiste): Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
| cases = | | cases = | ||
{{Condition | {{Condition | ||
| templateProperty = | | templateProperty = charte | ||
| operator = | | operator = contains | ||
| value = vocal | |||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = | | mapToClass = Singer | ||
| header = 0 | |||
}} | }} | ||
}} | }} | ||
{{Condition | {{Condition | ||
| templateProperty = | | templateProperty = charte | ||
| operator = | | operator = contains | ||
| value = groupe | |||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = Band | | mapToClass = Band | ||
| header = 0 | |||
}} | }} | ||
}} | }} | ||
{{Condition | {{Condition | ||
| templateProperty = | | templateProperty = charte | ||
| operator = | | operator = contains | ||
| value = instrumentiste | |||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = | | mapToClass = Instrumentalist | ||
| header = 0 | |||
}} | }} | ||
}} | }} | ||
{{Condition | {{Condition | ||
| templateProperty = | | templateProperty = charte | ||
| operator = | | operator = contains | ||
| value = scène | |||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = | | mapToClass = BackScene | ||
| header = 0 | |||
}} | }} | ||
}} | }} | ||
{{Condition | {{Condition | ||
| templateProperty = | | templateProperty = charte | ||
| operator = | | operator = contains | ||
| value = classique | |||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = | | mapToClass = ClassicalMusicArtist | ||
| header = 0 | |||
}} | |||
}} | |||
{{Condition | |||
| operator = otherwise | |||
| mapping = {{TemplateMapping | |||
| mapToClass = MusicalArtist | |||
| header = 0 | |||
}} | }} | ||
}} | }} | ||
Line 40: | 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 alias | ontologyProperty = foaf:nick }} | |||
{{PropertyMapping | templateProperty = surnom | ontologyProperty = foaf:nick }} | |||
{{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }} | |||
{{PropertyMapping | templateProperty = date de naissance | ontologyProperty = birthDate }} | |||
{{PropertyMapping | templateProperty = lieu de naissance | ontologyProperty = birthPlace | select = first }} | |||
{{PropertyMapping | templateProperty = pays d'origine | ontologyProperty = nationality }} | |||
{{PropertyMapping | templateProperty = date de décès | ontologyProperty = deathDate }} | |||
{{PropertyMapping | templateProperty = lieu de décès | ontologyProperty = deathPlace | select = first }} | |||
{{PropertyMapping | templateProperty = profession | ontologyProperty = profession }} | |||
{{PropertyMapping | templateProperty = profession autre | ontologyProperty = profession }} | |||
{{DateIntervalMapping | {{DateIntervalMapping | ||
| templateProperty = années actives | | templateProperty = années actives | ||
Line 59: | Line 75: | ||
| endDateOntologyProperty = activeYearsEndYear | | endDateOntologyProperty = activeYearsEndYear | ||
}} | }} | ||
{{PropertyMapping | templateProperty = genre | ontologyProperty = genre }} | |||
{{PropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }} | |||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = instrument | ontologyProperty = instrument }} | ||
{{PropertyMapping | templateProperty = label | ontologyProperty = recordLabel}} | |||
{{PropertyMapping | templateProperty = membres actuels | ontologyProperty = bandMember }} | |||
{{PropertyMapping | templateProperty = ex membres | ontologyProperty = formerBandMember }} | |||
{{PropertyMapping | templateProperty = site web | ontologyProperty = foaf:homepage }} | {{PropertyMapping | templateProperty = site web | ontologyProperty = foaf:homepage }} | ||
{{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