Mapping fr:Infobox Prélat catholique: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(added mappings for décès)
(empty for tutorial)
Line 1: Line 1:
{{ConditionalMapping
| cases =
{{Condition
    | templateProperty = titre
    | operator = equals
    | value = Pape
    | mapping = {{TemplateMapping
                | mapToClass = Pope
                }}
}}
{{Condition
    | templateProperty = titre
    | operator = equals
    | value = Évêque
    | mapping = {{TemplateMapping
                | mapToClass = ChristianBishop
                }}
}}
{{Condition
    | templateProperty = titre
    | operator = equals
    | value = Cardinal
    | mapping = {{TemplateMapping
                | mapToClass = Cardinal
                }}
}}
{{Condition
    | templateProperty = titre
    | operator = equals
    | value = Prêtre
    | mapping = {{TemplateMapping
                | mapToClass = Priest
                }}
}}


{{Condition
| operator = otherwise
| mapping =
  {{TemplateMapping |mapToClass = Cleric }}
}}
| defaultMappings =
  {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
  {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:nick }}
  {{PropertyMapping | templateProperty = nom naissance | ontologyProperty = birthName }}
  {{PropertyMapping | templateProperty = lieu naissance  | ontologyProperty = birthPlace }}
  {{PropertyMapping | templateProperty = date naissance  | ontologyProperty = birthDate }}
  {{PropertyMapping | templateProperty = naissance  | ontologyProperty = birthDate }}
  {{PropertyMapping | templateProperty = naissance  | ontologyProperty = birthPlace }}
  {{PropertyMapping | templateProperty = lieu décès | ontologyProperty = deathPlace }}
  {{PropertyMapping | templateProperty = date décès | ontologyProperty = deathDate }}
  {{PropertyMapping | templateProperty = décès | ontologyProperty = deathPlace }}
  {{PropertyMapping | templateProperty = décès | ontologyProperty = deathDate }}
  {{PropertyMapping | templateProperty = devise | ontologyProperty = motto }}
  {{PropertyMapping | templateProperty = ordination | ontologyProperty = ordination }}
  {{PropertyMapping | templateProperty = titre | ontologyProperty = title }}
  {{PropertyMapping | templateProperty = dernier titre | ontologyProperty = title }}
  {{PropertyMapping | templateProperty = légende | ontologyProperty = depictionDescription }}
  {{IntermediateNodeMapping
  | nodeClass = PersonFunction
  | correspondingProperty = occupation
  | mappings =
    {{PropertyMapping | templateProperty = ministère 1 | ontologyProperty = title }}
    {{PropertyMapping | templateProperty = date début 1 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = date fin 1 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = prédécesseur 1  | ontologyProperty = predecessor }}
    {{PropertyMapping | templateProperty = successeur 1 | ontologyProperty = successor }}
  }}
  {{IntermediateNodeMapping
  | nodeClass = PersonFunction
  | correspondingProperty = occupation
  | mappings =
    {{PropertyMapping | templateProperty = ministère 2 | ontologyProperty = title }}
    {{PropertyMapping | templateProperty = date début 2 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = date fin 2 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = prédécesseur 2  | ontologyProperty = predecessor }}
    {{PropertyMapping | templateProperty = successeur 2 | ontologyProperty = successor }}
  }}
  {{IntermediateNodeMapping
  | nodeClass = PersonFunction
  | correspondingProperty = occupation
  | mappings =
    {{PropertyMapping | templateProperty = ministère 3 | ontologyProperty = title }}
    {{PropertyMapping | templateProperty = date début 3 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = date fin 3 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = prédécesseur 3  | ontologyProperty = predecessor }}
    {{PropertyMapping | templateProperty = successeur 3 | ontologyProperty = successor }}
  }}
  {{IntermediateNodeMapping
  | nodeClass = PersonFunction
  | correspondingProperty = occupation
  | mappings =
    {{PropertyMapping | templateProperty = ministère 4 | ontologyProperty = title }}
    {{PropertyMapping | templateProperty = date début 4 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = date fin 4 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = prédécesseur 4  | ontologyProperty = predecessor }}
    {{PropertyMapping | templateProperty = successeur 4 | ontologyProperty = successor }}
  }}
  {{IntermediateNodeMapping
  | nodeClass = PersonFunction
  | correspondingProperty = occupation
  | mappings =
    {{PropertyMapping | templateProperty = ministère 5 | ontologyProperty = title }}
    {{PropertyMapping | templateProperty = date début 5 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = date fin 5 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = prédécesseur 5  | ontologyProperty = predecessor }}
    {{PropertyMapping | templateProperty = successeur 5 | ontologyProperty = successor }}
  }}
  {{IntermediateNodeMapping
  | nodeClass = PersonFunction
  | correspondingProperty = occupation
  | mappings =
    {{PropertyMapping | templateProperty = ministère 6 | ontologyProperty = title }}
    {{PropertyMapping | templateProperty = date début 6 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = date fin 6 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = prédécesseur 6  | ontologyProperty = predecessor }}
    {{PropertyMapping | templateProperty = successeur 6 | ontologyProperty = successor }}
  }}
  {{IntermediateNodeMapping
  | nodeClass = PersonFunction
  | correspondingProperty = occupation
  | mappings =
    {{PropertyMapping | templateProperty = ministère 7 | ontologyProperty = title }}
    {{PropertyMapping | templateProperty = date début 7 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = date fin 7 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = prédécesseur 7  | ontologyProperty = predecessor }}
    {{PropertyMapping | templateProperty = successeur 7 | ontologyProperty = successor }}
  }}
  {{IntermediateNodeMapping
  | nodeClass = PersonFunction
  | correspondingProperty = occupation
  | mappings =
    {{PropertyMapping | templateProperty = ministère 8 | ontologyProperty = title }}
    {{PropertyMapping | templateProperty = date début 8 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = date fin 8 | ontologyProperty = functionStartDate }}
    {{PropertyMapping | templateProperty = prédécesseur 8  | ontologyProperty = predecessor }}
    {{PropertyMapping | templateProperty = successeur 8 | ontologyProperty = successor }}
  }}
}}
}}

Revision as of 11:43, 1 March 2013