W3C home > Mailing lists > Public > public-xg-emotion@w3.org > August 2008

[EMOXG] examples for links to rest of world II

From: Burkhardt, Felix <Felix.Burkhardt@t-systems.com>
Date: Mon, 11 Aug 2008 18:04:13 +0200
Message-Id: <1B6169C658325341A3B8066E23919E1C0131F9D3@S4DE8PSAANK.mitte.t-com.de>
To: <public-xg-emotion@w3.org>

Hi all again
Because in my mailprogram destroyed the format, I uploaded my examples
also as HTML:



This responds to the request for some examples for "links to the rest of
the world" in the last meeting.
I ordered them accordings to the three sub-requirements, but tried to
intermingle them. 

A) EXAMPLES for "links to the rest of the world:

Links to media:
An element name "media", can be aliased by "img", "audio", "video",
"text", "textstream" and "animation".

MANDATORY attributes:
 uri: a unified ressource indicator (as specified in [3]) OPTIONAL
 type: a mime-tympe indicating the content (as specified in [4])
 id: an identification string for reference OTIONAL sub-elements
 timing: to restrict the media file 

Example 1: element named "media" and mime-type  

  <category name="pleasure"/>
  <media uri="file:///mySound.pcm" type="audio/basic"/>

Example 2: element named "video" w/o mime-type, emotion starts after 4

   <category name="pleasure"/>
   <video uri="file:///myVid.avi">
    <timing start="04:00/>

B) EXAMPLES for "Links 2 /Core 8:  Position on a time line / Emotion

Time values:
I think, because of the complex timing requirements, it's easiest to
have an own OPTIONAL element, perhaps called " timing" and allow for
a) full- and partial clock values as specified in [5] as well as
b) milliseconds since 1.1.1970 and
c) an integer follwed by "spl" to denote sample-values

I still wonder how to describe someone being depressed for 4 years....

All are OPTIONAL attributes
 start: defaults to 00:00
 end: no default
 duration: no default
 anchor: id of a media element, defaults to first media element found or
parent element.

Example 3: emotion lasts for 6 seconds with offset

   <category name="pleasure"/>
   <audio id="audio1" uri="file:///mySound.pcm"/>
   <timing anchor="audio1" start="00:03" end="00:09"

Example 4: I still believe that absolute values are important for
application that note emotions over time (diaries, surveillance, e.g.
Because I don't think it must be written by Humans, milliseconds since
1.1.1970 seems unintuitive but easiest to avoid the calendar
So here's a example for someone feeling content for 4 hours on jan. 1st

   <category name="content"/>
   <timing start="1199142000" duration="="4:00:00"/>  

Example 5: Anger lasting for the first 450 samples in a file with
evenly spaced sample values.

   <category name="anger"/>
   <text id="s1" uri="file:///mySamples.txt"/>
   <timing anchor="s1" duration="450spl"/>  

C) EXAMPLES for "Links 3: The semantics of links to the "rest of the

An element named "context" with the following attributes.
 set: set of pssible semantic roles.
 role: id of the role
 uri: URI of the role

Example 6: Jane Doe who is pleased about a concert performed
  by the Beatles, showed after 2 minusts 40 seconds in a video file.

    <category set="everyday" name="pleasure"/>
    <video id="vid1"
     <timing start="02:40"/>
    <context set="myEmotionRoles" role="experiencer"
    <context set="myEmotionRoles" role="behaviour" uri"#vid1"/>
    <context set="myEmotionRoles" role="trigger"
[2] http://www.w3.org/2008/07/31-emotion-minutes.html#action03</a>
[3] http://tools.ietf.org/html/rfc3986</a>
[4] http://tools.ietf.org/html/rfc2387</a>
[6] http://www.sics.se/interaction/projects/ad/</a>

Received on Monday, 11 August 2008 16:04:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:15 UTC