Mapping en:Infobox artist: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(rtrim on lines)
(fixed typo)
 
(19 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{ DBpediaConditionalMapping
{{ConditionalMapping
| cases =
| cases =
  {{ DBpediaCondition
  {{Condition
     | templateProperty = currentmembers
     | templateProperty = currentmembers
     | operator = isSet
     | operator = isSet
     | mapping = {{ DBpediaTemplateMapping
     | mapping = {{TemplateMapping | header = 0
                   | mapToClass = Band
                   | mapToClass = Band
                 }}
                 }}
  }}
  }}


  {{ DBpediaCondition
  {{Condition
     | templateProperty = pastmembers
     | templateProperty = pastmembers
     | operator = isSet
     | operator = isSet
     | mapping = {{ DBpediaTemplateMapping
     | mapping = {{TemplateMapping | header = 0
                   | mapToClass = Band
                   | mapToClass = Band
                 }}
                 }}
  }}
  }}


  {{ DBpediaCondition
  {{Condition
     | templateProperty = occupation
     | templateProperty = occupation
     | operator = contains
     | operator = contains
     | value = actor
     | value = actor
     | mapping = {{ DBpediaTemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Actor
                 | mapToClass = Actor
                 }}
                 }}
  }}
  }}


  {{ DBpediaCondition
  {{Condition
     | templateProperty = occupation
     | templateProperty = occupation
     | operator = contains
     | operator = contains
     | value = actress
     | value = actress
     | mapping = {{ DBpediaTemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Actor
                 | mapToClass = Actor
                 }}
                 }}
  }}
  }}


  {{ DBpediaCondition
  {{Condition
     | templateProperty = occupation
     | templateProperty = occupation
     | operator = contains
     | operator = contains
     | value = singer
     | value = singer
     | mapping = {{ DBpediaTemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = MusicalArtist
                 | mapToClass = MusicalArtist
                 }}
                 }}
  }}
  }}


  {{ DBpediaCondition
  {{Condition
     | templateProperty = occupation
     | templateProperty = occupation
     | operator = contains
     | operator = contains
     | value = songwriter
     | value = songwriter
     | mapping = {{ DBpediaTemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = MusicalArtist
                 | mapToClass = MusicalArtist
                 }}
                 }}
  }}
  }}


  {{ DBpediaCondition
  {{Condition
     | otherwise
     | operator = otherwise
     | mapping = {{ DBpediaTemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Artist
                 | mapToClass = Artist
                 }}
                 }}
Line 61: Line 61:


| defaultMappings =
| defaultMappings =
{{ DBpediaPropertyMapping | templateProperty = field | ontologyProperty = field }}
{{PropertyMapping | templateProperty = field | ontologyProperty = field }}
{{ DBpediaPropertyMapping | templateProperty = training | ontologyProperty = training }}
{{PropertyMapping | templateProperty = training | ontologyProperty = training }}
{{ DBpediaPropertyMapping | templateProperty = movement | ontologyProperty = movement }}
{{PropertyMapping | templateProperty = movement | ontologyProperty = movement }}
{{ DBpediaPropertyMapping | templateProperty = genre | ontologyProperty = genre }}
{{PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
{{ DBpediaPropertyMapping | templateProperty = instrument | ontologyProperty = instrument }}
{{PropertyMapping | templateProperty = instrument | ontologyProperty = instrument }}
{{ DBpediaPropertyMapping | templateProperty = voicetype | ontologyProperty = voiceType }}
{{PropertyMapping | templateProperty = voicetype | ontologyProperty = voiceType }}
{{ DBpediaPropertyMapping | templateProperty = label | ontologyProperty = label }}
{{PropertyMapping | templateProperty = label | ontologyProperty = recordLabel}}
{{ DBpediaPropertyMapping | templateProperty = currentmembers | ontologyProperty = currentMember }}
{{PropertyMapping | templateProperty = currentmembers | ontologyProperty = currentMember }}
{{ DBpediaPropertyMapping | templateProperty = pastmembers | ontologyProperty = pastMember }}
{{PropertyMapping | templateProperty = pastmembers | ontologyProperty = pastMember }}
{{ DBpediaPropertyMapping | templateProperty = associatedact | ontologyProperty = associatedAct }}
{{PropertyMapping | templateProperty = associatedact | ontologyProperty = associatedAct }}
{{ DBpediaPropertyMapping | templateProperty = academyAward | ontologyProperty = academyAward }}
{{PropertyMapping | templateProperty = academyAward | ontologyProperty = academyAward }}
{{ DBpediaPropertyMapping | templateProperty = AFIAward | ontologyProperty = afiAward }}
{{PropertyMapping | templateProperty = AFIAward | ontologyProperty = afiAward }}
{{ DBpediaPropertyMapping | templateProperty = BAFTAAward | ontologyProperty = baftaAward }}
{{PropertyMapping | templateProperty = BAFTAAward | ontologyProperty = baftaAward }}
{{ DBpediaPropertyMapping | templateProperty = cesarAward | ontologyProperty = cesarAward }}
{{PropertyMapping | templateProperty = cesarAward | ontologyProperty = cesarAward }}
{{ DBpediaPropertyMapping | templateProperty = emmyAward | ontologyProperty = emmyAward }}
{{PropertyMapping | templateProperty = emmyAward | ontologyProperty = emmyAward }}
{{ DBpediaPropertyMapping | templateProperty = filmfareAward | ontologyProperty = filmFareAward }}
{{PropertyMapping | templateProperty = filmfareAward | ontologyProperty = filmFareAward }}
{{ DBpediaPropertyMapping | templateProperty = grammyAward | ontologyProperty = grammyAward }}
{{PropertyMapping | templateProperty = grammyAward | ontologyProperty = grammyAward }}
{{ DBpediaPropertyMapping | templateProperty = goldenGlobeAward | ontologyProperty = goldenGlobeAward }}
{{PropertyMapping | templateProperty = goldenGlobeAward | ontologyProperty = goldenGlobeAward }}
{{ DBpediaPropertyMapping | templateProperty = goyaAward | ontologyProperty = goyaAward }}
{{PropertyMapping | templateProperty = goyaAward | ontologyProperty = goyaAward }}
{{ DBpediaPropertyMapping | templateProperty = tonyAward | ontologyProperty = tonyAward }}
{{PropertyMapping | templateProperty = tonyAward | ontologyProperty = tonyAward }}
{{ DBpediaPropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = birthname | ontologyProperty = birthName }}
{{PropertyMapping | templateProperty = birth_name | ontologyProperty = birthName }}
{{ DBpediaPropertyMapping | templateProperty = birthdate | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{ DBpediaPropertyMapping | templateProperty = location | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
{{ DBpediaPropertyMapping | templateProperty = deathdate | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
{{ DBpediaPropertyMapping | templateProperty = deathplace | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }}
{{ DBpediaPropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{ DBpediaPropertyMapping | templateProperty = influencedby | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = influencedby | ontologyProperty = influencedBy }}
{{ DBpediaPropertyMapping | templateProperty = influenced | ontologyProperty = influenced }}
{{PropertyMapping | templateProperty = influenced by | ontologyProperty = influencedBy }}
{{ DBpediaPropertyMapping | templateProperty = awards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = influenced_by | ontologyProperty = influencedBy }}
{{ DBpediaPropertyMapping | templateProperty = chinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = influenced | ontologyProperty = influenced }}
{{ DBpediaPropertyMapping | templateProperty = tradchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = awards | ontologyProperty = award }}
{{ DBpediaPropertyMapping | templateProperty = simpchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = chinesename | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = pinyinchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = tradchinesename | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = jyutpingchinesename | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = simpchinesename | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = restingplace | ontologyProperty = restingPlace }}
{{PropertyMapping | templateProperty = pinyinchinesename | ontologyProperty = foaf:name }}
{{ DBpediaGeocoordinatesMapping | ontologyProperty = restingPlacePosition  | coordinates = restingplacecoordinates }}
{{PropertyMapping | templateProperty = jyutpingchinesename | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = othername | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = resting_place | ontologyProperty = restingPlace }}
{{ DBpediaPropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{GeocoordinatesMapping | ontologyProperty = restingPlacePosition  | coordinates = restingplacecoordinates }}
{{ DBpediaPropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsStartYear }}
{{PropertyMapping | templateProperty = othername | ontologyProperty = alias }}
{{ DBpediaPropertyMapping | templateProperty = yearsactive | ontologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{ DBpediaPropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{DateIntervalMapping | templateProperty = yearsactive | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
{{ DBpediaPropertyMapping | templateProperty = partner | ontologyProperty = partner }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{ DBpediaPropertyMapping | templateProperty = children | ontologyProperty = child }}
{{PropertyMapping | templateProperty = partner | ontologyProperty = partner }}
{{ DBpediaPropertyMapping | templateProperty = parents | ontologyProperty = father }}
{{PropertyMapping | templateProperty = children | ontologyProperty = child }}
{{ DBpediaPropertyMapping | templateProperty = parents | ontologyProperty = mother }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = parent }}
{{ DBpediaPropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }}
{{PropertyMapping | templateProperty = influences | ontologyProperty = influencedBy }}
{{ DBpediaPropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{ DBpediaPropertyMapping | templateProperty = hongkongfilmwards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = hongkongfilmwards | ontologyProperty = award }}
{{ DBpediaPropertyMapping | templateProperty = goldenbauhiniaawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = goldenbauhiniaawards | ontologyProperty = award }}
{{ DBpediaPropertyMapping | templateProperty = hkfcsawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = hkfcsawards | ontologyProperty = award }}
{{ DBpediaPropertyMapping | templateProperty = goldenhorseawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = goldenhorseawards | ontologyProperty = award }}
{{ DBpediaPropertyMapping | templateProperty = goldenroosterawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = goldenroosterawards | ontologyProperty = award }}
{{ DBpediaPropertyMapping | templateProperty = mtvasiaawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = mtvasiaawards | ontologyProperty = award }}
{{ DBpediaPropertyMapping | templateProperty = goldenmelodyawards | ontologyProperty = award }}
{{PropertyMapping | templateProperty = goldenmelodyawards | ontologyProperty = award }}
{{ DBpediaPropertyMapping | 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