Mapping fr:Succession/Ligne: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
m (correction, I guess it should be a person at least)
No edit summary
Line 2: Line 2:
| mapToClass = Person
| mapToClass = Person
| mappings =
| mappings =
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
    {{IntermediateNodeMapping
{{PropertyMapping | templateProperty = title | ontologyProperty = title }}
      | nodeClass = PersonFunction
      | correspondingProperty = occupation
      | mappings =
        {{PropertyMapping | templateProperty = nom | ontologyProperty = title }}
        {{PropertyMapping | templateProperty = nom | ontologyProperty = category }}
         {{DateIntervalMapping
         {{DateIntervalMapping
           | templateProperty          = période
           | templateProperty          = période
           | startDateOntologyProperty = activeYearsStartYear
           | startDateOntologyProperty = activeYearsStartYear
           | endDateOntologyProperty  = activeYearsEndYear
           | endDateOntologyProperty  = activeYearsEndYear
        }}
        {{DateIntervalMapping
          | templateProperty          = période
          | startDateOntologyProperty = activeYearsStartDate
          | endDateOntologyProperty  = activeYearsEndDate
         }}
         }}
{{PropertyMapping | templateProperty = avant | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = avant | ontologyProperty = predecessor }}
{{PropertyMapping | templateProperty = après | ontologyProperty = successor }}
{{PropertyMapping | templateProperty = après | ontologyProperty = successor }}
    }}
}}
}}

Revision as of 20:48, 19 June 2014

This is the mapping for the Wikipedia template Succession/Ligne. 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

Intermediate Node Mapping (help)
node class PersonFunction
corresponding property occupation




Property Mapping (help)
template property nom
ontology property title




Property Mapping (help)
template property nom
ontology property category


Date Interval Mapping (help)
template property période
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


Date Interval Mapping (help)
template property période
start date ontology property activeYearsStartDate
end date ontology property activeYearsEndDate




Property Mapping (help)
template property avant
ontology property predecessor




Property Mapping (help)
template property après
ontology property successor