rNews 1.0: Class Attributes in rNews
In the previous section we provided a high-level overview of the classes in rNews and the relations between classes. In the following sections we'll take a look at the attributes of each class. We'll start by reviewing important features common to all rNews attributes. After that, we'll examine each class individually. For each class we'll start by describing the class and detailing its attributes. Then we'll use the class to model some portion of our sample article. Once you've read through these sections, you'll know the definition of each rNews attribute and how to assign an appropriate value to each.
| Data Type | Full Definition | Example | Brief Definition |
|---|---|---|---|
| xsd:integer | See W3C Site | 1138 | A whole number between x and y. |
| xsd:double | See W3C Site | 3.14159 | A real-valued number. |
| xsd:string | See W3C Site | "Stuart Myles will love this document." | A String is a sequence of characters. |
| xsd:datetime | See W3C Site | 1979-07-08T08:33:00-05:00 | A string matching the format '-'? YYYY '-' MM '-' DD 'T' hh ':' mm ':' ss ('.' s+)? (zzzzzz)?. |
| xsd:anyURI | See W3C Site | http://data.nytimes.com/N66220017142656459133 | A Universal Resource Identifier (URI). See IETF RFC 2396 for the full definition of URI. |
| a rNews class or owl:Thing | rNews specs | One of the classed defined by rNews or the Thing class from OWL. |
So that's how attributes work in rNews. Now lets move onto the classes themselves!
Want to comment on rNews: we invite you to post your comment to the rNews Forum.