This version:
http://www.openannotation.org/spec/alpha3/examples/cnn.html
Latest version:
http://www.openannotation.org/spec/examples/cnn.html
Editors
Robert Sanderson, Los Alamos National Laboratory
Herbert Van de Sompel, Los Alamos National Laboratory

Abstract

As a page that changes very frequently, the homepage of the news corporation CNN makes a good example of how the time based features of the OAC data model should be used.


Table of Contents

1. Introduction
     1.2 Namespaces Used
2. Example Sections
     2.8 Time Dependent Annotations

Appendices

A. Acknowledgements
B. Change Log


1. Introduction

As a page that changes very frequently, the homepage of the news corporation CNN makes a good example of how the time based features of the OAC data model should be used.

1.1 Namespaces Used

This example uses the following namespaces and prefixes to indicate those namespaces:

Prefix Namespace URI Description
cnt http://www.w3.org/2008/content# Content in RDF [Content]
dc http://purl.org/dc/elements/1.1/ Dublin Core elements [DC Elements]
dcterms http://purl.org/dc/terms/ Dublin Core terms [DC Terms]
foaf http://xmlns.com/foaf/0.1/ Friend of a Friend vocabulary terms [FOAF]
oac http://www.openannotation.org/ns/ OAC vocabulary terms [OAC]
ore http://www.openarchives.org/ore/terms/ ORE vocabulary terms
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns# RDF vocabulary terms [RDF Vocabulary]
rdfs http://www.w3.org/2001/01/rdf-schema# RDF Schema vocabulary [RDF Vocabulary]

2. OAC Example: CNN

2.8 Time Dependent Annotations

Example 8.1: Uniform Time
Model Instance
URI Table
oac:Annotation http://www.openannotation.org/ns/Annotation
oac:hasTarget http://www.openannotation.org/ns/hasTarget
oac:hasBody http://www.openannotation.org/ns/hasBody
oac:Target http://www.openannotation.org/ns/Target
oac:Body http://www.openannotation.org/ns/Body
oac:when http://www.openannotation.org/ns/when
ex:Anno http://www.example.org/annotation/1/
ex:cnn http://www.cnn.com/
tw:11002497449 http://twitter.com/---/status/11002497449
RDF
ex:Anno a oac:Annotation ,
        oac:hasTarget ex:cnn ,
        oac:hasBody tw:11002497449 ,
        oac:when "2010-03-27 15:05:00 GMT" .

ex:cnn a oac:Target .
tw:11002497449 a oac:Body .
Example 8.2: Varied Time
Model Instance
URI Table
oac:Annotation http://www.openannotation.org/ns/Annotation
oac:hasTarget http://www.openannotation.org/ns/hasTarget
oac:hasBody http://www.openannotation.org/ns/hasBody
oac:Target http://www.openannotation.org/ns/Target
oac:Body http://www.openannotation.org/ns/Body
oac:when http://www.openannotation.org/ns/when
ex:Anno http://www.example.org/annotation/1/
ex:cnn http://www.cnn.com/
ex:mlb http://www.mlbdailydish.com/
uu1 urn:uuid:3DC92A55-6315-49D5-98BD-D9DFB7ADA59E
uu2 urn:uuid:074360F6-19F9-49A0-83BF-A07FEEF09D5D
uu3 urn:uuid:B54FE0F5-831F-4F6B-AE32-E5B5BF7749CE
uu4 urn:uuid:C62E4569-C33B-459D-AB46-276AB709A026
RDF
ex:Anno a oac:Annotation ,
        oac:hasTarget uu1 ,
        oac:hasBody uu2 .

uu1     a oac:ConstrainedBody ,
        oac:constrains ex:mlb ,
        oac:constrainedBy uu3 .

uu2     a oac:ConstrainedTarget ,
        oac:constrains ex:cnn ,
        oac:constrainedBy uu4 .
        
uu3     a oac:TimeConstraint ,
        oac:when "2010-04-20 13:45:00" .

uu4     a oac:TimeConstraint ,
        oac:when "2010-04-20 12:00:00" .

ex:mlb a oac:Body .
ex:cnn a oac:Target .

B. Change Log

Date Editor Description
2010-10-01 rsanderson External alpha3 release
 
Creative Commons LicenseThis work by the Open Annotation Collaboration is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.