Mapping fr:Infobox Édifice religieux: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(added condition on type)
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 5: Line 5:
     | operator = contains
     | operator = contains
     | value = glise
     | value = glise
     | mapping = {{TemplateMapping | mapToClass = Church }}
     | mapping = {{TemplateMapping | mapToClass = Church | header=0 }}
  }}
  }}
  {{Condition
  {{Condition
Line 11: Line 11:
     | operator = equals
     | operator = equals
     | value = Monastère
     | value = Monastère
     | mapping = {{TemplateMapping | mapToClass = Monastery }}
     | mapping = {{TemplateMapping | mapToClass = Monastery | header=0 }}
}}
{{Condition
    | templateProperty = type
    | operator = equals
    | value = Abbaye
    | mapping = {{TemplateMapping | mapToClass = Monastery | header=0 }}
  }}
  }}
  {{Condition
  {{Condition
Line 17: Line 23:
     | operator = equals
     | operator = equals
     | value = Mosquée
     | value = Mosquée
     | mapping = {{TemplateMapping | mapToClass = Mosque }}
     | mapping = {{TemplateMapping | mapToClass = Mosque | header=0 }}
  }}
  }}
  {{Condition
  {{Condition
Line 23: Line 29:
     | operator = equals
     | operator = equals
     | value = Synagogue
     | value = Synagogue
     | mapping = {{TemplateMapping | mapToClass = Synagogue }}
     | mapping = {{TemplateMapping | mapToClass = Synagogue | header=0 }}
  }}
  }}


{{Condition
{{Condition
| operator = otherwise
| operator = otherwise
| mapping = {{TemplateMapping |mapToClass = ReligiousBuilding }}
| mapping = {{TemplateMapping | mapToClass = ReligiousBuilding | header=0 }}
}}
}}


| defaultMappings =
| defaultMappings =
{{PropertyMapping | templateProperty = type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = style | ontologyProperty = architecturalStyle }}
{{PropertyMapping | templateProperty = début constr | ontologyProperty = buildingStartDate }}
{{PropertyMapping | templateProperty = fin const  | ontologyProperty = buildingEndDate }}
{{PropertyMapping | templateProperty = architecte  | ontologyProperty = architect }}
{{PropertyMapping | templateProperty = nommonument | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = nomlocal | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = pays | ontologyProperty = country }}
{{PropertyMapping | templateProperty = région | ontologyProperty = region }}
{{PropertyMapping | templateProperty = département | ontologyProperty = department }}
{{PropertyMapping | templateProperty = ville | ontologyProperty = city }}
{{PropertyMapping | templateProperty = ville | ontologyProperty = city }}


{{PropertyMapping | templateProperty = culte | ontologyProperty = religiousOrder }}
{{PropertyMapping | templateProperty = rattachement | ontologyProperty = affiliation }}
{{PropertyMapping | templateProperty = classement | ontologyProperty = heritageRegister }}
{{PropertyMapping | templateProperty = photo | ontologyProperty = foaf:depiction }}
{{PropertyMapping | templateProperty = légende | ontologyProperty = depictionDescription }}
{{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
}}
}}

Latest revision as of 16:30, 3 November 2017

This is the mapping for the Wikipedia template Infobox Édifice religieux. 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 type
operator contains
value glise
Template Mapping (help)
map to class Church
Condition (help)
template property type
operator equals
value Monastère
Template Mapping (help)
map to class Monastery
Condition (help)
template property type
operator equals
value Abbaye
Template Mapping (help)
map to class Monastery
Condition (help)
template property type
operator equals
value Mosquée
Template Mapping (help)
map to class Mosque
Condition (help)
template property type
operator equals
value Synagogue
Template Mapping (help)
map to class Synagogue


Condition (help)
otherwise
Template Mapping (help)
map to class ReligiousBuilding

Default Mappings




Property Mapping (help)
template property type
ontology property type




Property Mapping (help)
template property style
ontology property architecturalStyle




Property Mapping (help)
template property début constr
ontology property buildingStartDate




Property Mapping (help)
template property fin const
ontology property buildingEndDate




Property Mapping (help)
template property architecte
ontology property architect





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




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




Property Mapping (help)
template property siteweb
ontology property foaf:homepage




Property Mapping (help)
template property pays
ontology property country




Property Mapping (help)
template property région
ontology property region




Property Mapping (help)
template property département
ontology property department




Property Mapping (help)
template property ville
ontology property city





Property Mapping (help)
template property culte
ontology property religiousOrder




Property Mapping (help)
template property rattachement
ontology property affiliation




Property Mapping (help)
template property classement
ontology property heritageRegister





Property Mapping (help)
template property photo
ontology property foaf:depiction




Property Mapping (help)
template property légende
ontology property depictionDescription


Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude