rNews: The Article Class
Figure 1: Attributes of the Article class.
The Article class provides attributes for modeling content and metadata specific to news articles. A number of attributes are provided to allow print publications to embed print-specific metadata. The table below enumerates all attributes of the Article class and provides the expected data type, category (core/power) and a definition of each attribute.
| Attribute | Type | Category | Definition |
|---|---|---|---|
| body | xsd:string | core | The main text of the article. |
| dateline | xsd:string | power | A natural-language statement of the date and/or place of creation of the content |
| printColumn | xsd:integer | power | The number of the column in which the article appears in the print edition. |
| printDesk | xsd:string | power | The newsroom desk that produced the article. |
| printDeskUri | xsd:anyURI | power | The URI for the newsroom desk that produced the article. |
| printEdition | xsd:string | power | The edition of the print product in which the article appears. |
| printEditionUri | xsd:anyURI | power | The URI of the edition of the print product in which the article appears. |
| printPage | xsd:string | power | If this article appears in print, this field indicates the name of the page on which the article is found. Please note that this field is intended for the exact page name (e.g. "A5", "B18"). |
| printSection | xsd:string | power | If this article appears in print, this field indicates the print section in which the article appeared. |
| section | xsd:string | power | The top-level classification of the content by the publishing organization. |
| sectionUri | xsd:anyURI | power | A URI representing the top-level classification of the content by the publishing organization. |
| wordCount | xsd:integer | power | The number of words in the article. |
Applying the Article Class
Below is an RDF/Turtle representation of portions our sample article modeled using the attributes specified in the Article class. Please note that we've borrowed certain metadata values from the original Times Article (such as printEdition) to demonstrate the appropriate use of these attributes.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rnews: <http://iptc.org/std/rNews/2011-02-02#> .
<http://dev.iptc.org/rNews-Sample-Story>
a rnews:Article ;
rnews:body "<p>Having largely succeeded in...";
rnews:printColumn "6" ;
rnews:printDesk "Foreign" ;
rnews:printEdition "NewYork" ;
rnews:printPage "1" ;
rnews:printSection "A" ;
rnews:section "world" ;
rnews:wordCount "1223" .
Want to comment on rNews: we invite you to post your comment to the rNews Forum.