Mapping nl:Tabelrij rijksmonument: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(Undid change to rdfs:label, because there is no page for "Rdfs:label")
(Built in a condition, saying that the name of an object should be made the name of its address if otherwise the object name would be void)
Line 1: Line 1:
{{TemplateMapping
{{ConditionalMapping
| mapToClass = ArchitecturalStructure
| cases =
| correspondingClass    = List
  {{Condition
| correspondingProperty = listItemOf
    | templateProperty = objectnaam
| mappings =  
    | operator = isSet   
    | mapping = {{TemplateMapping
                  | mapToClass = ArchitecturalStructure
                  | correspondingClass    = List
                  | correspondingProperty = listItemOf
                  | mappings =  


{{ConstantMapping | ontologyProperty = protectionStatus | value = Rijksmonument }}
                          {{ConstantMapping | ontologyProperty = protectionStatus | value = Rijksmonument }}
{{ConstantMapping | ontologyProperty = country | value = Nederland }}
                          {{ConstantMapping | ontologyProperty = country | value = Nederland }}


{{PropertyMapping | templateProperty = objrijksnr | ontologyProperty = codeNationalMonument }}
                  {{PropertyMapping | templateProperty = objectnaam | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = type_obj | ontologyProperty = type }}
                  {{PropertyMapping | templateProperty = objrijksnr | ontologyProperty = codeNationalMonument }}
{{PropertyMapping | templateProperty = objectnaam | ontologyProperty = foaf:name }}
                  {{PropertyMapping | templateProperty = type_obj | ontologyProperty = type }}
{{PropertyMapping | templateProperty = oorspr_functie | ontologyProperty = originallyUsedFor }}
                  {{PropertyMapping | templateProperty = oorspr_functie | ontologyProperty = originallyUsedFor }}


{{PropertyMapping | templateProperty = adres | ontologyProperty = address }}
                  {{PropertyMapping | templateProperty = adres | ontologyProperty = address }}
{{PropertyMapping | templateProperty = bouwjaar | ontologyProperty = yearOfConstruction }}
                  {{PropertyMapping | templateProperty = bouwjaar | ontologyProperty = yearOfConstruction }}
{{PropertyMapping | templateProperty = architect | ontologyProperty = architect }}
                  {{PropertyMapping | templateProperty = architect | ontologyProperty = architect }}
{{PropertyMapping | templateProperty = image | ontologyProperty = picture }}
                  {{PropertyMapping | templateProperty = image | ontologyProperty = picture }}
{{GeocoordinatesMapping | latitude = lat | longitude = lon }}   
                  {{GeocoordinatesMapping | latitude = lat | longitude = lon }}   
                }}
  }}
 
  {{Condition
    | operator = otherwise   
    | mapping = {{TemplateMapping
                  | mapToClass = ArchitecturalStructure
                  | correspondingClass    = List
                  | correspondingProperty = listItemOf
                  | mappings =
 
                          {{ConstantMapping | ontologyProperty = protectionStatus | value = Rijksmonument }}
                          {{ConstantMapping | ontologyProperty = country | value = Nederland }}
 
                  {{PropertyMapping | templateProperty = adres | ontologyProperty = foaf:name }}
                  {{PropertyMapping | templateProperty = objrijksnr | ontologyProperty = codeNationalMonument }}
                  {{PropertyMapping | templateProperty = type_obj | ontologyProperty = type }}
                  {{PropertyMapping | templateProperty = oorspr_functie | ontologyProperty = originallyUsedFor }}
 
                  {{PropertyMapping | templateProperty = adres | ontologyProperty = address }}
                  {{PropertyMapping | templateProperty = bouwjaar | ontologyProperty = yearOfConstruction }}
                  {{PropertyMapping | templateProperty = architect | ontologyProperty = architect }}
                  {{PropertyMapping | templateProperty = image | ontologyProperty = picture }}
                  {{GeocoordinatesMapping | latitude = lat | longitude = lon }} 
                }}
  }}


}}
}}

Revision as of 13:36, 24 August 2013

This is the mapping for the Wikipedia template Tabelrij rijksmonument. 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 objectnaam
operator isSet

This is the mapping for the Wikipedia template Tabelrij rijksmonument. 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 ArchitecturalStructure
corresponding class List
corresponding property listItemOf

Mappings

Constant Mapping (help)
ontology property protectionStatus
value Rijksmonument
Constant Mapping (help)
ontology property country
value Nederland





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




Property Mapping (help)
template property objrijksnr
ontology property codeNationalMonument




Property Mapping (help)
template property type_obj
ontology property type




Property Mapping (help)
template property oorspr_functie
ontology property originallyUsedFor





Property Mapping (help)
template property adres
ontology property address




Property Mapping (help)
template property bouwjaar
ontology property yearOfConstruction




Property Mapping (help)
template property architect
ontology property architect




Property Mapping (help)
template property image
ontology property picture
Geocoordinates Mapping (help)
latitude template property lat
longitude template property lon


Condition (help)
otherwise

This is the mapping for the Wikipedia template Tabelrij rijksmonument. 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 ArchitecturalStructure
corresponding class List
corresponding property listItemOf

Mappings

Constant Mapping (help)
ontology property protectionStatus
value Rijksmonument
Constant Mapping (help)
ontology property country
value Nederland





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




Property Mapping (help)
template property objrijksnr
ontology property codeNationalMonument




Property Mapping (help)
template property type_obj
ontology property type




Property Mapping (help)
template property oorspr_functie
ontology property originallyUsedFor





Property Mapping (help)
template property adres
ontology property address




Property Mapping (help)
template property bouwjaar
ontology property yearOfConstruction




Property Mapping (help)
template property architect
ontology property architect




Property Mapping (help)
template property image
ontology property picture
Geocoordinates Mapping (help)
latitude template property lat
longitude template property lon

Default Mappings

{{{defaultMappings}}}