Mapping en:Infobox Christian leader: Difference between revisions
(removed disclaimer) |
(Update to ConditionalMapping as per Template documentation) |
||
Line 1: | Line 1: | ||
{{TemplateMapping | {{ConditionalMapping | ||
| mapToClass = ChristianBishop | <!-- From template doc: type = Pope or Cardinal or Antipope or Coptic Pope | ||
| | http://en.wikipedia.org/wiki/Template:Infobox_Christian_leader --> | ||
| cases = | |||
{{Condition | |||
| templateProperty = type | |||
| operator = equals | |||
| value = Pope | |||
| mapping = | |||
{{TemplateMapping | |||
| mapToClass = Pope | |||
}} | |||
}} | |||
{{Condition | |||
| templateProperty = type | |||
| operator = equals | |||
| value = Cardinal | |||
| mapping = | |||
{{TemplateMapping | |||
| mapToClass = Cardinal | |||
}} | |||
}} | |||
{{Condition | |||
| operator = otherwise | |||
| mapping = | |||
{{TemplateMapping | |||
| mapToClass = ChristianBishop | |||
}} | |||
}} | |||
| defaultMappings = | |||
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = religion | ontologyProperty = religion }} | {{PropertyMapping | templateProperty = religion | ontologyProperty = religion }} |
Revision as of 15:51, 25 November 2013
This is the mapping for the Wikipedia template Infobox Christian leader. 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 | type |
operator | equals |
value | Pope |
This is the mapping for the Wikipedia template Infobox Christian leader. 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 | type |
operator | equals |
value | Cardinal |
This is the mapping for the Wikipedia template Infobox Christian leader. 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) | |
---|---|
otherwise |
This is the mapping for the Wikipedia template Infobox Christian leader. 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
Default Mappings
Property Mapping (help) template property name ontology property foaf:name
Property Mapping (help) template property religion ontology property religion
Property Mapping (help) template property Title ontology property title
Property Mapping (help) template property Predecessor ontology property predecessor
Property Mapping (help) template property Successor ontology property successor
Property Mapping (help) template property date of birth ontology property birthDate
Property Mapping (help) template property place of birth ontology property birthPlace
Property Mapping (help) template property date of death ontology property deathDate
Property Mapping (help) template property place of death ontology property deathPlace
Property Mapping (help) template property enthroned ontology property activeYearsStartYear
Property Mapping (help) template property ended ontology property activeYearsEndYear
Property Mapping (help) template property birth_date ontology property birthDate
Property Mapping (help) template property birthplace ontology property birthPlace
Property Mapping (help) template property death_date ontology property deathDate
Property Mapping (help) template property deathplace ontology property deathPlace
Property Mapping (help) template property nationality ontology property nationality
Property Mapping (help) template property parents ontology property parent
Property Mapping (help) template property spouse ontology property spouse
Property Mapping (help) template property children ontology property child
Property Mapping (help) template property occupation ontology property occupation
Property Mapping (help) template property alma_mater ontology property almaMater