Mapping fr:Infobox Musique (artiste): Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 2: Line 2:
| cases =
| cases =
  {{Condition
  {{Condition
     | templateProperty = membres actuels
     | templateProperty = charte
     | operator = isSet
     | operator = contains
    | value = vocal
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping
                 | mapToClass = Band
                 | mapToClass = Singer
                | header = 0
                 }}
                 }}
  }}
  }}
  {{Condition
  {{Condition
     | templateProperty = membres actuels
     | templateProperty = charte
     | operator = isSet
     | operator = contains
    | value = groupe
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping
                 | mapToClass = Band
                 | mapToClass = Band
                | header = 0
                 }}
                 }}
  }}
  }}
  {{Condition
  {{Condition
     | templateProperty = influences
     | templateProperty = charte
     | operator = isSet
     | operator = contains
    | value = instrumentiste
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping
                 | mapToClass = Band
                 | mapToClass = Instrumentalist
                | header = 0
                 }}
                 }}
  }}
  }}
  {{Condition
  {{Condition
     | templateProperty = ex membres
     | templateProperty = charte
     | operator = isSet
     | operator = contains
    | value = scène
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping
                 | mapToClass = Band
                 | mapToClass = BackScene
                | header = 0
                 }}
                 }}
  }}
  }}
  {{Condition
  {{Condition
     | templateProperty = es membres
     | templateProperty = charte
     | operator = isSet
     | operator = contains
    | value = classique
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping
                 | mapToClass = Band
                 | 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 | ontologyProperty = foaf:name }}
        {{PropertyMapping | templateProperty = nom de naissance | ontologyProperty = birthName }}
{{PropertyMapping | templateProperty = membres actuels | ontologyProperty = bandMember }}
        {{PropertyMapping | templateProperty = nom alias | ontologyProperty = foaf:nick }}
{{PropertyMapping | templateProperty = ex membres  | ontologyProperty = formerBandMember }}
        {{PropertyMapping | templateProperty = surnom | ontologyProperty = foaf:nick }}
{{PropertyMapping | templateProperty = nom naissance | ontologyProperty = foaf:givenName }}
        {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
{{PropertyMapping | templateProperty = nom alias | ontologyProperty = alias }}
        {{PropertyMapping | templateProperty = date de naissance | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = date de naissance | ontologyProperty = birthDate }}
        {{PropertyMapping | templateProperty = lieu de naissance | ontologyProperty = birthPlace | select = first }}
{{PropertyMapping | templateProperty = naissance | ontologyProperty = birthDate }}
        {{PropertyMapping | templateProperty = pays d'origine | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = naissance lieu | ontologyProperty = birthPlace }}
        {{PropertyMapping | templateProperty = date de décès | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = lieu de naissance | ontologyProperty = birthPlace }}
        {{PropertyMapping | templateProperty = lieu de décès | ontologyProperty = deathPlace | select = first }}
{{PropertyMapping | templateProperty = décès | ontologyProperty = deathDate }}
        {{PropertyMapping | templateProperty = profession | ontologyProperty = profession }}
{{PropertyMapping | templateProperty = décès lieu | ontologyProperty = deathPlace }}
        {{PropertyMapping | templateProperty = profession autre | ontologyProperty = profession }}
{{PropertyMapping | templateProperty = pays origine | ontologyProperty = hometown }}
{{PropertyMapping | templateProperty = instrument | ontologyProperty = instrument }}
{{PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
{{PropertyMapping | templateProperty = profession | ontologyProperty = occupation }}
         {{DateIntervalMapping
         {{DateIntervalMapping
           | templateProperty          = années actives
           | templateProperty          = années actives
Line 61: Line 75:
           | endDateOntologyProperty  = activeYearsEndYear
           | endDateOntologyProperty  = activeYearsEndYear
         }}
         }}
          
         {{PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
      {{PropertyMapping | templateProperty = label | ontologyProperty = recordLabel}}
        {{PropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = site officiel | ontologyProperty = foaf:homepage }}
        {{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 = instrument | ontologyProperty = instrument }}
        {{PropertyMapping | templateProperty = logo | ontologyProperty = foaf:logo }}
{{PropertyMapping | templateProperty = notable_instruments | ontologyProperty = instrument }}
        {{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
selectfirst




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
selectfirst




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 upright
ontology property scaleFactor




Property Mapping (help)
template property image
ontology property picture