<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Onyx: Describing Emotions on the Web of Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>J. Fernando Sanchez-Rada</string-name>
          <email>jfernando@dit.upm.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Carlos A. Iglesias</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Intelligent Systems Group Telematic Systems Engineering Deparment Technical University of Madrid</institution>
          ,
          <addr-line>UPM</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>Textual emotion analysis is a new eld whose aim is to detect emotions in user generated content. It complements Sentiment Analysis in the characterization of users subjective opinions and feelings. Nevertheless, there is a lack of available lexical and semantic emotion resources that could foster the development of emotion analysis services. Some of the barriers for developing such resources are the diversity of emotion theories and the absence of a vocabulary to express emotion characteristics. This article presents a semantic vocabulary, called Onyx, intended to provide support to represent emotion characteristics in lexical resources and emotion analysis services. Onyx follows the Linked Data principles as it is aligned with the Provenance Ontology. It also takes a linguistic Linked Data approach: it is aligned with the Provenance Ontology, it represents lexical resources as linked data, and has been integrated with Lemon, an increasingly popular RDF model for representing lexical entries. Furthermore, it does not prescribe any emotion model and can be linked to heterogeneous emotion models expressed as Linked Data. Onyx representations can also be published using W3C EmotionML markup, based on the proposed mapping.</p>
      </abstract>
      <kwd-group>
        <kwd>ontology</kwd>
        <kwd>emotions</kwd>
        <kwd>emotion analysis</kwd>
        <kwd>sentiment analysis</kwd>
        <kwd>semantic</kwd>
        <kwd>semantic web</kwd>
        <kwd>linked data</kwd>
        <kwd>provenance</kwd>
        <kwd>emotionml</kwd>
        <kwd>lemon</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>From the tech-savvy to elders, our society is exponentially moving its social
and professional activity to the Internet, with its myriad of services and social
networks. Facebook1 or Twitter2 are only two of the most successful
examples, producing ooding streams of user-generated data. Unluckily, quite often
that information is just meant for human consumption and is only formatted
to be displayed. This prevents us from automatically processing these massive
streams of information to aggregate, summarize or transform them and present
human users with a bigger picture. In other words, data mining techniques
require machine-formatted data input.</p>
    </sec>
    <sec id="sec-2">
      <title>1 https://facebook.com</title>
    </sec>
    <sec id="sec-3">
      <title>2 https://twitter.com</title>
      <p>
        In an attempt to shorten that gap, the multidisciplinary eld called Sentiment
Analysis or Opinion Mining was born, which aims at determining the subjectivity
of human opinions. Many tools have been created to enrich or make sense out of
human generated content by applying natural language processing and adding
the results as annotations or tags. Whilst this solves the issue at a small scale,
for each ad-hoc solution, it raises another problem: data collected by di erent
programs presents di erent and sometimes incompatible formats. Linked Data
introduced a lingua franca for data representation as well as a set of tools to
process and share such information. Many services embraced the Linked Data
concepts and are providing tools to interconnect the previously closed silos of
information [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ].
      </p>
      <p>
        The Sentiment Analysis eld is now evolving to determine also human
emotions. An important fact about emotions is that they change the way we
communicate [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. They can be passed on just like any other information, in what some
authors call emotional contagion [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. That is a phenomenon that is clearly visible
in social networks. Most of them o er a public API that makes studying the
networks and information ow relatively easy. For this very reason social network
analysis is an active eld [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], with Emotion Mining as one of its components.
      </p>
      <p>
        Social networks aside, another eld of application of Emotion Analysis is
A ective computing. There are a variety of systems whose only human-machine
communication is purely text-based. These systems are often referred to as dialog
systems (e.g. Q&amp;A systems). Such systems can use the emotive information to
change their behaviour and responses [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ].
      </p>
      <p>On the other hand, the rise of services like microblogging will inevitably lead
to services that exchange and use a ective information. Some social sites are
already using emotions natively, giving their users the chance to share emotions
or use them in queries. Facebook, for instance, recently updated the way its users
can share personal statuses.</p>
      <p>
        These sites have started making heavy use [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] of formats like RDFa [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] or
Microformats as a bridge between web pages for human consumption and Linked
Data. This made it possible to provide a better user experience and better search
results despite the big amount of information these networks contain.
      </p>
      <p>Combining the objective facts already published as Linked Data with
subjective opinions extracted using Sentiment and Emotion analysis techniques can
enable a wide array of new services. Unfortunately, there is not yet any widely
accepted Linked Data representation for emotions. This paper aims at bridging
this gap with the de nition of a new vocabulary, Onyx.</p>
      <p>This paper is structured as follows: Section 2 introduces the technologies
that Onyx is based upon, as well as the challenges related to Emotion Analysis
and creating a standard model for emotions, including a succinct overview of
the formats currently in use; Section 3 covers the Onyx ontology in detail and
several use cases for this ontology; Section 4 presents the results of our evaluation
of the Ontology, focusing on the coverage of current formats like EmotionML;
Section 5 completes this paper with our conclusions and future work.</p>
      <sec id="sec-3-1">
        <title>Enabling Technologies</title>
        <p>2.1</p>
        <sec id="sec-3-1-1">
          <title>Models for Emotions and Sentiment Analysis</title>
          <p>To work with Emotions and reason about them, we rst need to have a solid
understanding and model of emotions. This, however, turns out to be a rather
complex task.It is comprised of two main components: modelling (including
categorisation) and representation.</p>
          <p>
            There are several models for emotions, ranging from the most simplistic and
ancient that come from Chinese philosophers to the most modern theories that
re ne and expand older models [
            <xref ref-type="bibr" rid="ref11 ref22">11, 22</xref>
            ]. The literature on the topic is vast,
and it is out of the scope of this paper to reproduce it. The recent work by
Cambria et al. [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ] contains a comprehensive state of the art on the topic, as
well as an introduction to a novel model, The Hourglass of Emotions, inspired by
Plutchik's studies [
            <xref ref-type="bibr" rid="ref21">21</xref>
            ]. Plutchik's model has been extensively used [
            <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
            ] in the
