<?xml version="1.0" encoding="utf-8"?><mediawiki xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.8/ http://www.mediawiki.org/xml/export-0.8.xsd" version="0.8" xml:lang="en" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mediawiki.org/xml/export-0.8/">
      <page>
        <title>Mapping en:Infobox Christian leader</title>
        <ns>204</ns>
        <id>66</id>
        <revision>
          <id>52454</id>
          <timestamp>2017-10-15T19:05:06Z</timestamp>
          <contributor>
            <username></username>
            <id></id>
          </contributor>
          <text xml:space="preserve">
{{ConditionalMapping
&lt;!-- From template doc: type = Pope or Cardinal or Antipope or Coptic Pope 
http://en.wikipedia.org/wiki/Template:Infobox_Christian_leader 
http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&amp;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&amp;format=text%2Fhtml&amp;CXML_redir_for_subjs=121&amp;CXML_redir_for_hrefs=&amp;timeout=30000&amp;debug=on&amp;run=+Run+Query+ --&gt;
| cases =
  {{Condition
  | templateProperty = type
  | operator         = equals
  | value            = Pope
  | mapping          = 
    {{TemplateMapping
    | mapToClass = Pope
    }}
  }}
  {{Condition
  | templateProperty = type
  | operator         = equals
  | value            = Papal
  | mapping          = 
    {{TemplateMapping
    | mapToClass = Pope
    }}
  }}
  {{Condition
  | templateProperty = type
  | operator         = contains
  | value            = ardinal
  | mapping          = 
    {{TemplateMapping
    | mapToClass = Cardinal
    }}
  }}
  {{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
  | operator = otherwise
  | mapping = 
    {{TemplateMapping
    | mapToClass = Cleric
    }}
  }}
| defaultMappings =
	{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
	{{PropertyMapping | templateProperty = birth_name | ontologyProperty = birthName }}
	{{PropertyMapping | templateProperty = religion | ontologyProperty = religion }}
	{{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 = 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 = place of birth | ontologyProperty = birthPlace }}
	{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
	{{PropertyMapping | templateProperty = birthplace | ontologyProperty = birthPlace }}
	{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
	{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
	{{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 = parents | ontologyProperty = parent }}
	{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
	{{PropertyMapping | templateProperty = partner | ontologyProperty = spouse }}
	{{PropertyMapping | templateProperty = children | ontologyProperty = child }}
	{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
	{{PropertyMapping | templateProperty = profession | ontologyProperty = occupation }}
	{{PropertyMapping | templateProperty = alma_mater | ontologyProperty = almaMater }}
	{{PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
}}</text>
          <format></format>
        </revision>
      </page>
    </mediawiki>