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

From Mediawiki1
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping
{{ConditionalMapping
| mapToClass = Person
| cases =
| mappings =  
  {{ Condition
{{PropertyMapping | templateProperty = роден-място | ontologyProperty = birthPlace }}
    | templateProperty = наставка
{{PropertyMapping | templateProperty = починал-място | ontologyProperty = deathPlace }}
    | operator = isSet
{{PropertyMapping | templateProperty = име | ontologyProperty = foaf:name }}
    | mapping = {{ TemplateMapping | mapToClass = Person | mappings =
{{PropertyMapping | templateProperty = описание | ontologyProperty = description }}
      {{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Female}}}}}}
{{PropertyMapping | templateProperty = роден-дата | ontologyProperty = birthDate }}
  {{ Condition
{{PropertyMapping | templateProperty = починал-дата | ontologyProperty = deathDate }}
    | operator = otherwise
    | mapping = {{ TemplateMapping | mapToClass = Person | mappings =
      {{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Male}}}}}}
 
| defaultMappings =
 
{{ PropertyMapping | templateProperty = роден-място | ontologyProperty = birthPlace }}
{{ PropertyMapping | templateProperty = починал-място | ontologyProperty = deathPlace }}
 
{{ PropertyMapping | templateProperty = име | ontologyProperty = foaf:name }}
 
{{ PropertyMapping | templateProperty = портрет | ontologyProperty = picture }}
{{ PropertyMapping | templateProperty = портрет-описание | ontologyProperty = pictureDescription }}
{{PropertyMapping | templateProperty = подпис | ontologyProperty = signature}}  
 
{{ PropertyMapping | templateProperty = описание | ontologyProperty = description }}
 
}}
}}

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