rNews 1.0: The Place Class
The Place Class
| Place | ||
|
geoCoordinates address |
|
featureCode |
Figure 1: Attributes of the Place class.
The Place class is a subclass of the Concept class used for annotating geographic real-world entities. To annotate Place objects with detailed geographic metadata, implementors should use the The GeoCoordinates class.
The Place class specifies the attribute featureCode. This attribute is used to indicate what kind of geographic entity is indicated by a Place object. The IPTC suggests, but does not require, that implementors of rNews populate this field with values drawn from the controlled vocabulary of feature codes provided by geonames.org.
Place Attribute Summary
The table below presents the properties of the Place class and provides both the expected data type and a definition of each attribute.
| Attribute | Type | Definition | Example |
|---|---|---|---|
| address | PostalAddress | A real-world postal address associated with this Place. | |
| geoCoordinates | GeoCoordinates | This GeoCoordinates. associated with this this Place.. | |
| featureCode | xsd:string | A code indicating the type of the geographic entity specified by a Place object. The IPTC suggests, but does not require, that implementors of rNews populate this field with values drawn from the controlled vocabulary of feature codes provided by geonames.org. | TNKD |
Applying the Place Class
Our sample article contains five places:
- Libya
- France
- Great Britain
- United States
- Turkey
- Tripoli
- White House
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rnews: <http://iptc.org/std/rNews/2011-10-07#> .
<http://data.nytimes.com/66285699086722007041>
a rnews:Place ;
rnews:name "Libya" ;
rnews:featureCode "PCLI".
<http://data.nytimes.com/67127587134490296321>
a rnews:Place ;
rnews:name "France" ;
rnews:featureCode "PCLI".
<http://data.nytimes.com/42273881931420178781>
a rnews:Place ;
rnews:name "Great Britain" ;
rnews:featureCode "PCLI".
<http://data.nytimes.com/N84789043836346105961>
a rnews:Place ;
rnews:name "United States" ;
rnews:featureCode "PCLI".
<http://data.nytimes.com/55791562732592005121>
a rnews:Place ;
rnews:name "Turkey" ;
rnews:featureCode "PCLI".
<http://data.nytimes.com/55791562732592005121>
a rnews:Place ;
rnews:name "Turkey" ;
rnews:featureCode "PCLI".
<http://www.geonames.org/2210247>
a rnews:Place ;
rnews:name "Tripoli" ;
rnews:featureCode "PPLC".
<http://www.geonames.org/4140704>
a rnews:Place ;
rnews:name "The White House" ;
rnews:featureCode "BLDG".
Want to comment on rNews: we invite you to post your comment to the rNews Forum.