Mapping en:Infobox military person: Difference between revisions
(Replace country mapping to allegiance ontology property for the allegiance infobox property) |
No edit summary |
||
Line 1: | Line 1: | ||
{{TemplateMapping | {{ ConditionalMapping | cases = | ||
| mapToClass = MilitaryPerson | {{ Condition | ||
| | | templateProperty = наставка | ||
| operator = isSet | |||
| mapping = {{TemplateMapping | mapToClass = MilitaryPerson | mappings = | |||
{{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Female}}}}}} | |||
{{ Condition | |||
| operator = otherwise | |||
| mapping = {{TemplateMapping | mapToClass = MilitaryPerson | mappings = | |||
{{ConstantMapping | ontologyProperty = gender | value = http://dbpedia.org/resource/Male}}}}}} | |||
| defaultMappings = | |||
{{PropertyMapping | templateProperty = име | ontologyProperty = foaf:name }} | |||
{{PropertyMapping | templateProperty = прякор | ontologyProperty = foaf:nick}} | |||
{{PropertyMapping | templateProperty = описание | ontologyProperty = description }} | |||
{{PropertyMapping | templateProperty = снимка | ontologyProperty = picture }} | |||
{{PropertyMapping | templateProperty = портрет | ontologyProperty = picture }} | |||
{{PropertyMapping | templateProperty = дата-на-раждане | ontologyProperty = birthDate }} | |||
{{PropertyMapping | templateProperty = роден-дата | ontologyProperty = birthDate }} | |||
{{PropertyMapping | templateProperty = роден-година | ontologyProperty = birthDate }} | |||
{{PropertyMapping | templateProperty = починал-дата | ontologyProperty = deathDate }} | |||
{{PropertyMapping | templateProperty = дата-на-смърт | ontologyProperty = deathDate }} | |||
{{PropertyMapping | templateProperty = починал-година | ontologyProperty = deathDate }} | |||
{{PropertyMapping | templateProperty = placeofburial | ontologyProperty = restingPlace }} | |||
{{PropertyMapping | templateProperty = място-на-раждане | ontologyProperty = birthPlace }} | |||
{{PropertyMapping | templateProperty = място на раждане | ontologyProperty = birthPlace }} | |||
{{PropertyMapping | templateProperty = роден-страна | ontologyProperty = birthPlace }} | |||
{{PropertyMapping | templateProperty = роден-град | ontologyProperty = birthPlace }} | |||
{{PropertyMapping | templateProperty = място-на-смърт | ontologyProperty = deathPlace }} | |||
{{PropertyMapping | templateProperty = място на смърт | ontologyProperty = deathPlace }} | |||
{{PropertyMapping | templateProperty = починал-страна | ontologyProperty = deathPlace }} | |||
{{PropertyMapping | templateProperty = починал-град | ontologyProperty = deathPlace }} | |||
{{PropertyMapping | templateProperty = битки | ontologyProperty = battle }} | |||
{{PropertyMapping | templateProperty = войни | ontologyProperty = war }} | |||
{{PropertyMapping | templateProperty = войсково поделение | ontologyProperty = militaryUnit }} | |||
{{PropertyMapping | templateProperty = въоръжени сили | ontologyProperty = militaryBranch }} | |||
{{PropertyMapping | templateProperty = звание | ontologyProperty = militaryRank }} | |||
{{PropertyMapping | templateProperty = командвания | ontologyProperty = militaryCommand }} | |||
{{PropertyMapping | templateProperty = награди | ontologyProperty = award }} | |||
{{PropertyMapping | templateProperty = националност | ontologyProperty = nationality }} | |||
{{PropertyMapping | templateProperty = по-късна работа | ontologyProperty = occupation }} | |||
{{PropertyMapping | templateProperty = портал | ontologyProperty = foaf:homepage }} | |||
{{PropertyMapping | templateProperty = преданост | ontologyProperty = allegiance }} | |||
{{PropertyMapping | templateProperty = родства | ontologyProperty = relation }} | |||
{{ DateIntervalMapping | templateProperty = години на служба | |||
| startDateOntologyProperty = serviceStartYear | |||
| endDateOntologyProperty = serviceEndYear}} | |||
{{ DateIntervalMapping | templateProperty = живял | |||
| startDateOntologyProperty = birthDate | |||
| endDateOntologyProperty = deathDate}} | |||
}} | }} |
Revision as of 13:52, 23 December 2014
This is the mapping for the Wikipedia template Infobox military person. 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 Infobox military person. 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 MilitaryPerson Mappings
Constant Mapping (help) ontology property gender value http://dbpedia.org/resource/Female
Condition (help) | |
---|---|
otherwise |
This is the mapping for the Wikipedia template Infobox military person. 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 MilitaryPerson 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 foaf:nick
Property Mapping (help) template property описание ontology property description
Property Mapping (help) template property снимка ontology property picture
Property Mapping (help) template property портрет ontology property picture
Property Mapping (help) template property дата-на-раждане ontology property birthDate
Property Mapping (help) template property роден-дата ontology property birthDate
Property Mapping (help) template property роден-година ontology property birthDate
Property Mapping (help) template property починал-дата ontology property deathDate
Property Mapping (help) template property дата-на-смърт ontology property deathDate
Property Mapping (help) template property починал-година ontology property deathDate
Property Mapping (help) template property placeofburial ontology property restingPlace
Property Mapping (help) template property място-на-раждане ontology property birthPlace
Property Mapping (help) template property място на раждане ontology property birthPlace
Property Mapping (help) template property роден-страна ontology property birthPlace
Property Mapping (help) template property роден-град ontology property birthPlace
Property Mapping (help) template property място-на-смърт ontology property deathPlace
Property Mapping (help) template property място на смърт ontology property deathPlace
Property Mapping (help) template property починал-страна ontology property deathPlace
Property Mapping (help) template property починал-град ontology property deathPlace
Property Mapping (help) template property битки ontology property battle
Property Mapping (help) template property войни ontology property war
Property Mapping (help) template property войсково поделение ontology property militaryUnit
Property Mapping (help) template property въоръжени сили ontology property militaryBranch
Property Mapping (help) template property звание ontology property militaryRank
Property Mapping (help) template property командвания ontology property militaryCommand
Property Mapping (help) template property награди ontology property award
Property Mapping (help) template property националност ontology property nationality
Property Mapping (help) template property по-късна работа ontology property occupation
Property Mapping (help) template property портал ontology property foaf:homepage
Property Mapping (help) template property преданост ontology property allegiance
Property Mapping (help) template property родства ontology property relation
Date Interval Mapping (help) template property години на служба start date ontology property serviceStartYear end date ontology property serviceEndYear
Date Interval Mapping (help) template property живял start date ontology property birthDate end date ontology property deathDate