Mapping en:Infobox artist: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(disclaimer template paramater: page name encoded)
(fixed typo)
 
(16 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{DisclaimerMapping|{{PAGENAMEE}}}}
{{ConditionalMapping
{{ConditionalMapping
| cases =
| cases =
Line 6: Line 4:
     | templateProperty = currentmembers
     | templateProperty = currentmembers
     | operator = isSet
     | operator = isSet
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                   | mapToClass = Band
                   | mapToClass = Band
                 }}
                 }}
Line 14: Line 12:
     | templateProperty = pastmembers
     | templateProperty = pastmembers
     | operator = isSet
     | operator = isSet
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                   | mapToClass = Band
                   | mapToClass = Band
                 }}
                 }}
Line 23: Line 21:
     | operator = contains
     | operator = contains
     | value = actor
     | value = actor
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Actor
                 | mapToClass = Actor
                 }}
                 }}
Line 32: Line 30:
     | operator = contains
     | operator = contains
     | value = actress
     | value = actress
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Actor
                 | mapToClass = Actor
                 }}
                 }}
Line 41: Line 39:
     | operator = contains
     | operator = contains
     | value = singer
     | value = singer
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = MusicalArtist
                 | mapToClass = MusicalArtist
                 }}
                 }}
Line 50: Line 48:
     | operator = contains
     | operator = contains
     | value = songwriter
     | value = songwriter
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = MusicalArtist
                 | mapToClass = MusicalArtist
                 }}
                 }}
Line 56: Line 54:


  {{Condition
  {{Condition
     | otherwise
     | operator = otherwise
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Artist
                 | mapToClass = Artist
                 }}
                 }}
Line 69: Line 67:
{{PropertyMapping | templateProperty = instrument | ontologyProperty = instrument }}
{{PropertyMapping | templateProperty = instrument | ontologyProperty = instrument }}
{{PropertyMapping | templateProperty = voicetype | ontologyProperty = voiceType }}
{{PropertyMapping | templateProperty = voicetype | ontologyProperty = voiceType }}
{{PropertyMapping | templateProperty = label | ontologyProperty = label }}
{{PropertyMapping | templateProperty = label | ontologyProperty = recordLabel}}
{{PropertyMapping | templateProperty = currentmembers | ontologyProperty = currentMember }}
{{PropertyMapping | templateProperty = currentmembers | ontologyProperty = currentMember }}
{{PropertyMapping | templateProperty = pastmembers | ontologyProperty = pastMember }}
{{PropertyMapping | templateProperty = pastmembers | ontologyProperty = pastMember }}
Line 84: Line 82:
{{PropertyMapping | templateProperty = tonyAward | ontologyProperty = tonyAward }}
{{PropertyMapping | templateProperty = tonyAward | ontologyProperty = tonyAward }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = birthname | ontologyProperty = birthName }}
{{PropertyMapping | templateProperty = birth_name | ontologyProperty = birthName }}
{{PropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = location | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = deathdate | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = deathplace | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = influencedby | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = influencedby | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = influenced by | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = influenced_by | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = influenced | ontologyProperty = influenced }}
{{PropertyMapping | templateProperty = influenced | ontologyProperty = influenced }}
{{PropertyMapping | templateProperty = awards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = awards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = chinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = chinesename | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = tradchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = tradchinesename | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = simpchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = simpchinesename | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = pinyinchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = pinyinchinesename | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = jyutpingchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = jyutpingchinesename | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = restingplace | ontologyProperty = restingPlace }}
{{PropertyMapping | templateProperty = resting_place | ontologyProperty = restingPlace }}
{{GeocoordinatesMapping | ontologyProperty = restingPlacePosition  | coordinates = restingplacecoordinates }}
{{GeocoordinatesMapping | ontologyProperty = restingPlacePosition  | coordinates = restingplacecoordinates }}
{{PropertyMapping | templateProperty = othername | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = othername | ontologyProperty = alias }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{PropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsStartYear }}
{{DateIntervalMapping | templateProperty = yearsactive | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{PropertyMapping | templateProperty = partner | ontologyProperty = partner }}
{{PropertyMapping | templateProperty = partner | ontologyProperty = partner }}
{{PropertyMapping | templateProperty = children | ontologyProperty = child }}
{{PropertyMapping | templateProperty = children | ontologyProperty = child }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = father }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = parent }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = mother }}
{{PropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
Line 119: Line 117:
{{PropertyMapping | templateProperty = goldenmelodyawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = goldenmelodyawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = ntsawards | 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