Mapping ja:Infobox Musician: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Copy from English and translate into Japanese)
 
(Fixed a typo)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ConditionalMapping
{{TemplateMapping
| cases =
| mapToClass = MusicalArtist
{{Condition
| mappings =
    | templateProperty = メンバー(現在)
{{PropertyMapping | templateProperty = Name | ontologyProperty = foaf:name }}
    | operator = isSet
{{PropertyMapping | templateProperty = Alias | ontologyProperty = alias }}
    | mapping = {{TemplateMapping
{{PropertyMapping | templateProperty = Img | ontologyProperty = picture }}
                | mapToClass = Band
{{PropertyMapping | templateProperty = Img_capt | ontologyProperty = picture }}
                }}
{{PropertyMapping | templateProperty = Current_members | ontologyProperty = bandMember }}
}}
{{PropertyMapping | templateProperty = Past_members | ontologyProperty = formerBandMember }}
{{Condition
{{PropertyMapping | templateProperty = Background | ontologyProperty = background }}
    | templateProperty = メンバー
{{PropertyMapping | templateProperty = Birth_name | ontologyProperty = foaf:givenName }}
    | operator = isSet
{{PropertyMapping | templateProperty = Born | ontologyProperty = birthPlace }}
    | mapping = {{TemplateMapping
{{PropertyMapping | templateProperty = Died | ontologyProperty = deathPlace }}
                | mapToClass = Band
{{PropertyMapping | templateProperty = Origin | ontologyProperty = hometown }}
                }}
{{PropertyMapping | templateProperty = Instrument| ontologyProperty = instrument }}
}}
{{PropertyMapping | templateProperty = Notable_instruments | ontologyProperty = instrument }}
 
{{PropertyMapping | templateProperty = Genre | ontologyProperty = genre }}
{{Condition
{{PropertyMapping | templateProperty = Occupation| ontologyProperty = occupation }}
    | templateProperty = メンバー(過去)
    | operator = isSet
    | mapping = {{TemplateMapping
                | mapToClass = Band
                }}
}}
 
{{Condition
    | templateProperty = バックグラウンド
    | operator = equals
    | value = group_or_band
    | mapping = {{TemplateMapping
                | mapToClass = Band
                }}
}}
 
{{Condition
    | templateProperty = バックグラウンド
    | operator = equals
    | value = cover_band
    | mapping = {{TemplateMapping
                | mapToClass = Band
                }}
}}
 
{{Condition
    | templateProperty = バックグラウンド
    | operator = equals
    | value = classical_ensemble
    | mapping = {{TemplateMapping
                | mapToClass = Band
                }}
}}
 
{{Condition
    | operator = otherwise
    | mapping = {{TemplateMapping
                | mapToClass = MusicalArtist
                }}
}}
 
| defaultMappings =
{{PropertyMapping | templateProperty = 氏名 | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = メンバー(現在) | ontologyProperty = bandMember }}
{{PropertyMapping | templateProperty = メンバー | ontologyProperty = bandMember }}
{{PropertyMapping | templateProperty = メンバー(過去) | ontologyProperty = formerBandMember }}
{{PropertyMapping | templateProperty = バックグラウンド | ontologyProperty = background }}
{{PropertyMapping | templateProperty = 出生名 | ontologyProperty = foaf:givenName }}
{{PropertyMapping | templateProperty = 別名 | ontologyProperty = alias }}
{{PropertyMapping | templateProperty = 出生| ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = 出生日 | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = 出生地 | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = 死亡日 | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = 死亡地 | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = 故郷 | ontologyProperty = hometown }}
{{PropertyMapping | templateProperty = 担当楽器| ontologyProperty = instrument }}
{{PropertyMapping | templateProperty = ジャンル | ontologyProperty = genre }}
{{PropertyMapping | templateProperty = 職業| ontologyProperty = occupation }}
         {{DateIntervalMapping
         {{DateIntervalMapping
           | templateProperty          = 活動期間
           | templateProperty          = Years_active
           | startDateOntologyProperty = activeYearsStartYear
           | startDateOntologyProperty = activeYearsStartYear
           | endDateOntologyProperty  = activeYearsEndYear
           | endDateOntologyProperty  = activeYearsEndYear
         }}
         }}
{{PropertyMapping | templateProperty = レーベル | ontologyProperty = recordLabel}}
{{PropertyMapping | templateProperty = Label | ontologyProperty = recordLabel}}
{{PropertyMapping | templateProperty = 共同作業者 | ontologyProperty = associatedBand }}
{{PropertyMapping | templateProperty = Associated_acts | ontologyProperty = associatedBand }}
{{PropertyMapping | templateProperty = 共同作業者 | ontologyProperty = associatedMusicalArtist }}
{{PropertyMapping | templateProperty = Associated_acts | ontologyProperty = associatedMusicalArtist }}
{{PropertyMapping | templateProperty = URL | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = URL | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = url | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = Blood | ontologyProperty = bloodType }}
{{PropertyMapping | templateProperty = ウェブサイト | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = Influences | ontologyProperty = influenced }}
{{PropertyMapping | templateProperty = 顕著な楽器 | ontologyProperty = instrument }}
{{PropertyMapping | templateProperty = School_background | ontologyProperty = school }}
}}
}}

Latest revision as of 09:35, 16 August 2012

This is the mapping for the Wikipedia template Infobox Musician. 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 MusicalArtist

Mappings




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




Property Mapping (help)
template property Alias
ontology property alias




Property Mapping (help)
template property Img
ontology property picture




Property Mapping (help)
template property Img_capt
ontology property picture




Property Mapping (help)
template property Current_members
ontology property bandMember




Property Mapping (help)
template property Past_members
ontology property formerBandMember




Property Mapping (help)
template property Background
ontology property background




Property Mapping (help)
template property Birth_name
ontology property foaf:givenName




Property Mapping (help)
template property Born
ontology property birthPlace




Property Mapping (help)
template property Died
ontology property deathPlace




Property Mapping (help)
template property Origin
ontology property hometown




Property Mapping (help)
template property Instrument
ontology property instrument




Property Mapping (help)
template property Notable_instruments
ontology property instrument




Property Mapping (help)
template property Genre
ontology property genre




Property Mapping (help)
template property Occupation
ontology property occupation


Date Interval Mapping (help)
template property Years_active
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear




Property Mapping (help)
template property Label
ontology property recordLabel




Property Mapping (help)
template property Associated_acts
ontology property associatedBand




Property Mapping (help)
template property Associated_acts
ontology property associatedMusicalArtist




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




Property Mapping (help)
template property Blood
ontology property bloodType




Property Mapping (help)
template property Influences
ontology property influenced




Property Mapping (help)
template property School_background
ontology property school