Mapping bg:Биография инфо: Difference between revisions
No edit summary |
No edit summary |
||
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 10: | Line 22: | ||
{{ PropertyMapping | templateProperty = описание | ontologyProperty = description }} | {{ PropertyMapping | templateProperty = описание | ontologyProperty = description }} | ||
}} | }} |
Revision as of 15:42, 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 description