<!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>Semantic Web-based Sentiment Analysis</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Diego Reforgiato Recupero</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sergio Consoli</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aldo Gangemi</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Giovanni Nuzzolese</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valentina Presutti</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Daria Spampinato</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science and Engineering, University of Bologna</institution>
          ,
          <addr-line>Mura Anteo Zamboni 7, 40127 Bologna (BO)</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>LIPN, University Paris 13, Sorbone Cit'e, UMR CNRS</institution>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>National Research Council (CNR), Institute of Cognitive Sciences and Technologies, Semantic Technology Laboratory</institution>
          ,
          <addr-line>Via Gaifami 18, 95028 Catania, CT</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>1 The introduction of semantics in Sentiment Analysis research has proved to bring several benefits for what performances are concerned and has allowed to identify new challenging tasks to be accomplished. Semantics helps structuring the plain natural language text with formal representation. The current system we are developing performs sentiment analysis by hybridizing natural language processing techniques with Semantic Web technologies. Our system, called Sentilo, is able to recognize the holder of an opinion, to detect the topics and sub-topics in its scope, and to measure the sentiment expressed by them. This information is formally represented by means of RDF graphs according to an OWL opinion ontology, while holders and topics identity is resolved on the Linked Open Data cloud.</p>
      </abstract>
      <kwd-group>
        <kwd>Sentiment Analysis</kwd>
        <kwd>Sentic Computing</kwd>
        <kwd>Semantic features</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Sentiment Analysis (SA) is one of the hottest problems currently studied in
Natural Language Processing (NLP), and recently it has entered the Semantic Web
world: [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] provides evidence that including semantic features to SA algorithms
improves their performance. However, existing approaches at SA, even those that
include semantic features, are basically supervised and rely on the availability of
manually annotated samples, hence they are usually domain-dependent.
Semantic sentiment analysis can take advantage from linked data, ontologies, controlled
vocabularies, and lexical resources (e.g. DBpedia, YAGO, ConceptNet [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ],
SenticNet [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], Nell [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], OIE [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], etc.), which help aggregating the conceptual and
a↵ective information associated with natural language opinions.
      </p>
      <p>Combining NLP and Semantic Web approaches could provide us with the
flexibility of language processing techniques, as well as with the depth of semantic
1 This work is supported by the project PRISMA SMART CITIES, funded by the
Italian Ministry of Research and Education under the program Programma Operativo
Nazionale
knowledge bases, through which also sentiments that are expressed in a subtle
manner can be detected, as in the case of concepts that do not explicitly convey
any emotion, but which are implicitly linked to other concepts that do so. What is
challenging is the way those techniques can be used and combined to yield highly
performant systems. With semantics, we can expand the current state of the
art in sentiment analysis to track, correlate, and compare sentiment of specific
entities or group of related entities over time and across di↵erent contexts.</p>
      <p>
        Another common aspect of most existing SA methods is that they neglect the
identification of holders and topics of an opinion as a task per se. In fact, they
mainly focus on interpreting the tone of a sentence by identifying terms that
carry a particular sentiment polarity; it has been demonstrated that including
topic detection in models used by algorithms for SA improves their results [
        <xref ref-type="bibr" rid="ref12 ref17 ref2">2,
12, 17</xref>
        ]. However, in such approaches, the SA task melts with the topic detection
task, which is never evaluated separately.
      </p>
      <p>
        Sentilo2 is a semantic SA system introduced in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] that analyses the
sentiment of a sentence: it identifies the holder of an opinion, the topics and sub-topics
of that opinion, the sentiment expressed in each of them by the holder, as well
as the sentiment of the overall sentence. Topics, holders, and sentiments are
represented as RDF graphs compliant to an OWL ontology [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] described in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ],
while topics and holders are resolved on the Linked Open Data cloud in order to
aggregate sentiments expressed on the same topic in di↵erent contexts or from
di↵erent sources.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Analyzing Opinions</title>
      <p>
        Sentilo implementation is inspired by Davidsons view [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]: events and situations
are primary objects for the representation of a domain. Based on this view of the
world, sentences are represented as linked events or situations, with participating
objects. We use DOLCE+DnS [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ] as a vocabulary for events and situations,
and VerbNet [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] as reference for thematic roles of events. Based on this rationale,
we distinguish main topics from sub-topics of an opinion. The distinction between
topics and subtopics, as well as the event- and situation-based representation
of opinions, impacts on the strategy used for computing the sentiment scores
of individual topics and of the whole sentences. To compute sentiment scores
we rely on two resources: Sentic.net [
        <xref ref-type="bibr" rid="ref3 ref5">5, 3</xref>
        ], a publicly available resource that
