rNews 1.0: The NewsItem Class
| NewsItem | |||
|
creator editor contributor provider copyrightHolder accountablePerson comment |
|
headline description dateCreated dateModified datePublished inLanguage thumbnailUrl usageTerms copyrightNotice |
identifier genre version dateline interactionCount discussionUrl alternativeHeadline publishingPrinciples copyrightYear |
Figure 1: Attributes of the NewsItem class.
The NewsItem class models those attributes common the Article and group of Media objects. The table below lists all attributes of the NewsItem class and provides the expected data type, and a definition of each attribute.
| Attribute | Type | Definition |
|---|---|---|
| headline | xsd:string | A brief introduction to the content of the NewsItem. |
| alternativeHeadline | xsd:anyURI | A secondary headlineof the NewsItem. |
| copyrightNotice | xsd:string | xsd:anyURI | owl:thing |
Any necessary copyright notice for claiming the intellectual property for the content. |
| copyrightYear | xsd:nonNegativeInteger | The year during which the claimed copyright was first asserted. |
| copyrightHolder | Person | Organization | The party holding the legal copyright to the NewsItem. |
| usageTerms | xsd:string | xsd:anyURI | owl:thing |
A human or machine-readable statement about the usage terms pertaining to the NewsItem. |
| publishingPrinciples | xsd:string | xsd:anyURI | owl:thing |
A link to a natural-language statement of the principles adhered to by the source of the NewsItem. |
| provider | Person | Organization | The person or organization that distributed the NewsItem. |
| sourceOrganization | Organization | The organization on whose behalf the creator was working. |
| creator | Person | Organization | The author/creator of this content. |
| contributor | Person | Organization | A secondary contributor to the item. |
| editor | Person | Organization | The person or organization who edited the NewsItem. |
| accountablePerson | Person | The person that is legally accountable for the NewsItem. |
| dateCreated | xsd:dateTime | The date on which the NewItem was created. |
| datePublished | xsd:dateTime | The date on which the NewItem was first made available online. |
| dateModified | xsd:dateTime | The date on which the NewItem was most recently modified |
| description | xsd:string | A free-form textual description of the NewsItem of the item. Publishers may find it helpful to view this as the "caption" for any Media objects. |
| about | Concept | Indicates that the NewsItem is specifically about a concept. |
| mentions | Concept | Indicates that the NewsItem contains a reference to, but is not necessarily about a concept. |
| genre | xsd:string | xsd:anyURI | owl:thing |
A term describing the general editorial category of the article. Implementations are encouraged but not required to draw values for type of material from the IPTC Genre subject headings at http://cv.iptc.org/newscodes/genre/ . |
| inLanguage | xsd:string | A language used by the news content specified according to IETF BCP 47 at http://tools.ietf.org/html/bcp47. |
| thumbnailUrl | xsd:anyURI | A thumbnail image relevant to the content. |
| dateline | xsd:string | The location where the content was produced. |
| comment | Comment | Comments, typically from users, on this NewsItem. |
| discussionUrl | xsd:anyURI | owl:thing |
A link to the page containing the comments relating to this item. |
| interactionCount | xsd:string | xsd:anyURI | owl:thing |
A count of a specific user interactions with this item—for example, 20 UserLikes, 5 UserComments, or 300 UserDownloads. It is suggested but not required that users draw the interaction type from the controlled vocabulary provided by schema.org at: http://schema.org/UserInteraction |
| identifier | xsd:string | An identifier for a NewsItem. This ID can be generated by the underlying publishing system. No two distinct NewsItems from the same site should be assigned the same id, but a single NewsItem may have multiple ids. |
| version | xsd:integer | The version of the NewsItem embodied by a specified resource. |
Applying the NewsItem Class
Below is an RDF/Turtle representation of portions our sample article modeled using the attributes specified in the NewsItem class. Please note that we've borrowed certain metadata values from the original Times Article (such as commentCount) 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>
rnews:headline "Allies Are Split on Goal and Exit Strategy in Libya" ;
rnews:alternativeHeadline "Allies are Split Over Final Goal of Libya Mission" ;
rnews:alternativeHeadline "NATO Takes Command" ;
rnews:alternativeHeadline "Strategy for an Exit and the Fate of Qaddafi Remain Murky" ;
rnews:alternativeHeadline "Ultimate Goal of Mission In Libya Divides Allies" ;
rnews:copyrightNotice <http://www.nytimes.com/content/help/rights/copyright/copyright-notice.html> ;
rnews:dateCreated "2011-03-24" ;
rnews:description "The questions about the command mirrored the strategic divisions over how the coalition will end the operation." ;
rnews:inLanguage "en" ;
rnews:thumbnailUri <http://graphics8.nytimes.com/images/common/icons/t_wb_75.gif> ;
rnews:usageTerms <http://www.nytimes.com/ref/membercenter/help/agree.html> ;
rnews:interactionCount "2 UserComments" ;
rnews:discussionUrl <http://community.nytimes.com/comments/www.nytimes.com/2011/03/25/world/africa/25policy.html> ;
rnews:genre <http://cv.iptc.org/newscodes/genre/Current> ;
rnews:identifier "1248069687395" ;
rnews:version "1" .
Want to comment on rNews: we invite you to post your comment to the rNews Forum.