Mapping eu:Futbolari biografia infotaula: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ TemplateMapping
{{ ConditionalMapping
| mapToClass = SoccerPlayer
| cases =
| mappings =  
{{Condition
| templateProperty = entrenatze urteak
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = SoccerManager }}
}}
{{Condition
| templateProperty = entrenatutako taldeak
| operator = isSet
| mapping = {{TemplateMapping | header = 0 | mapToClass = SoccerManager }}
}}
{{Condition
| operator = otherwise
| mapping = {{TemplateMapping | header = 0 | mapToClass = SoccerPlayer }}
}}
 
| defaultMappings =  
     {{ PropertyMapping  
     {{ PropertyMapping  
       | templateProperty = nombre
       | templateProperty = izena
       | ontologyProperty = foaf:name }}
       | ontologyProperty = foaf:name }}
     {{ PropertyMapping  
     {{ PropertyMapping  
       | templateProperty = ciudaddenacimiento
       | templateProperty = jaiotza hiria
       | ontologyProperty = city  }}
       | ontologyProperty = city  }}
   {{PropertyMapping  
   {{PropertyMapping  
       | templateProperty = clubdebut
       | templateProperty = jaiotza herrialdea
      | ontologyProperty = debutTeam }}
  {{PropertyMapping
      | templateProperty = paisdenacimiento
       | ontologyProperty = country }}
       | ontologyProperty = country }}
   {{PropertyMapping  
   {{PropertyMapping  
       | templateProperty = fechadenacimiento
       | templateProperty = jaiotza data
       | ontologyProperty = birthDate}}
       | ontologyProperty = birthDate}}
   {{PropertyMapping  
   {{PropertyMapping  
       | templateProperty = club
       | templateProperty = oraingo taldea
       | ontologyProperty = club}}
       | ontologyProperty = team}}
   {{PropertyMapping  
   {{PropertyMapping  
       | templateProperty = altura <!-- Hay muchas instancias con altura, pero debería ser estatura -->
       | templateProperty = altuera  
       | ontologyProperty = height | unit = metre}}
       | ontologyProperty = height | unit = metre}}
<!-- Si pongo esto no es capaz de convertir altura y estatura a la propiedad DBpedia height
  {{PropertyMapping               
      | templateProperty = estatura
      | ontologyProperty = height | unit = metre}}
-->
   {{PropertyMapping  
   {{PropertyMapping  
       | templateProperty = apodo  
       | templateProperty = ezizena  
       | ontologyProperty = foaf:nick}}
       | ontologyProperty = foaf:nick}}
   {{PropertyMapping  
   {{PropertyMapping                
       | templateProperty = posición  
       | templateProperty = posizioa  
       | ontologyProperty = position}}
       | ontologyProperty = position}}
   {{PropertyMapping                  <!-- OJO, en la definición está posicion, pero hay instancias de posición -->
   {{PropertyMapping                   
       | templateProperty = posicion 
       | templateProperty = izen osoa
      | ontologyProperty = position}}
  {{PropertyMapping                  <!-- No existe foaf:fullname, una pena -->
      | templateProperty = nombrecompleto
       | ontologyProperty = foaf:name}}
       | ontologyProperty = foaf:name}}
   {{PropertyMapping                  <!-- Parece mejor que foaf:depiction, que la dejamos para image (del futbolista) -->
   {{PropertyMapping                   
       | templateProperty = imagen
       | templateProperty = irudia
       | ontologyProperty = foaf:thumbnail}}
       | ontologyProperty = foaf:thumbnail}}
  {{PropertyMapping                 
      | templateProperty = añodebut
      | ontologyProperty = activeYearsStartYear }}
  {{PropertyMapping                 
      | templateProperty = añoretiro
      | ontologyProperty = activeYearsEndYear }}
   {{PropertyMapping  
   {{PropertyMapping  
       | templateProperty = fechafallecimiento
       | templateProperty = heriotza data
       | ontologyProperty = deathDate}}
       | ontologyProperty = deathDate }}
  {{PropertyMapping
      | templateProperty = heriotza herrialdea
      | ontologyProperty = deathPlace }}
  {{PropertyMapping
      | templateProperty = heriotza hiria
      | ontologyProperty = deathPlace }}
  {{PropertyMapping
      | templateProperty = partidu golak1
      | ontologyProperty = numberOfGoals }}
  {{PropertyMapping
      | templateProperty = partidu golak
      | ontologyProperty = numberOfGoals }}
  {{PropertyMapping
      | templateProperty = taldeak
      | ontologyProperty = team }}
    {{PropertyMapping
      | templateProperty = entrenatutako taldeak
      | ontologyProperty = managerClub }}
    {{PropertyMapping
      | templateProperty = selekzioak
      | ontologyProperty = team }}
    {{PropertyMapping
      | templateProperty = urteak
      | ontologyProperty = years }}
    {{PropertyMapping
      | templateProperty = urteak1
      | ontologyProperty = years }}
    {{PropertyMapping
      | templateProperty = entrenatze urteak
      | ontologyProperty = years }}
}}
}}

Latest revision as of 15:48, 22 February 2013

This is the mapping for the Wikipedia template Futbolari biografia infotaula. 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 entrenatze urteak
operator isSet
Template Mapping (help)
map to class SoccerManager
Condition (help)
template property entrenatutako taldeak
operator isSet
Template Mapping (help)
map to class SoccerManager
Condition (help)
otherwise
Template Mapping (help)
map to class SoccerPlayer

Default Mappings




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




Property Mapping (help)
template property jaiotza hiria
ontology property city




Property Mapping (help)
template property jaiotza herrialdea
ontology property country




Property Mapping (help)
template property jaiotza data
ontology property birthDate




Property Mapping (help)
template property oraingo taldea
ontology property team


Property Mapping (help)
template property altuera
ontology property height
unitmetre




Property Mapping (help)
template property ezizena
ontology property foaf:nick




Property Mapping (help)
template property posizioa
ontology property position




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




Property Mapping (help)
template property irudia
ontology property foaf:thumbnail




Property Mapping (help)
template property heriotza data
ontology property deathDate




Property Mapping (help)
template property heriotza herrialdea
ontology property deathPlace




Property Mapping (help)
template property heriotza hiria
ontology property deathPlace




Property Mapping (help)
template property partidu golak1
ontology property numberOfGoals




Property Mapping (help)
template property partidu golak
ontology property numberOfGoals




Property Mapping (help)
template property taldeak
ontology property team




Property Mapping (help)
template property entrenatutako taldeak
ontology property managerClub




Property Mapping (help)
template property selekzioak
ontology property team




Property Mapping (help)
template property urteak
ontology property years




Property Mapping (help)
template property urteak1
ontology property years




Property Mapping (help)
template property entrenatze urteak
ontology property years