Mapping en:Infobox artist: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(disclaimer)
(disclaimer template paramater: page name encoded)
Line 1: Line 1:
{{DisclaimerMapping}}


{{ConditionalMapping
| cases =
{{Condition
    | templateProperty = currentmembers
    | operator = isSet
    | mapping = {{TemplateMapping
                  | mapToClass = Band
                }}
}}
{{Condition
    | templateProperty = pastmembers
    | operator = isSet
    | mapping = {{TemplateMapping
                  | mapToClass = Band
                }}
}}
{{Condition
    | templateProperty = occupation
    | operator = contains
    | value = actor
    | mapping = {{TemplateMapping
                | mapToClass = Actor
                }}
}}
{{Condition
    | templateProperty = occupation
    | operator = contains
    | value = actress
    | mapping = {{TemplateMapping
                | mapToClass = Actor
                }}
}}
{{Condition
    | templateProperty = occupation
    | operator = contains
    | value = singer
    | mapping = {{TemplateMapping
                | mapToClass = MusicalArtist
                }}
}}
{{Condition
    | templateProperty = occupation
    | operator = contains
    | value = songwriter
    | mapping = {{TemplateMapping
                | mapToClass = MusicalArtist
                }}
}}
{{Condition
    | otherwise
    | mapping = {{TemplateMapping
                | mapToClass = Artist
                }}
}}
| defaultMappings =
{{PropertyMapping | templateProperty = field | ontologyProperty = field }}
{{PropertyMapping | templateProperty = training | ontologyProperty = training }}
{{PropertyMapping | templateProperty = movement | ontologyProperty = movement }}
{{PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
{{PropertyMapping | templateProperty = instrument | ontologyProperty = instrument }}
{{PropertyMapping | templateProperty = voicetype | ontologyProperty = voiceType }}
{{PropertyMapping | templateProperty = label | ontologyProperty = label }}
{{PropertyMapping | templateProperty = currentmembers | ontologyProperty = currentMember }}
{{PropertyMapping | templateProperty = pastmembers | ontologyProperty = pastMember }}
{{PropertyMapping | templateProperty = associatedact | ontologyProperty = associatedAct }}
{{PropertyMapping | templateProperty = academyAward | ontologyProperty = academyAward }}
{{PropertyMapping | templateProperty = AFIAward | ontologyProperty = afiAward }}
{{PropertyMapping | templateProperty = BAFTAAward | ontologyProperty = baftaAward }}
{{PropertyMapping | templateProperty = cesarAward | ontologyProperty = cesarAward }}
{{PropertyMapping | templateProperty = emmyAward | ontologyProperty = emmyAward }}
{{PropertyMapping | templateProperty = filmfareAward | ontologyProperty = filmFareAward }}
{{PropertyMapping | templateProperty = grammyAward | ontologyProperty = grammyAward }}
{{PropertyMapping | templateProperty = goldenGlobeAward | ontologyProperty = goldenGlobeAward }}
{{PropertyMapping | templateProperty = goyaAward | ontologyProperty = goyaAward }}
{{PropertyMapping | templateProperty = tonyAward | ontologyProperty = tonyAward }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = birthname | ontologyProperty = birthName }}
{{PropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = location | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = deathdate | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = deathplace | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = influencedby | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = influenced | ontologyProperty = influenced }}
{{PropertyMapping | templateProperty = awards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = chinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = tradchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = simpchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = pinyinchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = jyutpingchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = restingplace | ontologyProperty = restingPlace }}
{{GeocoordinatesMapping | ontologyProperty = restingPlacePosition  | coordinates = restingplacecoordinates }}
{{PropertyMapping | templateProperty = othername | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{PropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsStartYear }}
{{PropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{PropertyMapping | templateProperty = partner | ontologyProperty = partner }}
{{PropertyMapping | templateProperty = children | ontologyProperty = child }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = father }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = mother }}
{{PropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = hongkongfilmwards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = goldenbauhiniaawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = hkfcsawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = goldenhorseawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = goldenroosterawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = mtvasiaawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = goldenmelodyawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = ntsawards | ontologyProperty = award }}
}}

Revision as of 11:03, 4 March 2010