provides polarized scores of concepts, and SentiWordNet [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], a lexical resource
for opinion mining. Given an entity, identified as a topic of an opinion (either
a main or sub-topic), we compute its sentiment score by combining the scores
of its associated opinion features, which are extracted from the RDF graph
representing the opinionated sentence. If the topic participates in an event or a
situation occurrence, we say that such occurrence provides a context to it, and
a↵ects its sentiment score.
      </p>
      <p>We also want to tackle issues contained in sentences like the following: “John
is happy because President Alvarez was arrested”. For such a sentence, a common
2 http://wit.istc.cnr.it/stlab-tools/sentilo/service
reader would understand a positive emotion for John as he is happy and a
negative event (not opinion as that would depend on the context) for the President
Alvarez as he was arrested. A careful reader however would also consider John
as the holder of a negative opinion for the President Alvarez as John is having a
positive reaction to a bad event happened to President Alvarez. To this aim we
introduce the concepts of Role sensitivity and Factual impact. These concepts
have been the basis for the design of a novel resource of annotated verbs, named
SentiloNet. A role is sensitive with respect to an event (referred to by a verb) if
it is indirectly a↵ected by an opinion directly expressed on the event. As far as
the annotation of a verb (frame) is concerned, the sensitivity is an attribute of
its thematic roles. The value of the sensitivity attribute of a role with respect
to a verb can be either true or false, meaning that the role is sensitive or is not,
respectively. Factual impact indicates that an event (referred to by a verb) has
either a positive or negative impact on a specific role. As far as the annotation
of a verb is concerned, the factual impact is an attribute of its sensitive roles.
The value of this attribute for a role can be positive, negative, meaning that the
inherited opinion will keep its polarity or change it, respectively. The current
version of SentiloNet includes 1,100 annotated verbs. Given the high number of
di↵erent thematic roles of verbs, we have devised a heuristics that allowed us to
manually annotate a good amount of verbs in a rather limited amount of time.
SentiloNet indicates, for 1,100 verbs, the value of sensitivity and factual impact
attributes for each class of roles.</p>
      <p>Sentilo sentiment score scSentilo of a topic t can be defined as a function f
taking the following arguments:</p>
      <p>n m
scSentilo(t) = f (X sc(qi(t)), X sc(typei(t)), truth(t), sc(trig), sc(ctx(t)), mod(t))
i=0 i=0
– sc(x) is the score of x as provided by Sentic.net or SentiWordNet;
– qi is the object value of a triple t dul:hasQuality qi. Such triples represent
the opinion features, i.e. adjectives and adverbs, associated with entities
composing the opinion sentence;
– typei(t) is the type of t expressed in the RDF graph by means of rdf:type
triples;
– truth(t) is a truth value associated with an entity in the graph, typically an
event or situation occurrence, or a quality. If its value is false it means that
the entity is negated. E.g. in a sentence such as “John is not a good guy”,
a RDF triple situation 1 boxing:hasTruthValue fred:False would be
included in the graph, and its e↵ect would be to change the sign of the
sentiment score assigned to the feature good ;
– trig is the opinion trigger verb;
– ctx(t) is the context of t, if any. It can be either a situation or an event to
which t participates in;
– mod(t) is the modality of the verb t, if any. E.g. in a sentence such as I
would like a dog, an RDF relationship fred:like 1 boxing:hasModality
boxing:Necessary would be included.</p>
    </sec>
    <sec id="sec-3">
      <title>Conclusions</title>
      <p>In this paper we have given our view on SA and shown an example with Sentilo, a
