Mapping en:Infobox Christian leader: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(initial mapping)
 
No edit summary
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ DBpediaTemplateMapping
 
| mapToClass = ChristianBishop
{{ConditionalMapping
| mappings =
<!-- From template doc: type = Pope or Cardinal or Antipope or Coptic Pope
{{ DBpediaPropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
http://en.wikipedia.org/wiki/Template:Infobox_Christian_leader
{{ DBpediaPropertyMapping | templateProperty = religion | ontologyProperty = religion }}
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+ -->
{{ DBpediaPropertyMapping | templateProperty = Title | ontologyProperty = title }}
| cases =
{{ DBpediaPropertyMapping | templateProperty = Predecessor | ontologyProperty = predecessor }}
  {{Condition
{{ DBpediaPropertyMapping | templateProperty = Successor | ontologyProperty = successor }}
  | templateProperty = type
{{ DBpediaPropertyMapping | templateProperty = date of birth | ontologyProperty = birthDate }}
  | operator        = equals
{{ DBpediaPropertyMapping | templateProperty = place of birth | ontologyProperty = birthPlace }}
  | value            = Pope
{{ DBpediaPropertyMapping | templateProperty = date of death | ontologyProperty = deathDate }}
  | mapping          =
{{ DBpediaPropertyMapping | templateProperty = place of death | ontologyProperty = deathPlace }}
    {{TemplateMapping
{{ DBpediaPropertyMapping | templateProperty = enthroned | ontologyProperty = activeYearsStartYear }}
    | mapToClass = Pope
{{ DBpediaPropertyMapping | templateProperty = ended | ontologyProperty = activeYearsEndYear }}
    }}
{{ DBpediaPropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
  }}
{{ DBpediaPropertyMapping | templateProperty = birthplace | ontologyProperty = birthPlace }}
  {{Condition
{{ DBpediaPropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
  | templateProperty = type
{{ DBpediaPropertyMapping | templateProperty = deathplace | ontologyProperty = deathPlace }}
  | operator        = equals
{{ DBpediaPropertyMapping | templateProperty = nationality | ontologyProperty = nationality }}
  | value            = Papal
{{ DBpediaPropertyMapping | templateProperty = parents | ontologyProperty = father }}
  | mapping          =
{{ DBpediaPropertyMapping | templateProperty = parents | ontologyProperty = mother }}
    {{TemplateMapping
{{ DBpediaPropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
    | mapToClass = Pope
{{ DBpediaPropertyMapping | templateProperty = children | ontologyProperty = child }}
    }}
{{ DBpediaPropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
  }}
{{ DBpediaPropertyMapping | templateProperty = alma_mater | ontologyProperty = almaMater }}
  {{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 }}
}}
}}

Latest revision as of 20:05, 15 October 2017

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 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

Default Mappings




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




Property Mapping (help)
template property birth_name
ontology property birthName




Property Mapping (help)
template property religion
ontology property religion




Property Mapping (help)
template property Title
ontology property title




Property Mapping (help)
template property title
ontology property title




Property Mapping (help)
template property archbishop_of
ontology property title




Property Mapping (help)
template property bishop_of
ontology property title




Property Mapping (help)
template property patriarch_of
ontology property title




Property Mapping (help)
template property native_name
ontology property originalName




Property Mapping (help)
template property diocese
ontology property diocese




Property Mapping (help)
template property archdiocese
ontology property diocese




Property Mapping (help)
template property province
ontology property diocese




Property Mapping (help)
template property metropolis
ontology property diocese




Property Mapping (help)
template property see
ontology property diocese




Property Mapping (help)
template property residence
ontology property residence


Intermediate Node Mapping (help)
node class Tenure
corresponding property termPeriod




Property Mapping (help)
template property appointed
ontology property start




Property Mapping (help)
template property elected
ontology property start




Property Mapping (help)
template property enthroned
ontology property start




Property Mapping (help)
template property began
ontology property start




Property Mapping (help)
template property term_start
ontology property start


Date Interval Mapping (help)
template property term
start date ontology property start
end date ontology property end




Property Mapping (help)
template property quashed
ontology property end




Property Mapping (help)
template property ended
ontology property end




Property Mapping (help)
template property term_end
ontology property end




Property Mapping (help)
template property Predecessor
ontology property predecessor




Property Mapping (help)
template property Successor
ontology property successor




Property Mapping (help)
template property predecessor
ontology property predecessor




Property Mapping (help)
template property successor
ontology property successor




Property Mapping (help)
template property opponent
ontology property opponent




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 birth_date
ontology property birthDate




Property Mapping (help)
template property birthplace
ontology property birthPlace




Property Mapping (help)
template property birth_place
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 death_place
ontology property deathPlace




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 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 partner
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 profession
ontology property occupation




Property Mapping (help)
template property alma_mater
ontology property almaMater




Property Mapping (help)
template property motto
ontology property motto