Mapping en:Infobox NRHP: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(removed disclaimer)
(website)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
}}
{{ConditionalMapping
| cases =
{{Condition
| templateProperty = built
| operator = isSet
| mapping = {{TemplateMapping
| mapToClass = Building
}}
}}
{{Condition
| operator = otherwise
| mapping = {{TemplateMapping
| mapToClass = HistoricPlace
}}
}}
| defaultMappings =
{{PropertyMapping | templateProperty = nrhp_type | ontologyProperty = nrhpType }}
{{PropertyMapping | templateProperty = nrhp_type2 | ontologyProperty = nrhpType }}
{{PropertyMapping | templateProperty = nrhp_type3 | ontologyProperty = nrhpType }}
{{PropertyMapping | templateProperty = nrhp_type4 | ontologyProperty = nrhpType }}
{{PropertyMapping | templateProperty = designated_other1_name | ontologyProperty = nrhpType }}
 
<!-- extension of intermediate node mapping is needed -->
<!--
{{PropertyMapping | templateProperty = designated_other1_date | ontologyProperty =  }}
{{PropertyMapping | templateProperty = designated_other1_abbr | ontologyProperty =  }}
{{PropertyMapping | templateProperty = designated_other1_link | ontologyProperty =  }}
{{PropertyMapping | templateProperty = designated_other1_number | ontologyProperty =  }}
-->
 
{{PropertyMapping | templateProperty = designated_other2_name | ontologyProperty = nrhpType }}
{{PropertyMapping | templateProperty = designated_other3_name | ontologyProperty = nrhpType }}
{{PropertyMapping | templateProperty = designated_other4_name | ontologyProperty = nrhpType }}
{{PropertyMapping | templateProperty = designated_other4_name | ontologyProperty = nrhpType }}
{{PropertyMapping | templateProperty = image | ontologyProperty = picture }}
{{PropertyMapping | templateProperty = location | ontologyProperty = location }}
{{PropertyMapping | templateProperty = nearest_city | ontologyProperty = nearestCity }}
{{PropertyMapping | templateProperty = area | ontologyProperty = area }}
{{PropertyMapping | templateProperty = built | ontologyProperty =  yearOfConstruction }}
{{PropertyMapping | templateProperty = architect | ontologyProperty = architect }}
{{PropertyMapping | templateProperty = architecture | ontologyProperty = architecturalStyle }}
{{PropertyMapping | templateProperty = visitation_num | ontologyProperty = numberOfVisitors }}
{{PropertyMapping | templateProperty = visitation_year | ontologyProperty = numberOfVisitorsAsOf }}
{{PropertyMapping | templateProperty = refnum | ontologyProperty = nrhpReferenceNumber }}
{{PropertyMapping | templateProperty = governing_body | ontologyProperty = governingBody }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
 
{{PropertyMapping | templateProperty = established | ontologyProperty = foundingDate }}
 
{{GeocoordinatesMapping | latitudeDegrees = lat_degrees  | latitudeMinutes = lat_minutes  | latitudeSeconds = lat_seconds  | latitudeDirection = lat_direction  | longitudeDegrees = long_degrees  | longitudeMinutes = long_minutes  | longitudeSeconds = long_seconds  | longitudeDirection = long_direction }}
{{GeocoordinatesMapping | coordinates = coordinates }}
 
{{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}


{{TemplateMapping
| mapToClass = HistoricPlace
| mappings =
{{PropertyMapping | templateProperty = architect | ontologyProperty = architect }}
{{PropertyMapping | templateProperty = added | ontologyProperty = added }}
{{PropertyMapping | templateProperty = visitation_num | ontologyProperty = numberOfVisitors }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = nrhp_type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = location | ontologyProperty = location }}
{{PropertyMapping | templateProperty = nearest_city | ontologyProperty = nearestCity }}
{{PropertyMapping | templateProperty = established | ontologyProperty = foundingDate }}
{{GeocoordinatesMapping | latitudeDegrees = lat_degrees  | latitudeMinutes = lat_minutes  | latitudeSeconds = lat_seconds  | latitudeDirection = lat_direction  | longitudeDegrees = long_degrees  | longitudeMinutes = long_minutes  | longitudeSeconds = long_seconds  | longitudeDirection = long_direction }}
}}
}}

Latest revision as of 15:33, 6 September 2021

This is the mapping for the Wikipedia template Infobox NRHP. 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 built
operator isSet

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

This is the mapping for the Wikipedia template Infobox NRHP. 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 HistoricPlace

Default Mappings




Property Mapping (help)
template property nrhp_type
ontology property nrhpType




Property Mapping (help)
template property nrhp_type2
ontology property nrhpType




Property Mapping (help)
template property nrhp_type3
ontology property nrhpType




Property Mapping (help)
template property nrhp_type4
ontology property nrhpType




Property Mapping (help)
template property designated_other1_name
ontology property nrhpType





Property Mapping (help)
template property designated_other2_name
ontology property nrhpType




Property Mapping (help)
template property designated_other3_name
ontology property nrhpType




Property Mapping (help)
template property designated_other4_name
ontology property nrhpType




Property Mapping (help)
template property designated_other4_name
ontology property nrhpType




Property Mapping (help)
template property image
ontology property picture




Property Mapping (help)
template property location
ontology property location




Property Mapping (help)
template property nearest_city
ontology property nearestCity




Property Mapping (help)
template property area
ontology property area




Property Mapping (help)
template property built
ontology property yearOfConstruction




Property Mapping (help)
template property architect
ontology property architect




Property Mapping (help)
template property architecture
ontology property architecturalStyle




Property Mapping (help)
template property visitation_num
ontology property numberOfVisitors




Property Mapping (help)
template property visitation_year
ontology property numberOfVisitorsAsOf




Property Mapping (help)
template property refnum
ontology property nrhpReferenceNumber




Property Mapping (help)
template property governing_body
ontology property governingBody




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





Property Mapping (help)
template property established
ontology property foundingDate


Geocoordinates Mapping (help)
longitude degrees template property long_degrees
longitude minutes template property long_minutes
longitude seconds template property long_seconds
longitude direction template property long_direction
latitude degrees template property lat_degrees
latitude minutes template property lat_minutes
latitude seconds template property lat_seconds
latitude direction template property lat_direction
Geocoordinates Mapping (help)
coordinates template property coordinates





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