area of Sentiment Analysis and A ective Computing, relating all the di erent
emotions to each other in what is called the rose of emotions.
          </p>
          <p>
            Other models cover a ects in general, which include Emotions as part of
them. One of them is the work done by Strapparava and Valitutti in
WordNetA ect [
            <xref ref-type="bibr" rid="ref27">27</xref>
            ]. It comprises more than 300 a ects, many of which are considered
emotions. What makes this categorization interesting is that it e ectively
provides a taxonomy of emotions. It both gives information about relationship
between emotions and makes it possible to to decide the level of granularity of the
emotions expressed.
          </p>
          <p>
            Despite all, there does not seem to be a universally accepted model for
emotions [
            <xref ref-type="bibr" rid="ref26">26</xref>
            ]. This complicates the task of representing emotions. In a discussion
regarding Emotion Markup Language (EmotionML), Schroder et al. pose that
any attempt to propose a standard way of representing emotions for technological
contexts seems doomed to fail [
            <xref ref-type="bibr" rid="ref25">25</xref>
            ]. Instead they claim that the markup should
o er users choice of representation, including the option to specify the a ective
state that is being labelled, di erent emotional dimensions and appraisal scales.
The level of intensity completes their de nition of an a ect in their proposal.
          </p>
          <p>
            EmotionML [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ] is one of the most notable general-purpose emotion
annotation and representation languages. It was born from the e orts made for Emotion
Annotation and Representation Language (EARL) [
            <xref ref-type="bibr" rid="ref1 ref26">1, 26</xref>
            ] by Human-Machine
Interaction Network on Emotion (HUMAINE) EARL originally included 48
emotions divided into 10 di erent categories. EmotionML o ers twelve vocabularies
for categories, appraisals, dimensions and action tendencies. A vocabulary is a
set of possible values for any given attribute of the emotion. There is a complete
description of those vocabularies and its computer-readable form available [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ].
          </p>
          <p>
            In the eld of Semantic Technologies, Grassi presented Human Emotion
Ontology (HEO). This ontology presents an ontology for human emotions for its use
for annotating emotions in multimedia data. Another work worth mentioning is
that of Hastings et al. [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ] in Emotion Ontology (EMO), an ontology that tries
to reconcile the discrepancies in a ective phenomena terminology.
          </p>
          <p>
            For Opinion Mining we nd the Marl vocabulary [
            <xref ref-type="bibr" rid="ref29">29</xref>
            ]. Marl was designed
to annotate and describe subjective opinions expressed in text. In essence, it
provides the conceptual tools to annotate Opinions and results from Sentiment
Analysis in an open and sensible format. However, it is focused on polarity
extraction and is not capable of representing Emotions. Onyx aims to remedy
this and o er a complete set of tools for any kind of Sentiment Analysis, including
advanced Emotion Analysis.
          </p>
          <p>
            Lastly, it is worth mentioning lemon, the Lexicon Model for Ontologies. As
its name indicates, it is a model that supports the sharing of terminological and
lexicon resources on the Semantic Web as well as their linking to the existing
semantic representation provided by ontologies [
            <xref ref-type="bibr" rid="ref16">16</xref>
            ]. Onyx will be used together
