Mapping en:Infobox artist: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(initial mapping) |
(fixed typo) |
||
(20 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ConditionalMapping | ||
| cases = | | cases = | ||
{{ | {{Condition | ||
| templateProperty = currentmembers | | templateProperty = currentmembers | ||
| operator = isSet | | operator = isSet | ||
| mapping = {{ | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = Band | | mapToClass = Band | ||
}} | }} | ||
}} | }} | ||
{{ | {{Condition | ||
| templateProperty = pastmembers | | templateProperty = pastmembers | ||
| operator = isSet | | operator = isSet | ||
| mapping = {{ | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = Band | | mapToClass = Band | ||
}} | }} | ||
}} | }} | ||
{{ | {{Condition | ||
| templateProperty = occupation | | templateProperty = occupation | ||
| operator = contains | | operator = contains | ||
| value = actor | | value = actor | ||
| mapping = {{ | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = Actor | | mapToClass = Actor | ||
}} | }} | ||
}} | }} | ||
{{ | {{Condition | ||
| templateProperty = occupation | | templateProperty = occupation | ||
| operator = contains | | operator = contains | ||
| value = actress | | value = actress | ||
| mapping = {{ | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = Actor | | mapToClass = Actor | ||
}} | }} | ||
}} | }} | ||
{{ | {{Condition | ||
| templateProperty = occupation | | templateProperty = occupation | ||
| operator = contains | | operator = contains | ||
| value = singer | | value = singer | ||
| mapping = {{ | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = MusicalArtist | | mapToClass = MusicalArtist | ||
}} | }} | ||
}} | }} | ||
{{ | {{Condition | ||
| templateProperty = occupation | | templateProperty = occupation | ||
| operator = contains | | operator = contains | ||
| value = songwriter | | value = songwriter | ||
| mapping = {{ | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = MusicalArtist | | mapToClass = MusicalArtist | ||
}} | }} | ||
}} | }} | ||
{{ | {{Condition | ||
| otherwise | | operator = otherwise | ||
| mapping = {{ | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = Artist | | mapToClass = Artist | ||
}} | }} | ||
}} | }} | ||
| defaultMappings = | | 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 = recordLabel}} | ||
{{ | {{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 = birth_name | ontologyProperty = birthName }} | ||
{{ | {{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }} | ||
{{ | {{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }} | ||
{{ | {{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }} | ||
{{ | {{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }} | ||
{{ | {{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }} | ||
{{ | {{PropertyMapping | templateProperty = influencedby | ontologyProperty = influencedBy }} | ||
{{ | {{PropertyMapping | templateProperty = influenced by | ontologyProperty = influencedBy }} | ||
{{ | {{PropertyMapping | templateProperty = influenced_by | ontologyProperty = influencedBy }} | ||
{{ | {{PropertyMapping | templateProperty = influenced | ontologyProperty = influenced }} | ||
{{ | {{PropertyMapping | templateProperty = awards | ontologyProperty = award }} | ||
{{ | {{PropertyMapping | templateProperty = chinesename | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = tradchinesename | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = simpchinesename | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = pinyinchinesename | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = jyutpingchinesename | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = resting_place | ontologyProperty = restingPlace }} | ||
{{ | {{GeocoordinatesMapping | ontologyProperty = restingPlacePosition | coordinates = restingplacecoordinates }} | ||
{{ | {{PropertyMapping | templateProperty = othername | ontologyProperty = alias }} | ||
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }} | |||
{{ | {{DateIntervalMapping | templateProperty = yearsactive | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }} | ||
{{ | {{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }} | ||
{{ | {{PropertyMapping | templateProperty = partner | ontologyProperty = partner }} | ||
{{ | {{PropertyMapping | templateProperty = children | ontologyProperty = child }} | ||
{{PropertyMapping | templateProperty = parents | ontologyProperty = parent }} | |||
{{ | {{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 }} | ||
{{PropertyMapping | templateProperty = works | ontologyProperty = notableWork }} | |||
{{PropertyMapping | templateProperty = notable_works | ontologyProperty = notableWork }} | |||
}} | }} |
Latest revision as of 06:18, 12 May 2017
This is the mapping for the Wikipedia template Infobox artist. 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 | currentmembers |
operator | isSet |
Template Mapping (help) map to class Band
Condition (help) | |
---|---|
template property | pastmembers |
operator | isSet |
Template Mapping (help) map to class Band
Condition (help) | |
---|---|
template property | occupation |
operator | contains |
value | actor |
Template Mapping (help) map to class Actor
Condition (help) | |
---|---|
template property | occupation |
operator | contains |
value | actress |
Template Mapping (help) map to class Actor
Condition (help) | |
---|---|
template property | occupation |
operator | contains |
value | singer |
Template Mapping (help) map to class MusicalArtist
Condition (help) | |
---|---|
template property | occupation |
operator | contains |
value | songwriter |
Template Mapping (help) map to class MusicalArtist
Condition (help) | |
---|---|
otherwise |
Template Mapping (help) map to class Artist
Default Mappings
Property Mapping (help) template property field ontology property field
Property Mapping (help) template property training ontology property training
Property Mapping (help) template property movement ontology property movement
Property Mapping (help) template property genre ontology property genre
Property Mapping (help) template property instrument ontology property instrument
Property Mapping (help) template property voicetype ontology property voiceType
Property Mapping (help) template property label ontology property recordLabel
Property Mapping (help) template property currentmembers ontology property currentMember
Property Mapping (help) template property pastmembers ontology property pastMember
Property Mapping (help) template property associatedact ontology property associatedAct
Property Mapping (help) template property academyAward ontology property academyAward
Property Mapping (help) template property AFIAward ontology property afiAward
Property Mapping (help) template property BAFTAAward ontology property baftaAward
Property Mapping (help) template property cesarAward ontology property cesarAward
Property Mapping (help) template property emmyAward ontology property emmyAward
Property Mapping (help) template property filmfareAward ontology property filmFareAward
Property Mapping (help) template property grammyAward ontology property grammyAward
Property Mapping (help) template property goldenGlobeAward ontology property goldenGlobeAward
Property Mapping (help) template property goyaAward ontology property goyaAward
Property Mapping (help) template property tonyAward ontology property tonyAward
Property Mapping (help) template property name ontology property foaf:name
Property Mapping (help) template property birth_name ontology property birthName
Property Mapping (help) template property birth_date ontology property birthDate
Property Mapping (help) template property birth_place ontology property birthPlace
Property Mapping (help) template property death_date ontology property deathDate
Property Mapping (help) template property death_place ontology property deathPlace
Property Mapping (help) template property nationality ontology property nationality
Property Mapping (help) template property influencedby ontology property influencedBy
Property Mapping (help) template property influenced by ontology property influencedBy
Property Mapping (help) template property influenced_by ontology property influencedBy
Property Mapping (help) template property influenced ontology property influenced
Property Mapping (help) template property awards ontology property award
Property Mapping (help) template property chinesename ontology property foaf:name
Property Mapping (help) template property tradchinesename ontology property foaf:name
Property Mapping (help) template property simpchinesename ontology property foaf:name
Property Mapping (help) template property pinyinchinesename ontology property foaf:name
Property Mapping (help) template property jyutpingchinesename ontology property foaf:name
Property Mapping (help) template property resting_place ontology property restingPlace
Geocoordinates Mapping (help) coordinates template property restingplacecoordinates ontology property restingPlacePosition
Property Mapping (help) template property othername ontology property alias
Property Mapping (help) template property occupation ontology property occupation
Date Interval Mapping (help) template property yearsactive start date ontology property activeYearsStartYear end date ontology property activeYearsEndYear
Property Mapping (help) template property spouse ontology property spouse
Property Mapping (help) template property partner ontology property partner
Property Mapping (help) template property children ontology property child
Property Mapping (help) template property parents ontology property parent
Property Mapping (help) template property influences ontology property influencedBy
Property Mapping (help) template property website ontology property foaf:homepage
Property Mapping (help) template property hongkongfilmwards ontology property award
Property Mapping (help) template property goldenbauhiniaawards ontology property award
Property Mapping (help) template property hkfcsawards ontology property award
Property Mapping (help) template property goldenhorseawards ontology property award
Property Mapping (help) template property goldenroosterawards ontology property award
Property Mapping (help) template property mtvasiaawards ontology property award
Property Mapping (help) template property goldenmelodyawards ontology property award
Property Mapping (help) template property ntsawards ontology property award
Property Mapping (help) template property works ontology property notableWork
Property Mapping (help) template property notable_works ontology property notableWork