- From: Ian Wilson <ian@neon.ai>
- Date: Thu, 17 Jan 2008 17:13:58 +0900
- To: public-xg-emotion@w3.org
I have made a first draft of the example RDF format of requirement 4.1.1. (see below) It consists of a set of "import" type statements that define the "terms" being used, then there is a meta data header followed by the body or content of the file (in this case 2 annotations of user utterances) RDF is primarily aimed at semantic web applications where the data is to be read by another application, rather than a person. It contains a lot of data so is heavier than XML. However, one useful point for what we are doing is that terms can be defined and referenced, as opposed to XML where the terms are your own construction and are not defined, so if you had an XML attribute called "label" you do not know if that means a "tag", a package label or a record label. With RDF there is a URI to where each term is defined so this ambiguity is resolved. Our effort has making terms unambiguous as a goal I think? Example RDF ########################################################### <?xml version="1.0"?> <!DOCTYPE rdf:RDF PUBLIC "-//EMOTION XG//EMOXG DTD 2008/01/01//EN" "http://www.w3.org/documents/2008/01/01/emoxg-xml/emoxg-xml-dtd.dtd"> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc ="http://purl.org/dc/elements/1.1/" xmlns:emoxg ="http://purl.org/emoxg/elements/1.1/" xmlns:label="http://purl.org/emoxg/label/models/default" xmlns:category="http://purl.org/emoxg/category/models/default" xmlns:dimension="http://purl.org/emoxg/dimension/models/gray" xmlns:appraisal="http://purl.org/emoxg/appraisal/models/occ"> <!-- Header / Meta Data : Dublin Core Elements http://en.wikipedia.org/wiki/Dublin_core --> <rdf:Description rdf:about="http://www.w3.org/2005/Incubator/emotion/"> <dc:title>Emotion XG RDF</dc:title> <dc:title xml:lang="fr">L'Initiative de métadonnées du Emotion XG</dc:title> <dc:title xml:lang="de">der Emotion XG Metadata-Diskussionen</dc:title> <dc:creator rdf:about="http://www.linkedin.com/in/ianwilson/">Ian Wilson</dc:creator> <dc:subject rdf:about="http://www.w3.org/2005/Incubator/emotion/XGR-emotion/">requirements, 4.1.1, annotations</dc:subject> <dc:description>Example of how the Emotion XG specification would look in RDF format</dc:description> <dc:publisher rdf:about="http://www.w3.org/">W3C</dc:publisher> <dc:contributor rdf:about="http://www.w3.org/2005/Incubator/emotion/">The W3C working group on Emotion</dc:contributor> <dc:date>2008-01-01</dc:date> <dc:type>Annotations</dc:type> <dc:format>text/xml</dc:format> <dc:identifier>4.1.1</dc:identifier> <dc:source>Requirements document</dc:source> <dc:language>en</dc:language> </rdf:Description> <!-- Body / Content --> <rdf:Description rdf:about="http://www.emotionai.com/annotations/user/3/entry/22334"> <!-- Example RDF format annotation --> <emoxg:annotation> <emoxg:utterance rdf:about="http://www.emotionai.com/annotations/user/3/entry/22334/22334.wav">Lets do it!</emoxg:utterance> <emoxg:valence>positive</emoxg:valence> <emoxg:intensity>0.7</emoxg:intensity> <dc:relation> <emoxg:labels> <label:description xml:lang="en">Bright</label:description> <label:cannonical>Happy</label:cannonical> <label:category>Pleasure</label:category> <emoxg:labels> <emoxg:dimensions> <dimension:extroversion>0.6</dimension:extroversion> <dimension:neuroticism>-0.2</dimension:neuroticism> <dimension:fightflight>0.3</dimension:fightflight> </emoxg:dimensions> <emoxg:appraisals> </emoxg:eliciting_condition>Request to see a movie<emoxg:eliciting_condition> </emoxg:eliciting_condition>Request from friend<emoxg:eliciting_condition> </emoxg:appraisals> </dc:relation> </emoxg:annotation> </rdf:Description> <rdf:Description rdf:about="http://www.emotionai.com/annotations/user/3/entry/22335"> <!-- Example RDF format annotation --> <emoxg:annotation> <emoxg:utterance rdf:about="http://www.emotionai.com/annotations/user/3/entry/22335/22335.wav">Now!</emoxg:utterance> <emoxg:valence>negative</emoxg:valence> <emoxg:intensity>0.4</emoxg:intensity> <dc:relation> <emoxg:labels> <label:description xml:lang="en">Terse</label:description> <label:cannonical>Strict</label:cannonical> <label:category>Aggression</label:category> <emoxg:labels> <emoxg:dimensions> <dimension:extroversion>0.4</dimension:extroversion> <dimension:neuroticism>-0.4</dimension:neuroticism> <dimension:fightflight>0.7</dimension:fightflight> </emoxg:dimensions> <emoxg:appraisals> </emoxg:eliciting_condition>Friends inaction<emoxg:eliciting_condition> </emoxg:eliciting_condition>long period waiting<emoxg:eliciting_condition> </emoxg:appraisals> </dc:relation> </emoxg:annotation> </rdf:Description> </rdf:RDF> ############################################################ Ian
Received on Thursday, 17 January 2008 08:14:04 UTC