with lemon to annotate lexicon resources for Emotion Analysis, as will be shown
in some of the examples below.
2.2
          </p>
        </sec>
        <sec id="sec-3-1-2">
          <title>W3C's Provenance</title>
          <p>
            Provenance is information about entities, activities, and people involved in
producing a piece of data or thing, which can be used to form assessments about its
quality, reliability or trustworthiness. The PROV Family of Documents de nes
a model, corresponding serializations and other supporting de nitions to enable
the inter-operable interchange of provenance information in heterogeneous
environments such as the Web [
            <xref ref-type="bibr" rid="ref19">19</xref>
            ]. It includes a full- edged ontology, to which
Onyx is linked. The complete ontology is covered by the PROV-O Speci cation.
However, to understand the role of Provenance in Onyx and vice versa, it is
enough to understand Figure 1.
As we can see, Agents take part in Activities to transform Entities (data)
into di erent Entities (modi ed data). This process can be aggregation of
information, translation, adaptation, etc. In our case, this activity is an Emotion
Analysis, which turns plain data into semantic emotion information.
          </p>
          <p>There are many advantages to adding provenance information in Sentiment
Analysis in particular as di erent algorithms may produce di erent results. By
including the Provenance classes in our Emotion Mining Ontology we can not
only link results with the source from which it was extracted, but also with the
algorithm that produced them.
3</p>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>Onyx</title>
        <p>Onyx is a vocabulary to represent the Emotion Analysis process and its results,
as well as annotating lexical resources for Emotion Analysis. It includes all the
necessary classes and properties to provide structured and meaningful Emotion
Analysis results, and to connect results from di erent providers and applications.</p>
        <p>At its core, the Onyx ontology has three main classes: EmotionAnalysis,
EmotionSet and Emotion. In a standard Emotion Analysis, these three classes
are related as follows: an EmotionAnalysis is run on a source (generally in the
form of text, e.g. a status update), the result is represented as one or more
EmotionSet instances that contain one or more Emotion instances.</p>
        <p>The EmotionAnalysis instance contains information about: the source (e.g.
dataset, website) from which the information was taken, the algorithm used,
and the emotion model that was used to represent emotions. Additionally, it
can make use of Provenance to specify the Agent in charge of the analysis, the
resources used (e.g. dictionaries), and other useful information.</p>
        <p>An EmotionSet contains a group of emotions found in the text or one of
its parts. As such, it contains information about: the original text
(extractedFrom); the exact excerpt that contains the emotion or emotions (emotionText);
the person that showed the emotions (sioc:has creator); the entity that the
emotion is related to (describesObject); the concrete part of that object it refers to
(describesObjectPart); the feature about that part or object that triggers the
emotion (describesFeature); and, lastly, the domain detected. All this properties
are straightforward, but a note should be given about the domain property.
Different emotions could have di erent interpretations in di erent contexts (e.g.,
fear is positive when referred to a thriller, but negative when it comes to cars
and safety).</p>
        <p>When several EmotionSet instances are related, an AggregatedEmotionSet
can be created that links to all of them. For instance, we could aggregate all
the emotions about a Movie, or all the emotions shown by a particular user. An
AggregatedEmotionSet is a subclass of EmotionSet which contains additional
information about the original EmotionSet instances it aggregates.</p>
        <p>Considering the lack of consensus on modeling and categorizing emotions, our
