Mapping en:Infobox musical artist: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(initial mapping)
 
(rtrim on lines)
Line 1: Line 1:
{{ DBpediaConditionalMapping
{{ DBpediaConditionalMapping
| cases =
| cases =
{{ DBpediaCondition
{{ DBpediaCondition
| templateProperty = Current_members
    | templateProperty = Current_members
| operator = isSet
    | operator = isSet
| mapping = {{ DBpediaTemplateMapping
    | mapping = {{ DBpediaTemplateMapping
| mapToClass = Band
                | mapToClass = Band
}}
                }}
}}
}}


{{ DBpediaCondition
{{ DBpediaCondition
| templateProperty = Past_members
    | templateProperty = Past_members
| operator = isSet
    | operator = isSet
| mapping = {{ DBpediaTemplateMapping
    | mapping = {{ DBpediaTemplateMapping
| mapToClass = Band
                | mapToClass = Band
}}
                }}
}}
}}


{{ DBpediaCondition
{{ DBpediaCondition
| otherwise
    | otherwise
| mapping = {{ DBpediaTemplateMapping
    | mapping = {{ DBpediaTemplateMapping
| mapToClass = MusicalArtist
                | mapToClass = MusicalArtist
}}
                }}
}}
}}


| defaultMappings =
| defaultMappings =
{{ DBpediaPropertyMapping | templateProperty = Background | ontologyProperty = background }}
{{ DBpediaPropertyMapping | templateProperty = Background | ontologyProperty = background }}
{{ DBpediaPropertyMapping | templateProperty = Name | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = Name | ontologyProperty = foaf:name }}
{{ DBpediaPropertyMapping | templateProperty = Birth_name | ontologyProperty = birthName }}
{{ DBpediaPropertyMapping | templateProperty = Birth_name | ontologyProperty = birthName }}
{{ DBpediaPropertyMapping | templateProperty = Alias | ontologyProperty = otherName }}
{{ DBpediaPropertyMapping | templateProperty = Alias | ontologyProperty = otherName }}
{{ DBpediaPropertyMapping | templateProperty = Born | ontologyProperty = birthDate }}
{{ DBpediaPropertyMapping | templateProperty = Born | ontologyProperty = birthDate }}
{{ DBpediaPropertyMapping | templateProperty = Born | ontologyProperty = birthPlace }}
{{ DBpediaPropertyMapping | templateProperty = Born | ontologyProperty = birthPlace }}
{{ DBpediaPropertyMapping | templateProperty = Died | ontologyProperty = deathDate }}
{{ DBpediaPropertyMapping | templateProperty = Died | ontologyProperty = deathDate }}
{{ DBpediaPropertyMapping | templateProperty = Died | ontologyProperty = deathPlace }}
{{ DBpediaPropertyMapping | templateProperty = Died | ontologyProperty = deathPlace }}
{{ DBpediaPropertyMapping | templateProperty = Origin | ontologyProperty = hometown }}
{{ DBpediaPropertyMapping | templateProperty = Origin | ontologyProperty = hometown }}
{{ DBpediaPropertyMapping | templateProperty = Instrument | ontologyProperty = instrument }}
{{ DBpediaPropertyMapping | templateProperty = Instrument | ontologyProperty = instrument }}
{{ DBpediaPropertyMapping | templateProperty = Genre | ontologyProperty = genre }}
{{ DBpediaPropertyMapping | templateProperty = Genre | ontologyProperty = genre }}
{{ DBpediaPropertyMapping | templateProperty = Occupation | ontologyProperty = occupation }}
{{ DBpediaPropertyMapping | templateProperty = Occupation | ontologyProperty = occupation }}
{{ DBpediaPropertyMapping | templateProperty = Years_active | ontologyProperty = activeYearsStartYear }}
{{ DBpediaPropertyMapping | templateProperty = Years_active | ontologyProperty = activeYearsStartYear }}
{{ DBpediaPropertyMapping | templateProperty = Years_active | ontologyProperty = activeYearsEndYear }}
{{ DBpediaPropertyMapping | templateProperty = Years_active | ontologyProperty = activeYearsEndYear }}
{{ DBpediaPropertyMapping | templateProperty = Label | ontologyProperty = label }}
{{ DBpediaPropertyMapping | templateProperty = Label | ontologyProperty = label }}
{{ DBpediaPropertyMapping | templateProperty = Associated_acts | ontologyProperty = associatedBand }}
{{ DBpediaPropertyMapping | templateProperty = Associated_acts | ontologyProperty = associatedBand }}
{{ DBpediaPropertyMapping | templateProperty = Associated_acts | ontologyProperty = associatedMusicalArtist }}
{{ DBpediaPropertyMapping | templateProperty = Associated_acts | ontologyProperty = associatedMusicalArtist }}
{{ DBpediaPropertyMapping | templateProperty = URL | ontologyProperty = foaf:homepage }}
{{ DBpediaPropertyMapping | templateProperty = URL | ontologyProperty = foaf:homepage }}
{{ DBpediaPropertyMapping | templateProperty = Notable_instruments | ontologyProperty = instrument }}
{{ DBpediaPropertyMapping | templateProperty = Notable_instruments | ontologyProperty = instrument }}
}}
}}

Revision as of 13:45, 1 March 2010