Mapping fr:Succession/Ligne: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(removed Royalty type for mapToClass (see discussion))
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping
| mapToClass = owl:Thing
| mapToClass           = owl:Thing
<!-- Should be corresponding to Person but that doesn't seem to work
    | mapToClass            = PersonFunction
    | correspondingClass    = Person
    | correspondingProperty = occupation
-->
| mappings =
| mappings =
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
    {{IntermediateNodeMapping
{{PropertyMapping | templateProperty = title | ontologyProperty = title }}
      | nodeClass = PersonFunction
      | correspondingProperty = occupation
      | mappings =
<!--
couleur hexa case de gauche
        {{PropertyMapping | templateProperty = couleur1 | ontologyProperty = title }}
couleur hexa case centrale
        {{PropertyMapping | templateProperty = couleur2 | ontologyProperty = title }}
couleur hexa case de droite
        {{PropertyMapping | templateProperty = couleur3 | ontologyProperty = title }}
image icone au dessus du nom
        {{PropertyMapping | templateProperty = icone    | ontologyProperty = title }}
image icone a gauche du nom
        {{PropertyMapping | templateProperty = iconeG  | ontologyProperty = title }}
nbre de fois successives ou le successeur est utilise; fusion col droite
        {{PropertyMapping | templateProperty = nbap    | ontologyProperty = title }}
nbre de fois successives ou le predecesseur est utilise; fusion col gauche
        {{PropertyMapping | templateProperty = nbav    | ontologyProperty = title }}
image icone a droite du nom
        {{PropertyMapping | templateProperty = iconeD  | ontologyProperty = title }}
??taille
        {{PropertyMapping | templateProperty = taille  | ontologyProperty = title }}
nbre de fois successives ou le nom sera utilise /fusion colonne centrale
        {{PropertyMapping | templateProperty = nbno    | ontologyProperty = title }}
-->
        {{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 }}
    }}
}}
}}

Latest revision as of 18:14, 14 April 2022

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 owl:Thing

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