Mapping bg:Биография инфо: Difference between revisions

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


{{ PropertyMapping | templateProperty = роден-място | ontologyProperty = birthPlace }}
{{ PropertyMapping | templateProperty = роден-място | ontologyProperty = birthPlace }}
Line 8: Line 20:
{{ PropertyMapping | templateProperty = портрет | ontologyProperty = picture }}
{{ PropertyMapping | templateProperty = портрет | ontologyProperty = picture }}
{{ PropertyMapping | templateProperty = портрет-описание | ontologyProperty = pictureDescription }}
{{ PropertyMapping | templateProperty = портрет-описание | ontologyProperty = pictureDescription }}
{{PropertyMapping | templateProperty = подпис | ontologyProperty = signature}}


{{ PropertyMapping | templateProperty = описание | ontologyProperty = description }}
{{ PropertyMapping | templateProperty = описание | ontologyProperty = description }}
{{ PropertyMapping | templateProperty = роден-дата | ontologyProperty = birthDate }}
{{ PropertyMapping | templateProperty = починал-дата | ontologyProperty = deathDate }}
{{ PropertyMapping | templateProperty = починал-години | ontologyProperty = deathDate }}


}}
}}

Latest revision as of 15:44, 6 August 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 Person

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 Person

Mappings

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

Default Mappings




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




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





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





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




Property Mapping (help)
template property портрет-описание
ontology property pictureDescription




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





Property Mapping (help)
template property описание
ontology property description