Mapping en:Infobox Christian leader: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Update to ConditionalMapping as per Template documentation)
(merged from Infobox bishop)
Line 1: Line 1:
{{ConditionalMapping
{{ConditionalMapping
<!-- From template doc: type = Pope or Cardinal or Antipope or Coptic Pope  
<!-- From template doc: type = Pope or Cardinal or Antipope or Coptic Pope  
http://en.wikipedia.org/wiki/Template:Infobox_Christian_leader -->
http://en.wikipedia.org/wiki/Template:Infobox_Christian_leader  
http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=select+distinct+%3Ft+%3Fc%0D%0AWHERE%7B%0D%0A%7BSELECT+%3Ft+%28count%28%3Ft%29+as+%3Fc%29%0D%0AWHERE%7B%0D%0A%3Fpr+a+dbo%3ACleric.%0D%0A%3Fpr+dbp%3Atype+%3Ft%0D%0A%7D%7D%0D%0A%7D%0D%0AORDER+BY+DESC%28%3Fc%29&format=text%2Fhtml&CXML_redir_for_subjs=121&CXML_redir_for_hrefs=&timeout=30000&debug=on&run=+Run+Query+ -->
| cases =
| cases =
   {{Condition
   {{Condition
Line 15: Line 17:
   | templateProperty = type
   | templateProperty = type
   | operator        = equals
   | operator        = equals
   | value            = Cardinal
   | value            = Papal
  | mapping          =
    {{TemplateMapping
    | mapToClass = Pope
    }}
  }}
  {{Condition
  | templateProperty = type
  | operator        = contains
  | value            = ardinal
   | mapping          =  
   | mapping          =  
     {{TemplateMapping
     {{TemplateMapping
Line 21: Line 32:
     }}
     }}
   }}
   }}
  {{Condition
  | templateProperty = type
  | operator        = contains
  | value            = rchbishop
  | mapping          =
    {{TemplateMapping
    | mapToClass = Archbishop
    }}
  }}
  {{Condition
  | templateProperty = type
  | operator        = contains
  | value            = atriarch
  | mapping =
    {{TemplateMapping
    | mapToClass = ChristianPatriarch
    }}
  }}
  {{Condition
  | templateProperty = type
  | operator        = contains
  | value            = ishop
  | mapping =
    {{TemplateMapping
    | mapToClass = ChristianBishop
    }}
  }}
    {{Condition
  | templateProperty = type
  | operator        = contains
  | value            = riest
  | mapping          =
    {{TemplateMapping
    | mapToClass = Priest
    }}
   {{Condition
   {{Condition
   | operator = otherwise
   | operator = otherwise
   | mapping =  
   | mapping =  
     {{TemplateMapping
     {{TemplateMapping
     | mapToClass = ChristianBishop
     | mapToClass = Cleric
     }}
     }}
   }}
   }}
Line 31: Line 77:


{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = birth_name | ontologyProperty = birthName }}
{{PropertyMapping | templateProperty = religion | ontologyProperty = religion }}
{{PropertyMapping | templateProperty = religion | ontologyProperty = religion }}
{{PropertyMapping | templateProperty = Title | ontologyProperty = title }}
{{PropertyMapping | templateProperty = Title | ontologyProperty = title }}
{{PropertyMapping | templateProperty = title | ontologyProperty = title }}
{{PropertyMapping | templateProperty = archbishop_of | ontologyProperty = title }}
{{PropertyMapping | templateProperty = bishop_of | ontologyProperty = title }}
{{PropertyMapping | templateProperty = patriarch_of | ontologyProperty = title }}
{{PropertyMapping | templateProperty = native_name | ontologyProperty = originalName }}
{{PropertyMapping | templateProperty = diocese | ontologyProperty = diocese }}
{{PropertyMapping | templateProperty = archdiocese | ontologyProperty = diocese }}
{{PropertyMapping | templateProperty = province | ontologyProperty = diocese }}
{{PropertyMapping | templateProperty = metropolis | ontologyProperty = diocese }}
{{PropertyMapping | templateProperty = see | ontologyProperty = diocese }}
{{PropertyMapping | templateProperty = residence | ontologyProperty = residence }}
    {{IntermediateNodeMapping
    | nodeClass = Tenure
    | correspondingProperty = termPeriod
    | nodeURI = /{superResource}/StartEndDate/{number}
    | mappings =
{{PropertyMapping | templateProperty = appointed | ontologyProperty = start }}
{{PropertyMapping | templateProperty = elected | ontologyProperty = start }}
{{PropertyMapping | templateProperty = enthroned | ontologyProperty = start }}
{{PropertyMapping | templateProperty = began | ontologyProperty = start }}
{{PropertyMapping | templateProperty = term_start | ontologyProperty = start }}
        {{DateIntervalMapping
| templateProperty          = term
| startDateOntologyProperty = start
| endDateOntologyProperty  = end
    }}
{{PropertyMapping | templateProperty = quashed | ontologyProperty = end }}
{{PropertyMapping | templateProperty = ended | ontologyProperty = end }}
{{PropertyMapping | templateProperty = term_end | ontologyProperty = end }}
    }}
{{PropertyMapping | templateProperty = Predecessor | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = Predecessor | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = Successor | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = Successor | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = successor | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = opponent | ontologyProperty = opponent }}
{{PropertyMapping | templateProperty = date of birth | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = date of birth | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = place of birth | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = place of birth | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = date of death | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = place of death | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = enthroned | ontologyProperty = activeYearsStartYear }}
{{PropertyMapping | templateProperty = ended | ontologyProperty = activeYearsEndYear }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birthplace | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = birthplace | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = deathplace | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = deathplace | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = date of death | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = place of death | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = parent }}
{{PropertyMapping | templateProperty = parents | ontologyProperty = parent }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{PropertyMapping | templateProperty = partner | ontologyProperty = spouse }}
{{PropertyMapping | templateProperty = children | ontologyProperty = child }}
{{PropertyMapping | templateProperty = children | ontologyProperty = child }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{PropertyMapping | templateProperty = profession | ontologyProperty = occupation }}
{{PropertyMapping | templateProperty = alma_mater | ontologyProperty = almaMater }}
{{PropertyMapping | templateProperty = alma_mater | ontologyProperty = almaMater }}
{{PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
}}
}}

Revision as of 19:55, 15 October 2017

{{ConditionalMapping | cases =

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 Papal

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 contains
value ardinal

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)
template property type
operator contains
value rchbishop

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 Archbishop
Condition (help)
template property type
operator contains
value atriarch

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 ChristianPatriarch
Condition (help)
template property type
operator contains
value ishop

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
Condition (help)
template property type
operator contains
value riest

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 Priest


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 Cleric