Mapping fr:Infobox Musique (œuvre): Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{TemplateMapping
{{ConditionalMapping
| mapToClass = Album
<!-- Recognized charte = album, live, ep, compilation, remix, vidéo, bande originale, single, single promotionnel, Chanson -->
| mappings =
<!--  -->
| cases =
{{Condition
    | templateProperty = charte
    | operator = contains
    | value = album
    | mapping = {{TemplateMapping
                | mapToClass = Album
                | header = 0
                | mappings =
                {{PropertyMapping | templateProperty = durée | ontologyProperty = albumRuntime | unit = minute }}
                {{PropertyMapping | templateProperty = single | ontologyProperty = singleList}}
                }}
}}
{{Condition
    | templateProperty = charte
    | operator = contains
    | value = single
    | mapping = {{TemplateMapping
                | mapToClass = Single
                | header = 0
                | mappings =
                {{PropertyMapping | templateProperty = album | ontologyProperty = album }}
                {{PropertyMapping | templateProperty = face A | ontologyProperty = aSide }}
                {{PropertyMapping | templateProperty = face B | ontologyProperty = bSide }}
                }}
}}
{{Condition
    | templateProperty = charte
    | operator = equals
    | value = chanson
    | mapping = {{TemplateMapping
                | mapToClass = Song
                | header = 0
                | mappings =
                {{PropertyMapping | templateProperty = album | ontologyProperty = album }}
                }}
}}
{{Condition
    | templateProperty = charte
    | operator = equals
    | value = live
    | mapping = {{TemplateMapping
                | mapToClass = Album
                | header = 0
                | mappings =
                {{PropertyMapping | templateProperty = durée | ontologyProperty = albumRuntime | unit = minute }}
                }}
}}
{{Condition
    | templateProperty = charte
    | operator = equals
    | value = compilation
    | mapping = {{TemplateMapping
                | mapToClass = Album
                | header = 0
                | mappings =
                {{PropertyMapping | templateProperty = durée | ontologyProperty = albumRuntime | unit = minute }}
                }}
}}
{{Condition
    | templateProperty = charte
    | operator = contains
    | value = bande originale
    | mapping = {{TemplateMapping
                | mapToClass = Album
                | correspondingClass = Film
                | correspondingProperty = movie
                | header = 0
                | mappings =
                {{PropertyMapping | templateProperty = durée | ontologyProperty = albumRuntime | unit = minute }}
                {{PropertyMapping | templateProperty = film | ontologyProperty = related }}
                }}
}}
{{Condition
    | templateProperty = charte
    | operator = equals
    | value = EP
    | mapping = {{TemplateMapping
                | mapToClass = Album
                | header = 0
                | mappings =
                {{PropertyMapping | templateProperty = durée | ontologyProperty = albumRuntime | unit = minute }}
                }}
}}
{{Condition
    | templateProperty = charte
    | operator = equals
    | value = extended play
    | mapping = {{TemplateMapping
                | mapToClass = Album
                | header = 0
                | mappings =
                {{PropertyMapping | templateProperty = durée | ontologyProperty = albumRuntime | unit = minute }}
                }}
}}
{{Condition
    | templateProperty = charte
    | operator = equals
    | value = maxi
    | mapping = {{TemplateMapping
                | mapToClass = Album
                | header = 0
                | mappings =
                {{PropertyMapping | templateProperty = durée | ontologyProperty = albumRuntime | unit = minute }}
                }}
}}
 
{{Condition
| operator = otherwise
| mapping =
  {{TemplateMapping
    |mapToClass = MusicalWork }}
}}
 
| defaultMappings =
{{PropertyMapping | templateProperty = charte | ontologyProperty = musicFormat }}
{{PropertyMapping | templateProperty = format | ontologyProperty = format }}
{{PropertyMapping | templateProperty = format | ontologyProperty = format }}
         {{PropertyMapping | templateProperty = langue | ontologyProperty = language }}
         {{PropertyMapping | templateProperty = langue | ontologyProperty = language }}
Line 7: Line 123:
{{PropertyMapping | templateProperty = critique | ontologyProperty = review }}
{{PropertyMapping | templateProperty = critique | ontologyProperty = review }}
{{PropertyMapping | templateProperty = titre | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = titre | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = album | ontologyProperty = type }}
{{PropertyMapping | templateProperty = artiste | ontologyProperty = artist }}
{{PropertyMapping | templateProperty = artiste | ontologyProperty = artist }}
        {{PropertyMapping | templateProperty = sorti | ontologyProperty = releaseDate }}
{{PropertyMapping | templateProperty = sorti | ontologyProperty = releaseDate }}
{{PropertyMapping | templateProperty = enregistré | ontologyProperty = recordDate }}
{{PropertyMapping | templateProperty = enregistré | ontologyProperty = recordDate }}
{{PropertyMapping | templateProperty = enregistré lieu | ontologyProperty = recordedIn }}
{{PropertyMapping | templateProperty = enregistré lieu | ontologyProperty = recordedIn }}
{{PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
{{PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
{{PropertyMapping | templateProperty = durée | ontologyProperty = runtime | unit = minute }}
{{PropertyMapping | templateProperty = durée | ontologyProperty = runtime | unit = minute }}
{{PropertyMapping | templateProperty = Language | ontologyProperty = language }}
{{PropertyMapping | templateProperty = label | ontologyProperty = recordLabel }}
{{PropertyMapping | templateProperty = label | ontologyProperty = recordLabel }}
{{PropertyMapping | templateProperty = album précédent  | ontologyProperty = previousWork }}
{{PropertyMapping | templateProperty = album précédent  | ontologyProperty = previousWork }}
{{PropertyMapping | templateProperty = album suivant | ontologyProperty = subsequentWork }}
{{PropertyMapping | templateProperty = album suivant | ontologyProperty = subsequentWork }}
{{PropertyMapping | templateProperty = single précédent  | ontologyProperty = previousWork }}
{{PropertyMapping | templateProperty = single suivant | ontologyProperty = subsequentWork }}
{{PropertyMapping | templateProperty = piste précédente  | ontologyProperty = follows }}
{{PropertyMapping | templateProperty = piste suivante | ontologyProperty = followedBy }}
        {{PropertyMapping | templateProperty = compositeur | ontologyProperty = composer }}
{{PropertyMapping | templateProperty = auteur | ontologyProperty = writer }}
{{PropertyMapping | templateProperty = auteur-compositeur | ontologyProperty = writer }}
{{PropertyMapping | templateProperty = auteur-compositeur | ontologyProperty = composer }}
{{PropertyMapping | templateProperty = édition | ontologyProperty = publisher }}
{{PropertyMapping | templateProperty = classement | ontologyProperty = rank }}
{{PropertyMapping | templateProperty = date album suiv | ontologyProperty = subsequentWorkDate }}
{{PropertyMapping | templateProperty = date album préc | ontologyProperty = previousWorkDate }}
{{PropertyMapping | templateProperty = date single suiv | ontologyProperty = subsequentWorkDate }}
{{PropertyMapping | templateProperty = date single préc | ontologyProperty = previousWorkDate }}
        {{PropertyMapping | templateProperty = numéro piste préc | ontologyProperty = nextTrackNumber}}
        {{PropertyMapping | templateProperty = numéro piste suiv | ontologyProperty = previousTrackNumber}}
        {{PropertyMapping | templateProperty = réalisateur      | ontologyProperty = director}}
        {{PropertyMapping | templateProperty = featuring        | ontologyProperty = featuring}}
        {{PropertyMapping | templateProperty = légende          | ontologyProperty = thumbnailCaption }}
        {{PropertyMapping | templateProperty = image            | ontologyProperty = picture }}
        {{PropertyMapping | templateProperty = upright          | ontologyProperty = scaleFactor}}
        {{PropertyMapping | templateProperty = artiste principal | ontologyProperty = mainArtist}}
        {{PropertyMapping | templateProperty = titre article en italique| ontologyProperty = italicTitle }}
        {{PropertyMapping | templateProperty = historique        | ontologyProperty = outputHistory }}
<!-- template {{Succession musicale  : développement linéaire : ca ne mappe pas  divers
Mapping_fr:Infobox_Musique_(œuvre): Couldn't load property mapping on page Mapping fr:Infobox Musique (œuvre). Details: Unknown property type TemplateMapping on page title=Infobox Musique (œuvre);ns=210/Mapping fr/Mapping fr;language:wiki=fr,locale=fr
      {{TemplateMapping
        | mapToClass = WorkSequence
        | correspondingClass = MusicalWork
        | correspondingProperty = otherWorks
    | mappings = 
          {{PropertyMapping | templateProperty = divers | ontologyProperty = otherWorks }}     
          {{PropertyMapping | templateProperty = précédent | ontologyProperty = previousWork }}
          {{PropertyMapping | templateProperty = date préc | ontologyProperty = year }}
          {{PropertyMapping | templateProperty = suivant | ontologyProperty = subsequentWork }}
          {{PropertyMapping | templateProperty = date suiv | ontologyProperty = year }} 
      }}
-->
      {{IntermediateNodeMapping
        | nodeClass = WorkSequence
        | correspondingProperty = otherWorks
        | mappings = 
          {{PropertyMapping | templateProperty = divers            | ontologyProperty = otherWorks }}     
          {{PropertyMapping | templateProperty = précédent | ontologyProperty = previousWork }}
          {{PropertyMapping | templateProperty = date préc | ontologyProperty = year }}
          {{PropertyMapping | templateProperty = suivant | ontologyProperty = subsequentWork }}
          {{PropertyMapping | templateProperty = date suiv | ontologyProperty = year }}
      }}
}}
}}

Latest revision as of 18:41, 1 April 2022

This is the mapping for the Wikipedia template Infobox Musique (œuvre). 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 album
Template Mapping (help)
map to class Album

Mappings


Property Mapping (help)
template property durée
ontology property albumRuntime
unitminute




Property Mapping (help)
template property single
ontology property singleList
Condition (help)
template property charte
operator contains
value single
Template Mapping (help)
map to class Single

Mappings




Property Mapping (help)
template property album
ontology property album




Property Mapping (help)
template property face A
ontology property aSide




Property Mapping (help)
template property face B
ontology property bSide
Condition (help)
template property charte
operator equals
value chanson
Template Mapping (help)
map to class Song

Mappings




Property Mapping (help)
template property album
ontology property album
Condition (help)
template property charte
operator equals
value live
Template Mapping (help)
map to class Album

Mappings


Property Mapping (help)
template property durée
ontology property albumRuntime
unitminute
Condition (help)
template property charte
operator equals
value compilation
Template Mapping (help)
map to class Album

Mappings


Property Mapping (help)
template property durée
ontology property albumRuntime
unitminute
Condition (help)
template property charte
operator contains
value bande originale
Template Mapping (help)
map to class Album
corresponding class Film
corresponding property movie

Mappings


Property Mapping (help)
template property durée
ontology property albumRuntime
unitminute




Property Mapping (help)
template property film
ontology property related
Condition (help)
template property charte
operator equals
value EP
Template Mapping (help)
map to class Album

Mappings


Property Mapping (help)
template property durée
ontology property albumRuntime
unitminute
Condition (help)
template property charte
operator equals
value extended play
Template Mapping (help)
map to class Album

Mappings


Property Mapping (help)
template property durée
ontology property albumRuntime
unitminute
Condition (help)
template property charte
operator equals
value maxi
Template Mapping (help)
map to class Album

Mappings


Property Mapping (help)
template property durée
ontology property albumRuntime
unitminute


Condition (help)
otherwise

This is the mapping for the Wikipedia template Infobox Musique (œuvre). 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.

Template Mapping (help)
map to class MusicalWork

Default Mappings




Property Mapping (help)
template property charte
ontology property musicFormat




Property Mapping (help)
template property format
ontology property format




Property Mapping (help)
template property langue
ontology property language




Property Mapping (help)
template property producteur
ontology property producer




Property Mapping (help)
template property critique
ontology property review




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




Property Mapping (help)
template property artiste
ontology property artist




Property Mapping (help)
template property sorti
ontology property releaseDate




Property Mapping (help)
template property enregistré
ontology property recordDate




Property Mapping (help)
template property enregistré lieu
ontology property recordedIn




Property Mapping (help)
template property genre
ontology property genre


Property Mapping (help)
template property durée
ontology property runtime
unitminute




Property Mapping (help)
template property label
ontology property recordLabel




Property Mapping (help)
template property album précédent
ontology property previousWork




Property Mapping (help)
template property album suivant
ontology property subsequentWork




Property Mapping (help)
template property single précédent
ontology property previousWork




Property Mapping (help)
template property single suivant
ontology property subsequentWork




Property Mapping (help)
template property piste précédente
ontology property follows




Property Mapping (help)
template property piste suivante
ontology property followedBy




Property Mapping (help)
template property compositeur
ontology property composer




Property Mapping (help)
template property auteur
ontology property writer




Property Mapping (help)
template property auteur-compositeur
ontology property writer




Property Mapping (help)
template property auteur-compositeur
ontology property composer




Property Mapping (help)
template property édition
ontology property publisher




Property Mapping (help)
template property classement
ontology property rank





Property Mapping (help)
template property date album suiv
ontology property subsequentWorkDate




Property Mapping (help)
template property date album préc
ontology property previousWorkDate




Property Mapping (help)
template property date single suiv
ontology property subsequentWorkDate




Property Mapping (help)
template property date single préc
ontology property previousWorkDate





Property Mapping (help)
template property numéro piste préc
ontology property nextTrackNumber




Property Mapping (help)
template property numéro piste suiv
ontology property previousTrackNumber




Property Mapping (help)
template property réalisateur
ontology property director




Property Mapping (help)
template property featuring
ontology property featuring




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




Property Mapping (help)
template property image
ontology property picture




Property Mapping (help)
template property upright
ontology property scaleFactor




Property Mapping (help)
template property artiste principal
ontology property mainArtist




Property Mapping (help)
template property titre article en italique
ontology property italicTitle




Property Mapping (help)
template property historique
ontology property outputHistory



Intermediate Node Mapping (help)
node class WorkSequence
corresponding property otherWorks




Property Mapping (help)
template property divers
ontology property otherWorks




Property Mapping (help)
template property précédent
ontology property previousWork




Property Mapping (help)
template property date préc
ontology property year




Property Mapping (help)
template property suivant
ontology property subsequentWork




Property Mapping (help)
template property date suiv
ontology property year