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

From DBpedia Mappings
Jump to navigationJump to search
(added name and birth/death properties)
(added conditionnal mapping according to the title entry)
Line 1: Line 1:
{{TemplateMapping
{{ConditionalMapping
|mapToClass = Cleric
| cases =
|mappings =
{{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:name }}
   {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:nick }}
   {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:nick }}
Line 9: Line 48:
   {{PropertyMapping | templateProperty = lieu décès  | ontologyProperty = deathPlace }}
   {{PropertyMapping | templateProperty = lieu décès  | ontologyProperty = deathPlace }}
   {{PropertyMapping | templateProperty = date décès  | ontologyProperty = deathDate }}
   {{PropertyMapping | templateProperty = date décès  | ontologyProperty = deathDate }}
}}
}}
}}

Revision as of 19:11, 28 February 2013

This is the mapping for the Wikipedia template Infobox Prélat catholique. 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 titre
operator equals
value Pape

This is the mapping for the Wikipedia template Infobox Prélat catholique. 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.

Template Mapping (help)
map to class Pope
Condition (help)
template property titre
operator equals
value Évêque

This is the mapping for the Wikipedia template Infobox Prélat catholique. 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.

Template Mapping (help)
map to class ChristianBishop
Condition (help)
template property titre
operator equals
value Cardinal

This is the mapping for the Wikipedia template Infobox Prélat catholique. 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.

Template Mapping (help)
map to class Cardinal
Condition (help)
template property titre
operator equals
value Prêtre

This is the mapping for the Wikipedia template Infobox Prélat catholique. 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.

Template Mapping (help)
map to class Priest


Condition (help)
otherwise

This is the mapping for the Wikipedia template Infobox Prélat catholique. 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.

Template Mapping (help)
map to class Cleric

Default Mappings




Property Mapping (help)
template property nom
ontology property foaf:name




Property Mapping (help)
template property nom
ontology property foaf:nick




Property Mapping (help)
template property nom naissance
ontology property birthName




Property Mapping (help)
template property lieu naissance
ontology property birthPlace




Property Mapping (help)
template property date naissance
ontology property birthDate




Property Mapping (help)
template property lieu décès
ontology property deathPlace




Property Mapping (help)
template property date décès
ontology property deathDate


}}