Mapping en:Infobox football biography: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Undo revision 12434 by Kreis (Talk))
No edit summary
Line 1: Line 1:
{{ConditionalMapping
{{ConditionalMapping
| cases =
| cases =
{{Condition
{{Condition
    | templateProperty = manageryears
| templateProperty = manageryears
    | operator = isSet
| operator = isSet
    | mapping = {{TemplateMapping
| mapping = {{TemplateMapping | mapToClass = SoccerManager }}
                | mapToClass = SoccerManager
}}
                }}
{{Condition
}}
| templateProperty = manageryears1
 
| operator = isSet
{{Condition
| mapping = {{TemplateMapping | mapToClass = SoccerManager }}
    | templateProperty = managerclubs
}}
    | operator = isSet
{{Condition
    | mapping = {{TemplateMapping
| templateProperty = managerclubs
                | mapToClass = SoccerManager
| operator = isSet
                }}
| mapping = {{TemplateMapping | mapToClass = SoccerManager }}
}}
}}
 
{{Condition
{{Condition
| templateProperty = managerclubs1
    | operator = otherwise
| operator = isSet
    | mapping = {{TemplateMapping
| mapping = {{TemplateMapping | mapToClass = SoccerManager }}
                | mapToClass = SoccerPlayer
}}
                }}
{{Condition
}}
| operator = otherwise
| mapping = {{TemplateMapping | mapToClass = SoccerPlayer }}
}}


| defaultMappings =
| defaultMappings =
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = playername | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = playername | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = fullname | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = fullname | ontologyProperty = foaf:name }}
        {{PropertyMapping | templateProperty = dateofbirth | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = image | ontologyProperty = picture }}
{{PropertyMapping | templateProperty = dateofbirth | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = cityofbirth | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = cityofbirth | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = countryofbirth | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = countryofbirth | ontologyProperty = birthPlace }}
Line 33: Line 37:
{{PropertyMapping | templateProperty = cityofdeath | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = cityofdeath | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = countryofdeath | ontologyProperty = deathPlace }}
{{PropertyMapping | templateProperty = countryofdeath | ontologyProperty = deathPlace }}
        {{PropertyMapping | templateProperty = currentclub | ontologyProperty = team }}
{{PropertyMapping | templateProperty = currentclub | ontologyProperty = team }}
        {{PropertyMapping | templateProperty = clubnumber | ontologyProperty = number }}    
{{PropertyMapping | templateProperty = clubnumber | ontologyProperty = number }}
        {{PropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length}}
{{PropertyMapping | templateProperty = height | ontologyProperty = height | unit = Length}}
        {{PropertyMapping | templateProperty = position | ontologyProperty = position }}      
{{PropertyMapping | templateProperty = position | ontologyProperty = position }}
 
{{PropertyMapping | templateProperty = youthclubs | ontologyProperty = team }}
        {{DateIntervalMapping
{{PropertyMapping | templateProperty = youthclubs1 | ontologyProperty = team }}
          | templateProperty         = youthyears
{{PropertyMapping | templateProperty = youthclubs2 | ontologyProperty = team }}
          | startDateOntologyProperty = activeYearsStartYear
{{PropertyMapping | templateProperty = youthclubs3 | ontologyProperty = team }}
          | endDateOntologyProperty  = activeYearsEndYear
{{PropertyMapping | templateProperty = clubs | ontologyProperty = team }}
        }}
{{PropertyMapping | templateProperty = clubs1 | ontologyProperty = team }}
        {{PropertyMapping | templateProperty = youthclubs | ontologyProperty = team }}
{{PropertyMapping | templateProperty = clubs2 | ontologyProperty = team }}
        {{DateIntervalMapping
{{PropertyMapping | templateProperty = clubs3 | ontologyProperty = team }}
          | templateProperty         = years
{{PropertyMapping | templateProperty = clubs4 | ontologyProperty = team }}
          | startDateOntologyProperty = activeYearsStartYear
{{PropertyMapping | templateProperty = clubs5 | ontologyProperty = team }}
          | endDateOntologyProperty  = activeYearsEndYear
{{PropertyMapping | templateProperty = clubs6 | ontologyProperty = team }}
        }}
{{PropertyMapping | templateProperty = clubs7 | ontologyProperty = team }}
        {{PropertyMapping | templateProperty = clubs | ontologyProperty = team }}      
{{PropertyMapping | templateProperty = clubs8 | ontologyProperty = team }}
<!--    {{PropertyMapping | templateProperty = caps(goals) | ontologyProperty = team }}
{{PropertyMapping | templateProperty = clubs9 | ontologyProperty = team }}
Needs to been changed into an Intermediate Node
{{PropertyMapping | templateProperty = nationalteam | ontologyProperty = team }}
-->       
{{PropertyMapping | templateProperty = nationalteam1 | ontologyProperty = team }}
        {{DateIntervalMapping
{{PropertyMapping | templateProperty = nationalteam2 | ontologyProperty = team }}
          | templateProperty         = nationalyears
{{PropertyMapping | templateProperty = nationalteam3 | ontologyProperty = team }}
          | startDateOntologyProperty = activeYearsStartYear
{{PropertyMapping | templateProperty = managerclubs | ontologyProperty = managerClub }}
          | endDateOntologyProperty  = activeYearsEndYear
{{PropertyMapping | templateProperty = managerclubs1 | ontologyProperty = managerClub }}
        }}
{{PropertyMapping | templateProperty = managerclubs2 | ontologyProperty = managerClub }}
        {{PropertyMapping | templateProperty = nationalteam | ontologyProperty = team }}
{{PropertyMapping | templateProperty = managerclubs3 | ontologyProperty = managerClub }}
<!--    {{PropertyMapping | templateProperty = nationalcaps(goals) | ontologyProperty = team }}
{{PropertyMapping | templateProperty = managerclubs4 | ontologyProperty = managerClub }}
Needs to been changed into an Intermediate Node
{{PropertyMapping | templateProperty = managerclubs5 | ontologyProperty = managerClub }}
-->   
{{PropertyMapping | templateProperty = managerclubs6 | ontologyProperty = managerClub }}
 
{{PropertyMapping | templateProperty = managerclubs7 | ontologyProperty = managerClub }}
 
{{PropertyMapping | templateProperty = managerclubs8 | ontologyProperty = managerClub }}
{{PropertyMapping | templateProperty = managerclubs9 | ontologyProperty = managerClub }}
<!--
Needs to been changed into Intermediate Nodes
{{PropertyMapping | templateProperty = caps(goals) | ontologyProperty = team }}
{{PropertyMapping | templateProperty = nationalcaps(goals) | ontologyProperty = team }}
{{DateIntervalMapping
| templateProperty          = youthyears
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
}}
{{DateIntervalMapping
| templateProperty          = years
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
}}
{{DateIntervalMapping
| templateProperty          = nationalyears
| startDateOntologyProperty = activeYearsStartYear
| endDateOntologyProperty  = activeYearsEndYear
}}
-->
}}
}}

