rNews: The Headline Class
Figure: Attributes of the Headline class.
- "Allies are Split Over Final Goal of Libya Mission" - Page A1 of the print edition of The New York Times
- "NATO Takes Command" - Sub-headline on page A1 of the print edition of The New York Times
- "Strategy for an Exit and the Fate of Qaddafi Remain Murky" - Sub-headline on page A1 of the print edition of The New York Times
- "Ultimate Goal of Mission In Libya Divides Allies" - Page A9 of the print edition of The New York Times after a jump from page A1.
- "Allies Are Split on Goal and Exit Strategy in Libya" - Online headline at http://www.nytimes.com/2011/03/25/world/africa/25policy.html
Headline Attribute Summary
The table below enumerates all attributes of the Headline class and provides the expected data type, category (core/power) and a definition of each attribute.
| Attribute | Type | Category | Definition |
|---|---|---|---|
| headline | xsd:string | core | The text of a headline. |
| headlineType | xsd:string | core | The type of a headline. |
| headlineTypeUri | xsd:anyURI | core | The URI for the type of a headline. |
Applying the Headline Class
To express our sample article's many Headline objects in RDF/Turtle using attributes from the rnews Headline class, we would write the following:
@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#headline>;
a rnews:Headline ;
rnews:div "Allies Are Split on Goal and Exit Strategy in Libya" ;
rnews:headlineType "headline" .
<http://dev.iptc.org/rNews-Sample-Story#print_headline>;
a rnews:Headline ;
rnews:headlineText "Allies are Split Over Final Goal of Libya Mission" ;
rnews:headlineType "print_headline" .
<http://dev.iptc.org/rNews-Sample-Story#print_jump_headline>;
a rnews:Headline ;
rnews:headlineText "Ultimate Goal of Mission In Libya Divides Allies" ;
rnews:headlineType "print_jump_headline" .
<http://dev.iptc.org/rNews-Sample-Story#print_sub_headline_1>;
a rnews:Headline ;
rnews:headlineText "NATO Takes Command" ;
rnews:headlineType "print_sub_headline" .
<http://dev.iptc.org/rNews-Sample-Story#print_sub_headline_2>;
a rnews:Headline ;
rnews:headlineText "Strategy for an Exit and the Fate of Qaddafi Remain Murky" ;
rnews:headlineType "print_sub_headline" .
Want to comment on rNews: we invite you to post your comment to the rNews Forum.