rNews 1.0: The Article Class
| Article | ||
| associatedMedia |
|
articleBody articleSection wordCount printPage printColumn printEdition printSection |
Figure 1: Attributes of the Article class.
The Article class provides attributes for modeling content and metadata specific to news articles. A basic set of attributes are inherited from the NewsItem class, 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, and a definition of each attribute.
| Attribute | Type | Definition |
|---|---|---|
| articleBody | xsd:string | The main text of the article. |
| articleSection | xsd:string | xsd:anyURI | owl:thing |
The top-level classification of the content by the publishing organization. |
| associatedMedia | ImageObject | AudioObject | VideoObject |
An image or audio or video object associated with an Article. |
| printColumn | xsd:integer | The number of the column in which the article appears in the print edition. |
| printEdition | xsd:string | xsd:anyURI | owl:thing |
The edition of the print product in which the article appears. Implementors wishing to link to their own controlled vocabularies for this property may wish to specify this property as a URI. |
| printPage | xsd:string | 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 | xsd:anyURI | owl:thing |
If this article appears in print, this field indicates the print section in which the article appeared. Implementors wishing to link to their own controlled vocabularies for this property may wish to specify this property as a URI. |
| wordCount | xsd:nonNegativeInteger | 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-10-07#> .
<http://dev.iptc.org/rNews-Sample-Story>
a rnews:Article ;
rnews:articleBody "<p>Having largely succeeded in...";
rnews:articleSection "world" ;
rnews:printColumn "6" ;
rnews:printEdition "NewYork" ;
rnews:printPage "1" ;
rnews:printSection "A" ;
rnews:wordCount "1223" .
Want to comment on rNews: we invite you to post your comment to the rNews Forum.