Revision as of 15:47, 26 April 2011

This is the mapping for the Wikipedia template Infobox football biography. 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 manageryears
operator isSet

This is the mapping for the Wikipedia template Infobox football biography. 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 SoccerManager
Condition (help)
template property manageryears1
operator isSet

This is the mapping for the Wikipedia template Infobox football biography. 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 SoccerManager
Condition (help)
template property managerclubs
operator isSet

This is the mapping for the Wikipedia template Infobox football biography. 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 SoccerManager
Condition (help)
template property managerclubs1
operator isSet

This is the mapping for the Wikipedia template Infobox football biography. 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 SoccerManager
Condition (help)
otherwise

This is the mapping for the Wikipedia template Infobox football biography. 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 SoccerPlayer

Default Mappings




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




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




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




Property Mapping (help)
template property image
ontology property picture




Property Mapping (help)
template property dateofbirth
ontology property birthDate




Property Mapping (help)
template property cityofbirth
ontology property birthPlace




Property Mapping (help)
template property countryofbirth
ontology property birthPlace




Property Mapping (help)
template property dateofdeath
ontology property deathDate




Property Mapping (help)
template property cityofdeath
ontology property deathPlace




Property Mapping (help)
template property countryofdeath
ontology property deathPlace




Property Mapping (help)
template property currentclub
ontology property team




Property Mapping (help)
template property clubnumber
ontology property number


Property Mapping (help)
template property height
ontology property height
unitLength




Property Mapping (help)
template property position
ontology property position




Property Mapping (help)
template property youthclubs
ontology property team




Property Mapping (help)
template property youthclubs1
ontology property team




Property Mapping (help)
template property youthclubs2
ontology property team




Property Mapping (help)
template property youthclubs3
ontology property team




Property Mapping (help)
template property clubs
ontology property team




Property Mapping (help)
template property clubs1
ontology property team




Property Mapping (help)
template property clubs2
ontology property team




Property Mapping (help)
template property clubs3
ontology property team




Property Mapping (help)
template property clubs4
ontology property team




Property Mapping (help)
template property clubs5
ontology property team




Property Mapping (help)
template property clubs6
ontology property team




Property Mapping (help)
template property clubs7
ontology property team




Property Mapping (help)
template property clubs8
ontology property team




Property Mapping (help)
template property clubs9
ontology property team




Property Mapping (help)
template property nationalteam
ontology property team




Property Mapping (help)
template property nationalteam1
ontology property team




Property Mapping (help)
template property nationalteam2
ontology property team




Property Mapping (help)
template property nationalteam3
ontology property team




Property Mapping (help)
template property managerclubs
ontology property managerClub




Property Mapping (help)
template property managerclubs1
ontology property managerClub




Property Mapping (help)
template property managerclubs2
ontology property managerClub




Property Mapping (help)
template property managerclubs3
ontology property managerClub




Property Mapping (help)
template property managerclubs4
ontology property managerClub




Property Mapping (help)
template property managerclubs5
ontology property managerClub




Property Mapping (help)
template property managerclubs6
ontology property managerClub




Property Mapping (help)
template property managerclubs7
ontology property managerClub




Property Mapping (help)
template property managerclubs8
ontology property managerClub




Property Mapping (help)
template property managerclubs9
ontology property managerClub