model of emotions is very generic. In this Emotion model we include: an
EmotionCategory or type of emotion (although more could be speci ed), through
the hasEmotionCategory property (e.g. \sadness"); the emotion intensity;
action tendencies (ActionTendency) related to this emotion, or actions that are
triggered by the emotion; appraisals and dimensions. Appraisals and dimensions
are de ned as properties, whose value is a oat number. On top of that generic
model, we have adapted two di erent systems: the WordNet-A ect taxonomy,
and the EmotionML vocabularies for categories, dimensions and appraisals.</p>
        <p>
          WordNet-A ect [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ] contains the relationships (concepts and superconcepts)
of a ects, among which we nd emotions. We processed the list of a ects and
published a SKOS version of the taxonomy [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ]. The taxonomy speci cation
includes a navigable tree that contains the concepts (i.e. a ect types) in it,
aligned with WordNet concepts. This makes it trivial to select an a ect that
represents the desired emotion. Besides providing a good starting point for other
ontologies, this taxonomy also serves as a base to translate between the several
di erent ontologies in the future.
        </p>
        <p>
          Regarding EmotionML, we have converted its vocabularies [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] the Onyx
format. Using this extension we can translate EmotionML resources into Onyx for
their use in the Semantic Web.
        </p>
        <p>This is further developed in Section 4.</p>
        <p>It is also possible that two separate emotions, when found simultaneously,
imply a third emotion. A more complex one. For instance, \thinking of the awful
things I've done makes me want to cry" might reveal sadness and disgust, which
together might be interpreted as remorse. In such situation, we could add an
AggregatedEmotion that represents remorse to the EmotionSet, linking it to the
primary emotions with the aggregatesEmotion property.</p>
        <p>To group all the attributes that correspond to a speci c emotion model,
we created the EmotionModel class. Each EmotionModel will be linked to the
di erent categories it contains (hasEmotionCategory), the AppraisalProperty or
DimensionProperty instances it introduces (through hasAppraisalProperty and
hasDimensionProperty), etc.</p>
        <p>Figure 2 shows a complete overview of all these classes, as well as all their
properties.</p>
        <p>After this introduction of the ontology, we will present several use cases for
it. This should give a better understanding of the whole ontology by example.
Rather than exhaustive and complex real life applications, these examples are
meant as simple self-contained showcases of the capabilities of semantic Emotion
Analysis using Onyx. For the sake of brevity, we will omit the pre x declaration
in the examples.</p>
        <p>Case
An example
Analysis.</p>
        <p>
          EmotionProcessing \I lost one
hour today because of
the strikes!!", by the user
JohnDoe
Example of annotation of
a lexical entry using Onyx
and lemon [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ].
        </p>
        <p>N3 Representation
: customAnalysis
a onyx : EmotionAnalysis ;
onyx : algorithm " SimpleAlgorithm ";
onyx : usesEmotionModel wna : WNAModel .
: result1
a onyx : EmotionSet ;
prov : wasGeneratedBy : customAnalysis ;
sioc : has_creator [
sioc : UserAccount &lt;http :// blog . example .</p>
        <p>com / JohnDoe &gt;. ];
onyx : hasEmotion [
onyx : hasEmotionCategory wna : anger ;
onyx : hasEmotionIntensity :0.9 ];
onyx : emotionText "I lost one hour today</p>
        <p>because of the strikes !!" ;
dcterms : created "2013 -05 -16 T19 :20:30+01:00"</p>
        <p>^^ dcterms : W3CDTF .
: fifa
a lemon : Lexicalentry ;
lemon : sense [
lemon : reference wn : synset - fear - noun -1;
onyx : hasEmotion</p>
        <p>
          [ oyx : hasEmotionCategory wna : fear . ].
];
lexinfo : partOfSpeech lexinfo : noun .
Evaluating ontologies is always a di cult task. Evaluation methodologies are
highly debatable and there are no standards [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. For the evaluation of Onyx we
focused on its practical use as well as in its correctness. This means testing the
adequacy of the model for existing applications as well as scenarios with several
emotion models. In particular we have chosen two di erent test scenarios: the
Finding all the users that
did not feel good during
last New Year's Eve, and
the exact emotions they
felt.
        </p>
        <p>Comparing two Emotion
Mining algorithms by
comparing the
discrepancies in the results
obtained using both.</p>
        <p>Query
SELECT DISTINCT ? creator ? cat
WHERE {
? set onyx : hasEmotion</p>
        <p>[ onyx : hasEmotionCategory ? cat ];
dcterms : created ? date ;
sioc : has_creator ? creator .
? cat skos : broaderTransitive * wna : negative</p>
        <p>- emotion .</p>
        <p>FILTER ( ? date &gt;= xsd : date (" 2012 -12 -31 ")</p>
        <p>? date &lt;= xsd : date (" 2013 -01 -01 ") )
}
SELECT ? source1 ? algo1 ( GROUP_CONCAT (? cat1 )</p>
        <p>as ? cats1 )
WHERE {
? set1 onyx : extractedFrom ? source1 .
? analysis1 prov : generated ? set1 ;</p>
        <p>onyx : algorithm ? algo1 .
? set1 onyx : hasEmotion</p>
        <p>[ onyx : hasEmotionCategory ? cat1 ].</p>
        <p>FILTER EXISTS {
? set2 onyx : extractedFrom ? source1 .
? analysis2 prov : generated ? set2 .
? set2 onyx : hasEmotion</p>
        <p>[ onyx : hasEmotionCategory ? cat2 ].</p>
        <p>FILTER ( ? set1 != ? set2 ).</p>
        <p>FILTER ( ? cat2 != ? cat1 ).</p>
        <p>}
}
GROUP BY ? source1 ? algo1</p>
        <p>
          ORDER BY ? source1
adaptation of a well-known Emotion Analysis tool to output Onyx, Synesketch
[
          <xref ref-type="bibr" rid="ref2">2,</xref>
          ], and the translation of EmotionML resources to Onyx and vice versa.
        </p>
        <p>
          For the EmotionML part, the evaluation process is split into two parts:
transforming the EmotionML categories into a semantic format, and representing
EmotionML cases with Onyx. The result of the former can be seen in [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ], which
has been used as namespace (emlonyx) in the translation of an EmotionML
example in Table 3. The speci cation of EmotionML is public, including its XML
schema, which eased the process of mapping it to Onyx. We have focused
especially on representing EmotionML emotions in Onyx.
        </p>
        <p>Synesketch is a library and application that detects emotions in English texts
and can generate images that re ect those emotions. Originally written in Java, it
has been uno cially ported to several programming languages (including PHP),
which shows the interest of the community in this tool. The aim of the PHP port
was, among others, to o er a public endpoint for emotion analysis, which later
had to be taken down due to misuse. The relevance of this tool and its Open
Source license were the leading factors in choosing this tool. Our approach has
been to develop a proof-of-concept web service that performs Emotion Analysis
using Synesketch's emotion analysis. The service can be accessed via a REST
API and its results are presented in Onyx, using the RDF format.</p>
        <p>The Synesketch library uses the big-6 emotional model, which comprises:
happiness, sadness, fear, anger, disgust and surprise. Each of those emotions
are present in the input text with a certain weight that ranges from 0 to 1.
Additionally, it has two attributes more that correspond to the general emotional
valence (positive, negative or neutral) and the general emotional weight. In other
words, these attributes together show how "positive", "negative" or "neutral"
the overall emotion is.</p>
        <p>To represent the big-6 emotion category in Onyx we used EmotionML's big-6
category, which we previously mapped to Onyx. The Synesketch weight directly
mapped to hasEmotionIntensity in Onyx.</p>
        <p>However, the General Emotional valence and weight do not directly match
any Onyx property or class. To solve it, we simply added an AggregatedEmotion
with the PositiveEmotion, NeutralEmotion or NegativeEmotion category (as
de ned by WordNet-A ect) depending on the value of the valence. The general
emotional weight is then the intensity of this AggregatedEmotion, just like in
the other cases.</p>
        <p>The nal result is a REST service that is publicly available at our website3.
EmotionML
&lt; emotionml
xmlns =" http: //.../ emotionml "
xmlns:meta =" http: //.../</p>
        <p>metadata "
category - set =" http: //.../#</p>
        <p>everyday
categories " &gt;
&lt;info &gt;
&lt; classifiers:classifier</p>
        <p>classifiers:name =" GMM "/ &gt;
&lt;/ info &gt;
&lt; emotion &gt;
&lt; category name =" Disgust " value</p>
        <p>=" 0.82 "/ &gt;
'Come , there is no use in</p>
        <p>crying like that ! '
&lt;/ emotion &gt;
said Alice to herself rather</p>
        <p>sharply ;
&lt; emotion &gt;
&lt; category name =" Anger " value ="</p>
        <p>0.57 "/ &gt;
'I advise you to leave off</p>
        <p>this minute ! '
&lt;/ emotion &gt;
&lt;/ emotionml &gt;</p>
        <p>Onyx
: Set1 a onyx : EmotionSet ;
onyx : extractedFrom " Come , there is no use
in crying like that ! said Alice to
herself rather sharply ; I advice
you to live off this minute !";
onyx : hasEmotion : Emo1
onyx : hasEmotion : Emo2
: Emo1 a onyx : Emotion ;
onyx : hasEmotionCategory</p>
        <p>emlonyx : disgust ;
onyx : hasEmotionIntensity 0.82;
onyx : hasEmotionText " Come , there 's no use in</p>
        <p>crying like that !"
: Emo2 a onyx : Emotion ;
onyx : hasEmotionCategory emlonyx : anger ;
onyx : hasEmotionIntensity 0.57;
onyx : hasEmotionText "I advice you to leave</p>
        <p>off this minute !"
: Analysis1 a onyx : EmotionAnalysis ;
onyx : algorithm " GMM ";
onyx : usesEmotionModel emlonyx : everyday</p>
        <p>categories ;
prov : generated Set1 .</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>3 http://demos.gsi.dit.upm.es/onyxemote/</title>
      <sec id="sec-4-1">
        <title>Conclusions and Future Work</title>
        <p>With this work we have introduced an option to represent Emotions that takes
advantage of the work conducted in the eld of Semantic Web. This ontology
presents characteristics that are particularly bene cial for any process of
Emotion Analysis. Onyx provides a structured format for Emotion Analysis. It
addresses the problem of supporting heterogeneous categories of emotions, and new
categories and features can be added, using the recommended taxonomy to link
them and retain compatibility.</p>
        <p>We also presented how Onyx would be used in several scenarios. Furthermore,
we adapted some of the existent resources and services to Onyx, making them
publicly available.</p>
        <p>Although this paper is focused on Emotion Analysis, emotive information
can also be directly provided by users. Either given explicitly or extracted via
an automated process (Emotion Analysis), the information they represent is the
same. A single ontology should thus cover both scenarios. This is possible with
Onyx, as we demonstrate in this paper.</p>
        <p>
          We would like to note that our proposal is compatible with EMO, since
EMO can be easily mapped to Onyx using the property usesEmotionModel.
The situation is similar with the proposal of Lopez et al. [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], which focuses
on emotions instead of a ects in general. The integration with HEO will be
investigated. Onyx's and HEO's Emotion classes are very similar overall, but
follow di erent approaches in several aspects.
        </p>
        <p>With all this in mind, we consider that using Onyx to represent Emotion
Mining results is highly bene cial.</p>
        <p>
          As part of the future plans for Onyx, it will be actively used in the
EUROSENTIMENT4 project, whose aims is to create a language resource pool for
Sentiment Analysis. Together with Marl [
          <xref ref-type="bibr" rid="ref29">29</xref>
          ] and Lemon [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ], they will be the
standard formats for representation of lexicons and results. Therefore all the
services provided in the frame of the EUROSENTIMENT project will export
emotional information using Onyx. Marl has already been integrated in NIF
2.05 to represent opinions, and e orts will be made to integrate Onyx as well for
emotions.
        </p>
        <p>There is also room for experimentation emotion composition and inference
using tools such as SPIN6. It is possible to infer complex emotions whenever
other simple emotions are present, and vice versa. The same techniques could
be used to work with di erent emotion models</p>
        <p>Finally, our research group will use the integration with EmotionML to
develop intelligent personal agents that bene t from the potential of the Semantic
Web.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4 http://eurosentiment.eu</title>
    </sec>
    <sec id="sec-6">
      <title>5 http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core/</title>
      <p>nif-core.html</p>
    </sec>
    <sec id="sec-7">
      <title>6 http://spinrdf.org/</title>
      <sec id="sec-7-1">
        <title>Acknowledgements</title>
        <p>This work was partially funded by the EUROSENTIMENT FP7 Project (Grant
Agreement no: 296277)</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Humaine</given-names>
            <surname>Emotion</surname>
          </string-name>
          <article-title>Annotation and Representation Language (EARL): Proposal</article-title>
          .,
          <year>June 2006</year>
          , http://emotion-research.net/projects/humaine/earl/proposal# Dialects.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. Synesketch:
          <article-title>Free Open-Source Software for Textual Emotion Recognition and Visualization</article-title>
          , June 2006, http://emotion-research.net/projects/humaine/earl/ proposal#Dialects.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Facebook</given-names>
            <surname>Open Graph</surname>
          </string-name>
          <string-name>
            <surname>API</surname>
          </string-name>
          ,
          <year>June 2013</year>
          , http://developers.facebook.com/docs/ opengraph/.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Ben</given-names>
            <surname>Adida</surname>
          </string-name>
          , Mark Birbeck,
          <string-name>
            <surname>Shane McCarron</surname>
            ,
            <given-names>and Steven</given-names>
          </string-name>
          <string-name>
            <surname>Pemberton</surname>
          </string-name>
          .
          <article-title>RDFa in XHTML: Syntax and processing</article-title>
          .
          <source>Recommendation, W3C</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Kazuyuki</given-names>
            <surname>Ashimura</surname>
          </string-name>
          , Paolo Baggia, Felix Burkhardt, Alessandro Oltramari, Christian Peter, and Enrico Zovato. EmotionML vocabularies,
          <source>May</source>
          <year>2012</year>
          , http: //www.w3.org/TR/2012/NOTE-emotion-voc-
          <volume>20120510</volume>
          /.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Paolo</given-names>
            <surname>Baggia</surname>
          </string-name>
          , Felix Burkhardt, Catherine Pelachaud, Christian Peter, and
          <string-name>
            <given-names>Enrico</given-names>
            <surname>Zovato</surname>
          </string-name>
          .
          <article-title>Emotion Markup Language (EmotionML) 1</article-title>
          .0,
          <string-name>
            <surname>April</surname>
            <given-names>2013</given-names>
          </string-name>
          ,http://www. w3.org/TR/emotionml/.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Sigal</surname>
            <given-names>G. Barsade.</given-names>
          </string-name>
          <article-title>The ripple e ect: Emotional contagion and its in uence on group behavior</article-title>
          .
          <source>Administrative Science Quarterly</source>
          ,
          <volume>47</volume>
          (
          <issue>4</issue>
          ):
          <volume>644</volume>
          {
          <fpage>675</fpage>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Damian</given-names>
            <surname>Borth</surname>
          </string-name>
          , Tao Chen, Rongrong Ji, and
          <string-name>
            <surname>Shih-Fu Chang</surname>
          </string-name>
          .
          <article-title>SentiBank: large-scale ontology and classi ers for detecting sentiment and emotions in visual content</article-title>
          .
          <source>In Proceedings of the 21st ACM international conference on Multimedia, MM '13</source>
          , pages
          <fpage>459</fpage>
          {
          <fpage>460</fpage>
          , New York, NY, USA,
          <year>2013</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Erik</given-names>
            <surname>Cambria</surname>
          </string-name>
          , Catherine Havasi, and Amir Hussain.
          <article-title>SenticNet 2: A semantic and a ective resource for opinion mining and sentiment analysis</article-title>
          .
          <source>In FLAIRS Conference</source>
          , pages
          <volume>202</volume>
          {
          <fpage>207</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Erik</surname>
            <given-names>Cambria</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Andrew</given-names>
            <surname>Livingstone</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Amir</given-names>
            <surname>Hussain</surname>
          </string-name>
          .
          <article-title>The hourglass of emotions</article-title>
          .
          <source>In Cognitive Behavioural Systems</source>
          , pages
          <fpage>144</fpage>
          {
          <fpage>157</fpage>
          . Springer,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>Paul</given-names>
            <surname>Ekman</surname>
          </string-name>
          . Basic emotions.
          <source>Handbook of cognition and emotion</source>
          ,
          <volume>98</volume>
          :
          <fpage>45</fpage>
          {
          <fpage>60</fpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>Paul</given-names>
            <surname>Groth</surname>
          </string-name>
          and
          <string-name>
            <given-names>Luc</given-names>
            <surname>Moreau</surname>
          </string-name>
          .
          <string-name>
            <surname>Prov-O W3C Recommendation</surname>
          </string-name>
          ,
          <year>April 2013</year>
          , http: //www.w3.org/TR/prov-o/.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Asuncion</surname>
          </string-name>
          Gomez-Perez.
          <article-title>Evaluation of ontologies</article-title>
          .
          <source>International Journal of Intelligent Systems</source>
          ,
          <volume>16</volume>
          (
          <issue>3</issue>
          ):
          <volume>391</volume>
          {
          <fpage>409</fpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Janna</surname>
            <given-names>Hastings</given-names>
          </string-name>
          , Werner Ceusters,
          <string-name>
            <given-names>Barry</given-names>
            <surname>Smith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and Kevin</given-names>
            <surname>Mulligan</surname>
          </string-name>
          .
          <article-title>Dispositions and processes in the emotion ontology</article-title>
          .
          <source>In ICBO</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15. Juan Miguel Lopez, Rosa Gil,
          <article-title>Roberto Garc a, Idoia Cearreta, and Nestor Garay. Towards an ontology for describing emotions</article-title>
          .
          <source>In Emerging Technologies and Information Systems for the Knowledge Society</source>
          , pages
          <fpage>96</fpage>
          {
          <fpage>104</fpage>
          . Springer,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>John</surname>
            <given-names>McCrae</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Dennis</given-names>
            <surname>Spohr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and Philipp</given-names>
            <surname>Cimiano</surname>
          </string-name>
          .
          <article-title>Linking lexical resources and ontologies on the semantic web with lemon</article-title>
          .
          <source>In The Semantic Web: Research and Applications</source>
          , pages
          <volume>245</volume>
          {
          <fpage>259</fpage>
          . Springer,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>John</surname>
            <given-names>McCrae</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Dennis</given-names>
            <surname>Spohr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and Philipp</given-names>
            <surname>Cimiano</surname>
          </string-name>
          .
          <article-title>Linking lexical resources and ontologies on the semantic web with Lemon</article-title>
          . In Grigoris Antoniou, Marko Grobelnik, Elena Simperl, Bijan Parsia, Dimitris Plexousakis, Pieter Leenheer, and Je Pan, editors,
          <source>The Semantic Web: Research and Applications</source>
          , volume
          <volume>6643</volume>
          of Lecture Notes in Computer Science, pages
          <volume>245</volume>
          {
          <fpage>259</fpage>
          . Springer Berlin Heidelberg,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Alan</surname>
            <given-names>Mislove</given-names>
          </string-name>
          , Massimiliano Marcon,
          <string-name>
            <given-names>Krishna P.</given-names>
            <surname>Gummadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Peter</given-names>
            <surname>Druschel</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Bobby</given-names>
            <surname>Bhattacharjee</surname>
          </string-name>
          .
          <article-title>Measurement and analysis of online social networks</article-title>
          .
          <source>In Proceedings of the 7th ACM SIGCOMM conference on Internet measurement, IMC '07</source>
          , pages
          <fpage>29</fpage>
          {
          <fpage>42</fpage>
          , New York, NY, USA,
          <year>2007</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Luc</surname>
            <given-names>Moreau</given-names>
          </string-name>
          , Ben Cli ord, Juliana Freire, Joe Futrelle, Yolanda Gil, Paul Groth, Natalia Kwasnikowska, Simon Miles, Paolo Missier, Jim Myers, Beth Plale, Yogesh Simmhan, Eric Stephan, and Jan Van den Bussche.
          <article-title>The open provenance model core speci cation (v1.1)</article-title>
          .
          <source>Future Generation Computer Systems</source>
          ,
          <volume>27</volume>
          (
          <issue>6</issue>
          ):
          <volume>743</volume>
          {
          <fpage>756</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <given-names>Bo</given-names>
            <surname>Pang</surname>
          </string-name>
          and
          <string-name>
            <given-names>Lillian</given-names>
            <surname>Lee</surname>
          </string-name>
          .
          <article-title>Opinion mining and sentiment analysis</article-title>
          .
          <source>Foundations and trends in information retrieval</source>
          ,
          <volume>2</volume>
          (
          <issue>1</issue>
          -2):1{
          <fpage>135</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <given-names>Robert</given-names>
            <surname>Plutchik</surname>
          </string-name>
          .
          <article-title>Emotion: A psychoevolutionary synthesis</article-title>
          .
          <source>Harper &amp; Row New York</source>
          ,
          <year>1980</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Jesse</surname>
          </string-name>
          J Prinz.
          <article-title>Gut reactions: A perceptual theory of emotion</article-title>
          .
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>J. Fernando</surname>
          </string-name>
          Sanchez-Rada and
          <article-title>Carlos A. Iglesias. EmotionML categories for Onyx</article-title>
          ,
          <year>July 2013</year>
          , http://gsi.dit.upm.es/ontologies/onyx/emotionml.
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>J. Fernando</surname>
          </string-name>
          Sanchez-Rada and
          <article-title>Carlos A. Iglesias. WordNet-A ect SKOS Taxonomy</article-title>
          , May
          <year>2013</year>
          ,http://gsi.dit.upm.es/ontologies/wnaffect/.
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25. Marc Schroder, Laurence Devillers, Kostas Karpouzis,
          <string-name>
            <surname>Jean-Claude</surname>
            <given-names>Martin</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Catherine</given-names>
            <surname>Pelachaud</surname>
          </string-name>
          , Christian Peter, Hannes Pirker, Bjorn Schuller, Jianhua Tao, and Ian Wilson.
          <article-title>What should a generic emotion markup language be able to represent? In A ective Computing and Intelligent Interaction</article-title>
          , pages
          <volume>440</volume>
          {
          <fpage>451</fpage>
          . Springer,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26. Marc Schroder, Hannes Pirker, and
          <string-name>
            <given-names>Myriam</given-names>
            <surname>Lamolle</surname>
          </string-name>
          .
          <article-title>First suggestions for an emotion annotation and representation language</article-title>
          .
          <source>In Proceedings of LREC</source>
          , volume
          <volume>6</volume>
          , pages
          <fpage>88</fpage>
          {
          <fpage>92</fpage>
          .
          <string-name>
            <surname>Citeseer</surname>
          </string-name>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <given-names>Carlo</given-names>
            <surname>Strapparava</surname>
          </string-name>
          and
          <string-name>
            <given-names>Alessandro</given-names>
            <surname>Valitutti</surname>
          </string-name>
          .
          <article-title>Wordnet-a ect: an a ective extension of wordnet</article-title>
          .
          <source>In Proceedings of LREC</source>
          , volume
          <volume>4</volume>
          , pages
          <fpage>1083</fpage>
          {
          <fpage>1086</fpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Giovanni</surname>
            <given-names>Tummarello</given-names>
          </string-name>
          , Renaud Delbru, and
          <string-name>
            <given-names>Eyal</given-names>
            <surname>Oren</surname>
          </string-name>
          .
          <article-title>Sindice. com: Weaving the open linked data</article-title>
          .
          <source>In The Semantic Web</source>
          , pages
          <volume>552</volume>
          {
          <fpage>565</fpage>
          . Springer,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Adam</surname>
            <given-names>Westerski</given-names>
          </string-name>
          , Carlos A.
          <string-name>
            <surname>Iglesias</surname>
          </string-name>
          , and Fernando Tapia Rico.
          <article-title>Linked opinions: Describing sentiments on the structured web of data</article-title>
          .
          <source>In 4th international workshop Social Data on the Web (SDoW2011)</source>
          , Bonn, Germany,
          <year>October 2011</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>