Mapping en:Infobox royalty: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
m (class 'BritishRoyalty' is wrong)
No edit summary
 
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping
| mapToClass = Royalty
| mapToClass = Royalty <!-- or Monarch ? -->
| mappings =
| mappings =
{{PropertyMapping | templateProperty = royal anthem | ontologyProperty = royalAnthem }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = title | ontologyProperty = title }}
{{PropertyMapping | templateProperty = title | ontologyProperty = title }}
        {{DateIntervalMapping
          | templateProperty          = reign
          | startDateOntologyProperty = activeYearsStartYear
          | endDateOntologyProperty  = activeYearsEndYear
        }}
{{PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = successor | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = successor | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{PropertyMapping | templateProperty = spouse | ontologyProperty = spouse }}
{{PropertyMapping | templateProperty = full name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = father | ontologyProperty = parent }}
{{PropertyMapping | templateProperty = father | ontologyProperty = parent }}
{{PropertyMapping | templateProperty = mother | ontologyProperty = parent }}
{{PropertyMapping | templateProperty = mother | ontologyProperty = parent }}
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = issue | ontologyProperty = child }}
{{PropertyMapping | templateProperty = date of birth | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birthDate | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = birthPlace | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = place of birth | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = deathDate | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = death_date | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = deathPlace | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = date of death | ontologyProperty = deathDate }}
{{PropertyMapping | templateProperty = burialPlace | ontologyProperty = placeOfBurial }}
{{PropertyMapping | templateProperty = death_place | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = place of death | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = place of burial | ontologyProperty = restingPlace }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
{{PropertyMapping | templateProperty = occupation | ontologyProperty = occupation }}
        {{DateIntervalMapping | templateProperty = reign | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
<!-- properties not in template:
{{PropertyMapping | templateProperty = royal anthem | ontologyProperty = royalAnthem }}
{{PropertyMapping | templateProperty = heir | ontologyProperty = heir }}
{{PropertyMapping | templateProperty = othertitles | ontologyProperty = alias }}
{{PropertyMapping | templateProperty = offspring | ontologyProperty = child }}
{{PropertyMapping | templateProperty = full name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = date of burial | ontologyProperty = dateOfBurial }}
-->
}}
}}

Latest revision as of 08:37, 7 September 2017

This is the mapping for the Wikipedia template Infobox royalty. 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 Royalty

Mappings




Property Mapping (help)
template property name
ontology property foaf:name




Property Mapping (help)
template property title
ontology property title




Property Mapping (help)
template property predecessor
ontology property predecessor




Property Mapping (help)
template property successor
ontology property successor




Property Mapping (help)
template property spouse
ontology property spouse




Property Mapping (help)
template property father
ontology property parent




Property Mapping (help)
template property mother
ontology property parent




Property Mapping (help)
template property issue
ontology property child




Property Mapping (help)
template property birthDate
ontology property birthDate




Property Mapping (help)
template property birthPlace
ontology property birthPlace




Property Mapping (help)
template property deathDate
ontology property deathDate




Property Mapping (help)
template property deathPlace
ontology property deathPlace




Property Mapping (help)
template property burialPlace
ontology property placeOfBurial




Property Mapping (help)
template property occupation
ontology property occupation


Date Interval Mapping (help)
template property reign
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear