Mapping bg:Президент инфо: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{ TemplateMapping | mapToClass = OfficeHolder | mappings =
{{ ConditionalMapping | cases =
  {{ Condition
    | templateProperty = наставка
    | operator = isSet
    | mapping = {{ TemplateMapping | mapToClass = OfficeHolder | mappings =
      {{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Female}}}}}}
  {{ Condition
    | operator = otherwise
    | mapping = {{ TemplateMapping | mapToClass = OfficeHolder | mappings =
      {{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Male}}}}}}


{{ PropertyMapping | templateProperty = име | ontologyProperty = foaf:name }}
| defaultMappings =
{{ PropertyMapping | templateProperty = роден-дата | ontologyProperty = birthDate }}
  {{ PropertyMapping | templateProperty = име | ontologyProperty = foaf:name }}
{{ PropertyMapping | templateProperty = роден-място | ontologyProperty = birthPlace }}
  {{ PropertyMapping | templateProperty = роден-дата | ontologyProperty = birthDate }}
{{ PropertyMapping | templateProperty = починал-дата | ontologyProperty = deathDate }}
  {{ PropertyMapping | templateProperty = роден-място | ontologyProperty = birthPlace }}
{{ PropertyMapping | templateProperty = починал-място | ontologyProperty = deathPlace }}
  {{ PropertyMapping | templateProperty = починал-дата | ontologyProperty = deathDate }}
  {{ PropertyMapping | templateProperty = починал-място | ontologyProperty = deathPlace }}


{{ PropertyMapping | templateProperty = ред | ontologyProperty = order }}
  {{ PropertyMapping | templateProperty = ред | ontologyProperty = order }}


{{ PropertyMapping | templateProperty = дата1 | ontologyProperty = serviceStartDate }}
  {{ PropertyMapping | templateProperty = дата1 | ontologyProperty = serviceStartDate }}
{{ PropertyMapping | templateProperty = дата2 | ontologyProperty = serviceEndDate }}
  {{ PropertyMapping | templateProperty = дата2 | ontologyProperty = serviceEndDate }}
{{ PropertyMapping | templateProperty = партия | ontologyProperty = party }}
  {{ PropertyMapping | templateProperty = партия | ontologyProperty = party }}


{{ PropertyMapping | templateProperty = предшестван | ontologyProperty = predecessor }}
  {{ PropertyMapping | templateProperty = предшестван | ontologyProperty = predecessor }}


{{ PropertyMapping | templateProperty = портрет | ontologyProperty = picture }}
  {{ PropertyMapping | templateProperty = портрет | ontologyProperty = picture }}
{{ PropertyMapping | templateProperty = сменен | ontologyProperty = spouse }}
  {{ PropertyMapping | templateProperty = сменен | ontologyProperty = spouse }}
{{ PropertyMapping | templateProperty = жена | ontologyProperty = spouse }}
  {{ PropertyMapping | templateProperty = жена | ontologyProperty = spouse }}
{{ PropertyMapping | templateProperty = съпруг | ontologyProperty = spouse }}
  {{ PropertyMapping | templateProperty = съпруг | ontologyProperty = spouse }}


{{ PropertyMapping | templateProperty = вицепрезидент | ontologyProperty = vicePresident }}
  {{ PropertyMapping | templateProperty = вицепрезидент | ontologyProperty = vicePresident }}
{{ PropertyMapping | templateProperty = министър-председател | ontologyProperty = primeMinister }}
  {{ PropertyMapping | templateProperty = министър-председател | ontologyProperty = primeMinister }}


{{ PropertyMapping | templateProperty = религия | ontologyProperty = religion }}
  {{ PropertyMapping | templateProperty = религия | ontologyProperty = religion }}
{{ PropertyMapping | templateProperty = alma mater | ontologyProperty = almaMater }}
  {{ PropertyMapping | templateProperty = alma mater | ontologyProperty = almaMater }}


{{ PropertyMapping | templateProperty = президент | ontologyProperty = president }}
  {{ PropertyMapping | templateProperty = президент | ontologyProperty = president }}
 
    {{ ConditionalMapping | cases =
      {{ Condition
        | templateProperty = наставка
        | operator = isSet
        | mapping = {{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Female}}}}
      {{ Condition
        | operator = otherwise
        | mapping = {{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Male}}}}}}


}}
}}

Revision as of 18:38, 22 December 2014

This is the mapping for the Wikipedia template Президент инфо. 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 наставка
operator isSet

This is the mapping for the Wikipedia template Президент инфо. 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 OfficeHolder

Mappings

Constant Mapping (help)
ontology property gender
value http://dbpedia.org/resource/Female
Condition (help)
otherwise

This is the mapping for the Wikipedia template Президент инфо. 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 OfficeHolder

Mappings

Constant Mapping (help)
ontology property gender
value http://dbpedia.org/resource/Male

Default Mappings




Property Mapping (help)
template property име
ontology property foaf:name




Property Mapping (help)
template property роден-дата
ontology property birthDate




Property Mapping (help)
template property роден-място
ontology property birthPlace




Property Mapping (help)
template property починал-дата
ontology property deathDate




Property Mapping (help)
template property починал-място
ontology property deathPlace





Property Mapping (help)
template property ред
ontology property order





Property Mapping (help)
template property дата1
ontology property serviceStartDate




Property Mapping (help)
template property дата2
ontology property serviceEndDate




Property Mapping (help)
template property партия
ontology property party





Property Mapping (help)
template property предшестван
ontology property predecessor





Property Mapping (help)
template property портрет
ontology property picture




Property Mapping (help)
template property сменен
ontology property spouse




Property Mapping (help)
template property жена
ontology property spouse




Property Mapping (help)
template property съпруг
ontology property spouse





Property Mapping (help)
template property вицепрезидент
ontology property vicePresident




Property Mapping (help)
template property министър-председател
ontology property primeMinister





Property Mapping (help)
template property религия
ontology property religion




Property Mapping (help)
template property alma mater
ontology property almaMater





Property Mapping (help)
template property президент
ontology property president