Mapping en:Infobox artist: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(initial mapping) |
(rtrim on lines) |
||
Line 1: | Line 1: | ||
{{ DBpediaConditionalMapping | {{ DBpediaConditionalMapping | ||
| cases = | | cases = | ||
{{ DBpediaCondition | {{ DBpediaCondition | ||
| templateProperty = currentmembers | | templateProperty = currentmembers | ||
| operator = isSet | | operator = isSet | ||
| mapping = {{ DBpediaTemplateMapping | | mapping = {{ DBpediaTemplateMapping | ||
| mapToClass = Band | | mapToClass = Band | ||
}} | }} | ||
}} | }} | ||
{{ DBpediaCondition | {{ DBpediaCondition | ||
| templateProperty = pastmembers | | templateProperty = pastmembers | ||
| operator = isSet | | operator = isSet | ||
| mapping = {{ DBpediaTemplateMapping | | mapping = {{ DBpediaTemplateMapping | ||
| mapToClass = Band | | mapToClass = Band | ||
}} | }} | ||
}} | }} | ||
{{ DBpediaCondition | {{ DBpediaCondition | ||
| templateProperty = occupation | | templateProperty = occupation | ||
| operator = contains | | operator = contains | ||
| value = actor | | value = actor | ||
| mapping = {{ DBpediaTemplateMapping | | mapping = {{ DBpediaTemplateMapping | ||
| mapToClass = Actor | | mapToClass = Actor | ||
}} | }} | ||
}} | }} | ||
{{ DBpediaCondition | {{ DBpediaCondition | ||
| templateProperty = occupation | | templateProperty = occupation | ||
| operator = contains | | operator = contains | ||
| value = actress | | value = actress | ||
| mapping = {{ DBpediaTemplateMapping | | mapping = {{ DBpediaTemplateMapping | ||
| mapToClass = Actor | | mapToClass = Actor | ||
}} | }} | ||
}} | }} | ||
{{ DBpediaCondition | {{ DBpediaCondition | ||
| templateProperty = occupation | | templateProperty = occupation | ||
| operator = contains | | operator = contains | ||
| value = singer | | value = singer | ||
| mapping = {{ DBpediaTemplateMapping | | mapping = {{ DBpediaTemplateMapping | ||
| mapToClass = MusicalArtist | | mapToClass = MusicalArtist | ||
}} | }} | ||
}} | }} | ||
{{ DBpediaCondition | {{ DBpediaCondition | ||
| templateProperty = occupation | | templateProperty = occupation | ||
| operator = contains | | operator = contains | ||
| value = songwriter | | value = songwriter | ||
| mapping = {{ DBpediaTemplateMapping | | mapping = {{ DBpediaTemplateMapping | ||
| mapToClass = MusicalArtist | | mapToClass = MusicalArtist | ||
}} | }} | ||
}} | }} | ||
{{ DBpediaCondition | {{ DBpediaCondition | ||
| otherwise | | otherwise | ||
| mapping = {{ DBpediaTemplateMapping | | mapping = {{ DBpediaTemplateMapping | ||
| mapToClass = Artist | | mapToClass = Artist | ||
}} | }} | ||
}} | }} | ||
| defaultMappings = | | defaultMappings = | ||
{{ DBpediaPropertyMapping | templateProperty = field | ontologyProperty = field }} | {{ DBpediaPropertyMapping | templateProperty = field | ontologyProperty = field }} | ||
{{ DBpediaPropertyMapping | templateProperty = training | ontologyProperty = training }} | {{ DBpediaPropertyMapping | templateProperty = training | ontologyProperty = training }} | ||
{{ DBpediaPropertyMapping | templateProperty = movement | ontologyProperty = movement }} | {{ DBpediaPropertyMapping | templateProperty = movement | ontologyProperty = movement }} | ||
{{ DBpediaPropertyMapping | templateProperty = genre | ontologyProperty = genre }} | {{ DBpediaPropertyMapping | templateProperty = genre | ontologyProperty = genre }} | ||
{{ DBpediaPropertyMapping | templateProperty = instrument | ontologyProperty = instrument }} | {{ DBpediaPropertyMapping | templateProperty = instrument | ontologyProperty = instrument }} | ||
{{ DBpediaPropertyMapping | templateProperty = voicetype | ontologyProperty = voiceType }} | {{ DBpediaPropertyMapping | templateProperty = voicetype | ontologyProperty = voiceType }} | ||
{{ DBpediaPropertyMapping | templateProperty = label | ontologyProperty = label }} | {{ DBpediaPropertyMapping | templateProperty = label | ontologyProperty = label }} | ||
{{ DBpediaPropertyMapping | templateProperty = currentmembers | ontologyProperty = currentMember }} | {{ DBpediaPropertyMapping | templateProperty = currentmembers | ontologyProperty = currentMember }} | ||
{{ DBpediaPropertyMapping | templateProperty = pastmembers | ontologyProperty = pastMember }} | {{ DBpediaPropertyMapping | templateProperty = pastmembers | ontologyProperty = pastMember }} | ||
{{ DBpediaPropertyMapping | templateProperty = associatedact | ontologyProperty = associatedAct }} | {{ DBpediaPropertyMapping | templateProperty = associatedact | ontologyProperty = associatedAct }} | ||
{{ DBpediaPropertyMapping | templateProperty = academyAward | ontologyProperty = academyAward }} | {{ DBpediaPropertyMapping | templateProperty = academyAward | ontologyProperty = academyAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = AFIAward | ontologyProperty = afiAward }} | {{ DBpediaPropertyMapping | templateProperty = AFIAward | ontologyProperty = afiAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = BAFTAAward | ontologyProperty = baftaAward }} | {{ DBpediaPropertyMapping | templateProperty = BAFTAAward | ontologyProperty = baftaAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = cesarAward | ontologyProperty = cesarAward }} | {{ DBpediaPropertyMapping | templateProperty = cesarAward | ontologyProperty = cesarAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = emmyAward | ontologyProperty = emmyAward }} | {{ DBpediaPropertyMapping | templateProperty = emmyAward | ontologyProperty = emmyAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = filmfareAward | ontologyProperty = filmFareAward }} | {{ DBpediaPropertyMapping | templateProperty = filmfareAward | ontologyProperty = filmFareAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = grammyAward | ontologyProperty = grammyAward }} | {{ DBpediaPropertyMapping | templateProperty = grammyAward | ontologyProperty = grammyAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = goldenGlobeAward | ontologyProperty = goldenGlobeAward }} | {{ DBpediaPropertyMapping | templateProperty = goldenGlobeAward | ontologyProperty = goldenGlobeAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = goyaAward | ontologyProperty = goyaAward }} | {{ DBpediaPropertyMapping | templateProperty = goyaAward | ontologyProperty = goyaAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = tonyAward | ontologyProperty = tonyAward }} | {{ DBpediaPropertyMapping | templateProperty = tonyAward | ontologyProperty = tonyAward }} | ||
{{ DBpediaPropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | {{ DBpediaPropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | ||
{{ DBpediaPropertyMapping | templateProperty = birthname | ontologyProperty = birthName }} | {{ DBpediaPropertyMapping | templateProperty = birthname | ontologyProperty = birthName }} | ||
{{ DBpediaPropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }} | {{ DBpediaPropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }} | ||
{{ DBpediaPropertyMapping | templateProperty = location | ontologyProperty = birthPlace }} | {{ DBpediaPropertyMapping | templateProperty = location | ontologyProperty = birthPlace }} | ||
{{ DBpediaPropertyMapping | templateProperty = deathdate | ontologyProperty = deathDate }} | {{ DBpediaPropertyMapping | templateProperty = deathdate | ontologyProperty = deathDate }} | ||
{{ DBpediaPropertyMapping | templateProperty = deathplace | ontologyProperty = deathPlace }} | {{ DBpediaPropertyMapping | templateProperty = deathplace | ontologyProperty = deathPlace }} | ||
{{ DBpediaPropertyMapping | templateProperty = nationality | ontologyProperty = nationality }} | {{ DBpediaPropertyMapping | templateProperty = nationality | ontologyProperty = nationality }} | ||
{{ DBpediaPropertyMapping | templateProperty = influencedby | ontologyProperty = influencedBy }} | {{ DBpediaPropertyMapping | templateProperty = influencedby | ontologyProperty = influencedBy }} | ||
{{ DBpediaPropertyMapping | templateProperty = influenced | ontologyProperty = influenced }} | {{ DBpediaPropertyMapping | templateProperty = influenced | ontologyProperty = influenced }} | ||
{{ DBpediaPropertyMapping | templateProperty = awards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = awards | ontologyProperty = award }} | ||
{{ DBpediaPropertyMapping | templateProperty = chinesename | ontologyProperty = otherName }} | {{ DBpediaPropertyMapping | templateProperty = chinesename | ontologyProperty = otherName }} | ||
{{ DBpediaPropertyMapping | templateProperty = tradchinesename | ontologyProperty = otherName }} | {{ DBpediaPropertyMapping | templateProperty = tradchinesename | ontologyProperty = otherName }} | ||
{{ DBpediaPropertyMapping | templateProperty = simpchinesename | ontologyProperty = otherName }} | {{ DBpediaPropertyMapping | templateProperty = simpchinesename | ontologyProperty = otherName }} | ||
{{ DBpediaPropertyMapping | templateProperty = pinyinchinesename | ontologyProperty = otherName }} | {{ DBpediaPropertyMapping | templateProperty = pinyinchinesename | ontologyProperty = otherName }} | ||
{{ DBpediaPropertyMapping | templateProperty = jyutpingchinesename | ontologyProperty = otherName }} | {{ DBpediaPropertyMapping | templateProperty = jyutpingchinesename | ontologyProperty = otherName }} | ||
{{ DBpediaPropertyMapping | templateProperty = restingplace | ontologyProperty = restingPlace }} | {{ DBpediaPropertyMapping | templateProperty = restingplace | ontologyProperty = restingPlace }} | ||
{{ DBpediaGeocoordinatesMapping | ontologyProperty = restingPlacePosition | coordinates = restingplacecoordinates }} | {{ DBpediaGeocoordinatesMapping | ontologyProperty = restingPlacePosition | coordinates = restingplacecoordinates }} | ||
{{ DBpediaPropertyMapping | templateProperty = othername | ontologyProperty = otherName }} | {{ DBpediaPropertyMapping | templateProperty = othername | ontologyProperty = otherName }} | ||
{{ DBpediaPropertyMapping | templateProperty = occupation | ontologyProperty = occupation }} | {{ DBpediaPropertyMapping | templateProperty = occupation | ontologyProperty = occupation }} | ||
{{ DBpediaPropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsStartYear }} | {{ DBpediaPropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsStartYear }} | ||
{{ DBpediaPropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsEndYear }} | {{ DBpediaPropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsEndYear }} | ||
{{ DBpediaPropertyMapping | templateProperty = spouse | ontologyProperty = spouse }} | {{ DBpediaPropertyMapping | templateProperty = spouse | ontologyProperty = spouse }} | ||
{{ DBpediaPropertyMapping | templateProperty = partner | ontologyProperty = partner }} | {{ DBpediaPropertyMapping | templateProperty = partner | ontologyProperty = partner }} | ||
{{ DBpediaPropertyMapping | templateProperty = children | ontologyProperty = child }} | {{ DBpediaPropertyMapping | templateProperty = children | ontologyProperty = child }} | ||
{{ DBpediaPropertyMapping | templateProperty = parents | ontologyProperty = father }} | {{ DBpediaPropertyMapping | templateProperty = parents | ontologyProperty = father }} | ||
{{ DBpediaPropertyMapping | templateProperty = parents | ontologyProperty = mother }} | {{ DBpediaPropertyMapping | templateProperty = parents | ontologyProperty = mother }} | ||
{{ DBpediaPropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }} | {{ DBpediaPropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }} | ||
{{ DBpediaPropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }} | {{ DBpediaPropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }} | ||
{{ DBpediaPropertyMapping | templateProperty = hongkongfilmwards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = hongkongfilmwards | ontologyProperty = award }} | ||
{{ DBpediaPropertyMapping | templateProperty = goldenbauhiniaawards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = goldenbauhiniaawards | ontologyProperty = award }} | ||
{{ DBpediaPropertyMapping | templateProperty = hkfcsawards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = hkfcsawards | ontologyProperty = award }} | ||
{{ DBpediaPropertyMapping | templateProperty = goldenhorseawards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = goldenhorseawards | ontologyProperty = award }} | ||
{{ DBpediaPropertyMapping | templateProperty = goldenroosterawards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = goldenroosterawards | ontologyProperty = award }} | ||
{{ DBpediaPropertyMapping | templateProperty = mtvasiaawards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = mtvasiaawards | ontologyProperty = award }} | ||
{{ DBpediaPropertyMapping | templateProperty = goldenmelodyawards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = goldenmelodyawards | ontologyProperty = award }} | ||
{{ DBpediaPropertyMapping | templateProperty = ntsawards | ontologyProperty = award }} | {{ DBpediaPropertyMapping | templateProperty = ntsawards | ontologyProperty = award }} | ||
}} | }} |