semantic SA system that we are currently developing. Sentilo is able to analyses
the sentiment of a sentence, identify holders, topics and subtopics. As future
direction we are designing a sentiment scoring algorithm that takes into account
all the semantics information provided by Sentilo in order to correctly propagate
the scores from topics/sub-topics to situations/events and viceversa.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>S.</given-names>
            <surname>Baccianella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Esuli</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Sebastiani</surname>
          </string-name>
          .
          <article-title>Sentiwordnet 3.0: An enhanced lexical resource for sentiment analysis and opinion mining</article-title>
          .
          <source>In LREC</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>K.</given-names>
            <surname>Cai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. S.</given-names>
            <surname>Spangler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          , and
          <string-name>
            <surname>L. Z.</surname>
          </string-name>
          <year>0007</year>
          .
          <article-title>Leveraging Sentiment Analysis for Topic Detection</article-title>
          .
          <source>Web Intelligence and Agent Systems</source>
          ,
          <volume>8</volume>
          (
          <issue>3</issue>
          ):
          <fpage>291</fpage>
          -
          <lpage>302</lpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>E.</given-names>
            <surname>Cambria</surname>
          </string-name>
          . Senticnet. http://sentic.net, Dec.
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>E.</given-names>
            <surname>Cambria</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Havasi</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Hussain</surname>
          </string-name>
          . SenticNet 2:
          <string-name>
            <given-names>A</given-names>
            <surname>Semantic</surname>
          </string-name>
          and
          <article-title>A↵ective Resource for Opinion Mining</article-title>
          and
          <string-name>
            <given-names>Sentiment</given-names>
            <surname>Analysis. In G. M. Youngblood and P. M. McCarthy</surname>
          </string-name>
          , editors,
          <source>FLAIRS Conference</source>
          , pages
          <fpage>202</fpage>
          -
          <lpage>207</lpage>
          . AAAI Press,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>E.</given-names>
            <surname>Cambria</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Hussain</surname>
          </string-name>
          .
          <article-title>Sentic computing: Techniques, tools, and applications</article-title>
          , volume
          <volume>2</volume>
          . Springer,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>D.</given-names>
            <surname>Davidson</surname>
          </string-name>
          .
          <article-title>The Logical Form of Action Sentences</article-title>
          . In N. Rescher, editor,
          <source>The Logic of Decision and Action</source>
          , pages
          <fpage>81</fpage>
          -
          <lpage>120</lpage>
          . University of Pittsburgh Press,
          <year>1967</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>O. I.</given-names>
            <surname>Extraction</surname>
          </string-name>
          . Artificial intelligence - university of washington. http://ai.cs. washington.edu/projects/open-information-extraction.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          .
          <article-title>What's in a Schema? In C. Huang</article-title>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Calzolari</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lenci</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Oltramari</surname>
          </string-name>
          , and L. Prevot, editors,
          <source>Ontology and the Lexicon</source>
          , pages
          <fpage>144</fpage>
          -
          <lpage>182</lpage>
          . Cambridge University Press,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          . Dolce Ultra Lite Ontology. http://ontologydesignpatterns.org/ ont/dul/DUL.owl, Dec.
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Presutti</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Reforgiato</surname>
          </string-name>
          .
          <article-title>Frame-based detection of opinion holders and topics: A model and a tool</article-title>
          .
          <source>IEEE Computational Intelligence Magazine</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. N.-E. L. Learning. Research project at carnegie mellon university. http://rtw. ml.cmu.edu/rtw/,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>C. Lin</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>He</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Everson</surname>
            , and
            <given-names>S. M.</given-names>
          </string-name>
          <string-name>
            <surname>Ru</surname>
          </string-name>
          <article-title>¨ger. Weakly Supervised Joint SentimentTopic Detection from Text</article-title>
          .
          <source>IEEE Trans. Knowl</source>
          . Data Eng.,
          <volume>24</volume>
          (
          <issue>6</issue>
          ):
          <fpage>1134</fpage>
          -
          <lpage>1145</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13. H. Liu and
          <string-name>
            <given-names>P.</given-names>
            <surname>Singh. ConceptNet: A Practical Commonsense</surname>
          </string-name>
          <article-title>Reasoning Toolkit</article-title>
          .
          <source>BT Technology Journal</source>
          ,
          <volume>22</volume>
          (
          <issue>4</issue>
          ):
          <fpage>211</fpage>
          -
          <lpage>226</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>M.</given-names>
            <surname>Palmer</surname>
          </string-name>
          .
          <article-title>The VerbNet Project</article-title>
          . http://verbs.colorado.edu/~mpalmer/ projects/verbnet.html, Dec.
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>D.</given-names>
            <surname>Reforgiato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. G.</given-names>
            <surname>Nuzzolese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Consoli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V.</given-names>
            <surname>Presutti</surname>
          </string-name>
          . Sentilo. http://wit.istc.cnr.it/stlab-tools/sentilo/service, Dec.
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16. H.
          <string-name>
            <surname>Saif</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>He</surname>
            , and
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Alani</surname>
          </string-name>
          .
          <source>Semantic Sentiment Analysis of Twitter</source>
          . pages
          <fpage>508</fpage>
          -
          <lpage>524</lpage>
          , Boston, UA,
          <year>2012</year>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17. I. Titov and
          <string-name>
            <given-names>R.</given-names>
            <surname>McDonald</surname>
          </string-name>
          .
          <article-title>Modeling Online Reviews with Multi-grain Topic Models</article-title>
          .
          <source>In WWW '08: Proceeding of the 17th international conference on World Wide Web</source>
          , pages
          <fpage>111</fpage>
          -
          <lpage>120</lpage>
          , New York, NY, USA,
          <year>2008</year>
          . ACM.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>