Mapping en:Infobox NRHP: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(removed disclaimer)
No edit summary
Line 1: Line 1:
{{TemplateMapping
http://mappings.dbpedia.org/index.php/Mapping:Infobox_NRHP
| mapToClass = HistoricPlace
 
| mappings =
http://mappings.dbpedia.org/index.php/OntologyProperty:nrhpType
{{PropertyMapping | templateProperty = architect | ontologyProperty = architect }}
{{ObjectProperty
{{PropertyMapping | templateProperty = added | ontologyProperty = added }}
| rdfs:label@en = NRHP type
{{PropertyMapping | templateProperty = visitation_num | ontologyProperty = numberOfVisitors }}
| rdfs:domain = HistoricPlace
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
| rdfs:range = owl:Thing
{{PropertyMapping | templateProperty = nrhp_type | ontologyProperty = type }}
| rdfs:comment@en = Type of historic place as defined by the US National Park Service. For instance National Historic Landmark, National Monument or National Battlefield.
{{PropertyMapping | templateProperty = location | ontologyProperty = location }}
}}
{{PropertyMapping | templateProperty = nearest_city | ontologyProperty = nearestCity }}
 
{{PropertyMapping | templateProperty = established | ontologyProperty = foundingDate }}
{{PropertyMapping | templateProperty = nrhp_type | ontologyProperty = nrhpType }}
{{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 }}
 
{{ConditionalMapping
| cases =
{{Condition
| templateProperty = built
| operator = isSet
| mapping = {{TemplateMapping
| mapToClass = Building
| mapToClass = HistoricPlace
}}
}}
{{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 =  buildingStartDate }}
{{PropertyMapping | templateProperty = built | ontologyProperty =  buildingEndDate }}
{{PropertyMapping | templateProperty = architect | ontologyProperty = architect }}
{{PropertyMapping | templateProperty = architecture | ontologyProperty = architecturalStyle }}
 
{{PropertyMapping | templateProperty = added | ontologyProperty = added }}
{{PropertyMapping | templateProperty = visitation_num | ontologyProperty = numberOfVisitors }}
{{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 }}
}}
}}

Revision as of 14:54, 7 April 2011

http://mappings.dbpedia.org/index.php/Mapping:Infobox_NRHP

http://mappings.dbpedia.org/index.php/OntologyProperty:nrhpType This is the definition of an ontology property.

Read more about editing the ontology schema.

You can see the result of your edit on DBpedia Live (this is BETA!).

Ontology object property (help)
rdfs:label@en NRHP type
rdfs:comment@en Type of historic place as defined by the US National Park Service. For instance National Historic Landmark, National Monument or National Battlefield.
rdfs:domain HistoricPlace
rdfs:range owl:Thing
rdf:type
rdfs:subPropertyOf
owl:equivalentProperty
owl:propertyDisjointWith





Property Mapping (help)
template property nrhp_type
ontology property nrhpType


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 HistoricPlace
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 buildingStartDate




Property Mapping (help)
template property built
ontology property buildingEndDate




Property Mapping (help)
template property architect
ontology property architect




Property Mapping (help)
template property architecture
ontology property architecturalStyle





Property Mapping (help)
template property added
ontology property added




Property Mapping (help)
template property visitation_num
ontology property numberOfVisitors




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