Mapping bg:Държавник инфо: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
m (s/buriedPlace/placeOfBurial/)
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{TemplateMapping | mapToClass = Politician
{{ConditionalMapping
| mappings =  
| cases =
  {{ Condition
    | templateProperty = наставка
    | operator = isSet
    | mapping = {{ TemplateMapping | mapToClass = Politician | mappings =
      {{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Female}}}}}}
  {{ Condition
    | operator = otherwise
    | mapping = {{ TemplateMapping | mapToClass = Politician | mappings =
      {{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Male}}}}}}


{{ PropertyMapping | templateProperty = роден_място | ontologyProperty = birthPlace}}
| defaultMappings =
        {{ PropertyMapping | templateProperty = роден_дата | ontologyProperty = birthDate}}
        {{ PropertyMapping | templateProperty = починал_място | ontologyProperty = deathPlace}}
{{ PropertyMapping | templateProperty = починал_дата | ontologyProperty = deathDate}} 
        {{ PropertyMapping | templateProperty = националност | ontologyProperty = nationality}}


        {{IntermediateNodeMapping | nodeClass = CareerStation | correspondingProperty = careerStation | mappings =  
<!-- OWN PROPERTIES -->
            {{ PropertyMapping | templateProperty = длъжност | ontologyProperty = office}}
  {{ PropertyMapping | templateProperty = име | ontologyProperty = foaf:name}}
    {{ PropertyMapping | templateProperty = мандат_нач | ontologyProperty = serviceStartDate}}  
  {{ PropertyMapping | templateProperty = роден_място | ontologyProperty = birthPlace}}
            {{ PropertyMapping | templateProperty = мандат_край | ontologyProperty = serviceEndDate}}  
  {{ PropertyMapping | templateProperty = роден_дата | ontologyProperty = birthDate}}
            {{ PropertyMapping | templateProperty = назначен от | ontologyProperty = appointer}}
  {{ PropertyMapping | templateProperty = починал_място | ontologyProperty = deathPlace}}
            {{ PropertyMapping | templateProperty = предшестван от | ontologyProperty = predecessor}}
  {{ PropertyMapping | templateProperty = починал_дата | ontologyProperty = deathDate}} 
            {{ PropertyMapping | templateProperty = наследен от | ontologyProperty = successor}}
  {{ PropertyMapping | templateProperty = националност | ontologyProperty = nationality}}
}}
  {{ PropertyMapping | templateProperty = гражданство | ontologyProperty = nationality}}
  {{ PropertyMapping | templateProperty = съпруг | ontologyProperty = spouse}}  
  {{ PropertyMapping | templateProperty = съпруга | ontologyProperty = spouse}}
  {{ PropertyMapping | templateProperty = деца | ontologyProperty = child }}
  {{ PropertyMapping | templateProperty = родства | ontologyProperty = relation}}
  {{ PropertyMapping | templateProperty = уебсайт | ontologyProperty = foaf:page}}
  {{ PropertyMapping | templateProperty = бележки | ontologyProperty = notes }}
  {{ PropertyMapping | templateProperty = религия | ontologyProperty = religion }}
  {{ PropertyMapping | templateProperty = погребан | ontologyProperty = placeOfBurial }}
  {{ PropertyMapping | templateProperty = погребана | ontologyProperty = placeOfBurial }}
  <!-- {{ PropertyMapping | templateProperty = големина | ontologyProperty = }} -->
  <!-- {{ PropertyMapping | templateProperty = седалище | ontologyProperty = }} -->
  <!-- {{ PropertyMapping | templateProperty = отличия | ontologyProperty = }} -->
  {{ PropertyMapping | templateProperty = подпис | ontologyProperty = signature}}
  {{ PropertyMapping | templateProperty = портал | ontologyProperty = foaf:page}}
  {{ PropertyMapping | templateProperty = портрет | ontologyProperty = picture}}
  {{ PropertyMapping | templateProperty = професия | ontologyProperty = profession}}
  {{ PropertyMapping | templateProperty = alma mater | ontologyProperty = almaMater}}
  {{ PropertyMapping | templateProperty = преданост | ontologyProperty = allegiance}}
  {{ PropertyMapping | templateProperty = войни | ontologyProperty = war}}
  {{ PropertyMapping | templateProperty = звание | ontologyProperty = militaryRank}}
  {{ PropertyMapping | templateProperty = род войски | ontologyProperty = militaryBranch}}
  {{ PropertyMapping | templateProperty = войсково поделение | ontologyProperty = militaryUnit}}
  {{ PropertyMapping | templateProperty = командвания | ontologyProperty = militaryCommand}}
 
  {{ DateIntervalMapping | templateProperty = години на служба
                | startDateOntologyProperty = serviceStartYear
                | endDateOntologyProperty = serviceEndYear
  }}


<!-- PROPERTIES of длъжност, първи мандат -->
  {{IntermediateNodeMapping | nodeClass = CareerStation | correspondingProperty = careerStation | mappings =
    {{ PropertyMapping | templateProperty = президент | ontologyProperty = president}}
    {{ PropertyMapping | templateProperty = длъжност | ontologyProperty = office}}
    {{ PropertyMapping | templateProperty = мандат_край | ontologyProperty = activeYearsEndYear }}
    {{ PropertyMapping | templateProperty = мандат_нач | ontologyProperty = activeYearsStartYear }}
    {{ PropertyMapping | templateProperty = министър-председател | ontologyProperty = primeMinister}}
    {{ PropertyMapping | templateProperty = назначен от | ontologyProperty = appointer}}
    {{ PropertyMapping | templateProperty = наследен от | ontologyProperty = successor}}
    {{ PropertyMapping | templateProperty = партия | ontologyProperty = party}}
    {{ PropertyMapping | templateProperty = пост | ontologyProperty = colleague}}
    {{ PropertyMapping | templateProperty = пост1 | ontologyProperty = colleague}}
    {{ PropertyMapping | templateProperty = пост2a | ontologyProperty = colleague}}
    {{ PropertyMapping | templateProperty = предшестван от | ontologyProperty = predecessor}}
  }}


<!-- {{ PropertyMapping | templateProperty = предшестван от | ontologyProperty = }} -->
  <!-- PROPERTIES of длъжност, втори мандат -->
<!-- {{ PropertyMapping | templateProperty = партия | ontologyProperty = }} -->
  {{IntermediateNodeMapping | nodeClass = CareerStation | correspondingProperty = careerStation | mappings =
<!-- {{ PropertyMapping | templateProperty = наследен от | ontologyProperty = }} -->
 
<!-- {{ PropertyMapping | templateProperty = портал | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = втори_мандат_вицепрезидент | ontologyProperty = vicePresident}}
<!-- {{ PropertyMapping | templateProperty = портрет | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = втори_мандат_край | ontologyProperty = activeYearsEndYear}}
<!-- {{ PropertyMapping | templateProperty = професия | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = втори_мандат_министър-председател | ontologyProperty = primeMinister}}
<!-- {{ PropertyMapping | templateProperty = министър-председател | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = втори_мандат_монарх | ontologyProperty = monarch}}
<!-- {{ PropertyMapping | templateProperty = alma mater | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = втори_мандат_наследен от | ontologyProperty = successor}}
<!-- {{ PropertyMapping | templateProperty = год_мандат_министър-председател | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = втори_мандат_нач | ontologyProperty = activeYearsStartYear}}
    {{ PropertyMapping | templateProperty = втори_мандат_пост | ontologyProperty = colleague}}
    {{ PropertyMapping | templateProperty = втори_мандат_пост-вид | ontologyProperty = colleague}}
    {{ PropertyMapping | templateProperty = втори_мандат_предшестван от | ontologyProperty = predecessor}}
    {{ PropertyMapping | templateProperty = втори_мандат_президент | ontologyProperty = president}}
    <!--{{ PropertyMapping | templateProperty = год_втори_мандат_министър-председател | ontologyProperty = }}-->
    <!--{{ PropertyMapping | templateProperty = год_втори_мандат_пост | ontologyProperty = }}-->
 
  }}


<!-- {{ PropertyMapping | templateProperty = назначен от | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = религия | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = мандат_нач2 | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = длъжност2 | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = мандат_край2 | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = подпис | ontologyProperty = }} -->
<!-- {{ PropertyMapping | templateProperty = президент | ontologyProperty = }} -->


<!-- {{ PropertyMapping | templateProperty = наследен от2 | ontologyProperty = }} -->
<!-- PROPERTIES of длъжност2, първи мандат -->
<!-- {{ PropertyMapping | templateProperty = предшестван от2 | ontologyProperty = }} -->
  {{IntermediateNodeMapping | nodeClass = CareerStation | correspondingProperty = careerStation | mappings =
<!-- {{ PropertyMapping | templateProperty = год_мандат_президент | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = длъжност2 | ontologyProperty = office}}
<!-- {{ PropertyMapping | templateProperty = преданост | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = мандат_край2 | ontologyProperty = serviceEndDate}}
<!-- {{ PropertyMapping | templateProperty = войни | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = мандат_нач2 | ontologyProperty = serviceStartDate}}
<!-- {{ PropertyMapping | templateProperty = години на служба | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = назначен от2 | ontologyProperty = appointer}}
<!-- {{ PropertyMapping | templateProperty = деца | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = наследен от2 | ontologyProperty = successor}}
<!-- {{ PropertyMapping | templateProperty = звание | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = партия2 | ontologyProperty = party}}
<!-- {{ PropertyMapping | templateProperty = вице_министър-председател | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = пост1a | ontologyProperty = colleague}}
<!-- {{ PropertyMapping | templateProperty = уебсайт | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = пост2 | ontologyProperty = colleague}}
<!-- {{ PropertyMapping | templateProperty = год_мандат_вице_министър-председател | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = пост3a | ontologyProperty = colleague}}
<!-- {{ PropertyMapping | templateProperty = монарх | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = предшестван от2 | ontologyProperty = predecessor}}
<!-- {{ PropertyMapping | templateProperty = наставка | ontologyProperty = }} -->
  }}
<!-- {{ PropertyMapping | templateProperty = род войски | ontologyProperty = }} -->
 
<!-- {{ PropertyMapping | templateProperty = мандат_нач3 | ontologyProperty = }} -->
<!-- PROPERTIES of длъжност3, първи мандат -->
<!-- {{ PropertyMapping | templateProperty = длъжност3 | ontologyProperty = }} -->
  {{IntermediateNodeMapping | nodeClass = CareerStation | correspondingProperty = careerStation | mappings =
<!-- {{ PropertyMapping | templateProperty = мандат_край3 | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = длъжност3 | ontologyProperty = office}}
<!-- {{ PropertyMapping | templateProperty = втори_мандат_нач | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = мандат_нач3 | ontologyProperty = serviceStartDate}}
<!-- {{ PropertyMapping | templateProperty = министър-председател2 | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = мандат_край3 | ontologyProperty = serviceEndDate}}
<!-- {{ PropertyMapping | templateProperty = втори_мандат_предшестван от | ontologyProperty = }} -->
    {{ PropertyMapping | templateProperty = назначен от3 | ontologyProperty = appointer}}
<!-- {{ PropertyMapping | templateProperty = втори_мандат_край | ontologyProperty = }
    {{ PropertyMapping | templateProperty = предшестван от3 | ontologyProperty = predecessor}}
    {{ PropertyMapping | templateProperty = наследен от3 | ontologyProperty = successor}}
    {{ PropertyMapping | templateProperty = пост3 | ontologyProperty = colleague}}
    {{ PropertyMapping | templateProperty = пост4a | ontologyProperty = colleague}}
  }}
 
 
<!-- PROPERTIES of длъжност, трети мандат -->
<!-- Трябва да влязат в собствен IntermediateNodeMapping заедно с длъжност, партия, назначен от-->
  {{IntermediateNodeMapping | nodeClass = CareerStation | correspondingProperty = careerStation | mappings =
    {{ PropertyMapping | templateProperty = трети_мандат_предшестван от | ontologyProperty = predecessor}}
    {{ PropertyMapping | templateProperty = трети_мандат_наследен от | ontologyProperty = successor}}
    {{ PropertyMapping | templateProperty = трети_мандат_вице_министър-председател | ontologyProperty = vicePrimeMinister}}
    {{ PropertyMapping | templateProperty = трети_мандат_вицепрезидент |
}}
}}

Latest revision as of 17:29, 1 April 2015

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 Politician

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 Politician

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 birthPlace




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




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




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




Property Mapping (help)
template property националност
ontology property nationality




Property Mapping (help)
template property гражданство
ontology property nationality




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




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




Property Mapping (help)
template property деца
ontology property child




Property Mapping (help)
template property родства
ontology property relation




Property Mapping (help)
template property уебсайт
ontology property foaf:page




Property Mapping (help)
template property бележки
ontology property notes




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




Property Mapping (help)
template property погребан
ontology property placeOfBurial




Property Mapping (help)
template property погребана
ontology property placeOfBurial




Property Mapping (help)
template property подпис
ontology property signature




Property Mapping (help)
template property портал
ontology property foaf:page




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




Property Mapping (help)
template property професия
ontology property profession




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




Property Mapping (help)
template property преданост
ontology property allegiance




Property Mapping (help)
template property войни
ontology property war




Property Mapping (help)
template property звание
ontology property militaryRank




Property Mapping (help)
template property род войски
ontology property militaryBranch




Property Mapping (help)
template property войсково поделение
ontology property militaryUnit




Property Mapping (help)
template property командвания
ontology property militaryCommand


Date Interval Mapping (help)
template property години на служба
start date ontology property serviceStartYear
end date ontology property serviceEndYear


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




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




Property Mapping (help)
template property длъжност
ontology property office




Property Mapping (help)
template property мандат_край
ontology property activeYearsEndYear




Property Mapping (help)
template property мандат_нач
ontology property activeYearsStartYear




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




Property Mapping (help)
template property назначен от
ontology property appointer




Property Mapping (help)
template property наследен от
ontology property successor




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




Property Mapping (help)
template property пост
ontology property colleague




Property Mapping (help)
template property пост1
ontology property colleague




Property Mapping (help)
template property пост2a
ontology property colleague




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


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




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




Property Mapping (help)
template property втори_мандат_край
ontology property activeYearsEndYear




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




Property Mapping (help)
template property втори_мандат_монарх
ontology property monarch




Property Mapping (help)
template property втори_мандат_наследен от
ontology property successor




Property Mapping (help)
template property втори_мандат_нач
ontology property activeYearsStartYear




Property Mapping (help)
template property втори_мандат_пост
ontology property colleague




Property Mapping (help)
template property втори_мандат_пост-вид
ontology property colleague




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




Property Mapping (help)
template property втори_мандат_президент
ontology property president



Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property длъжност2
ontology property office




Property Mapping (help)
template property мандат_край2
ontology property serviceEndDate




Property Mapping (help)
template property мандат_нач2
ontology property serviceStartDate




Property Mapping (help)
template property назначен от2
ontology property appointer




Property Mapping (help)
template property наследен от2
ontology property successor




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




Property Mapping (help)
template property пост1a
ontology property colleague




Property Mapping (help)
template property пост2
ontology property colleague




Property Mapping (help)
template property пост3a
ontology property colleague




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


Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




Property Mapping (help)
template property длъжност3
ontology property office




Property Mapping (help)
template property мандат_нач3
ontology property serviceStartDate




Property Mapping (help)
template property мандат_край3
ontology property serviceEndDate




Property Mapping (help)
template property назначен от3
ontology property appointer




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




Property Mapping (help)
template property наследен от3
ontology property successor




Property Mapping (help)
template property пост3
ontology property colleague




Property Mapping (help)
template property пост4a
ontology property colleague



Intermediate Node Mapping (help)
node class CareerStation
corresponding property careerStation




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




Property Mapping (help)
template property трети_мандат_наследен от
ontology property successor




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




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




Property Mapping (help)
template property трети_мандат_заместник-министър
ontology property vicePrimeMinister




Property Mapping (help)
template property трети_мандат_генерал-губернатор
ontology property governorGeneral




Property Mapping (help)
template property трети_мандат_губернатор
ontology property governor




Property Mapping (help)
template property трети_мандат_монарх
ontology property monarch




Property Mapping (help)
template property трети_мандат_назначен от
ontology property appointer




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




Property Mapping (help)
template property трети_мандат_наследен от
ontology property successor




Property Mapping (help)
template property трети_мандат_нач
ontology property serviceStartDate




Property Mapping (help)
template property трети_мандат_край
ontology property serviceEndDate




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




Property Mapping (help)
template property трети_мандат_канцлер
ontology property chancellor




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