<!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>11th International Workshop on Uncertainty Reasoning for the Semantic Web (URSW 2015)</article-title>
      </title-group>
      <fpage>18</fpage>
      <lpage>59</lpage>
      <kwd-group>
        <kwd>Proceedings</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>collocated with
the 14th International Semantic Web Conference
(ISWC 2015)</p>
    </sec>
    <sec id="sec-2">
      <title>Foreword</title>
      <p>This volume contains the papers presented at the 11th International Workshop
on Uncertainty Reasoning for the Semantic Web (URSW 2015), held as a part of
the 14th International Semantic Web Conference (ISWC 2015) at Bethlehem, USA,
October 12, 2015. 4 technical papers and 2 short papers were accepted at URSW
2015. All the papers were selected in a rigorous reviewing process, where each paper
was reviewed by three program committee members.</p>
      <p>The International Semantic Web Conference is a major international forum for
presenting visionary research on all aspects of the Semantic Web. The International
Workshop on Uncertainty Reasoning for the Semantic Web provides an opportunity
for collaboration and cross-fertilization between the uncertainty reasoning
community and the Semantic Web community.</p>
      <p>We wish to thank all authors who submitted papers and all workshops
participants for fruitful discussions. We would like to thank the program committee
members for their timely expertise in carefully reviewing the submissions.</p>
      <sec id="sec-2-1">
        <title>October 2015 III</title>
      </sec>
      <sec id="sec-2-2">
        <title>Fernando Bobillo</title>
        <p>Rommel N. Carvalho</p>
        <p>Davide Ceolin
Paulo C. G. da Costa
Claudia d'Amato</p>
        <p>Nicola Fanizzi
Kathryn B. Laskey</p>
        <p>Kenneth J. Laskey
Thomas Lukasiewicz</p>
        <p>Trevor Martin
Matthias Nickles</p>
        <p>Michael Pool</p>
        <p>URSW 2015</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Workshop Organization</title>
      <sec id="sec-3-1">
        <title>Organizing Committee</title>
        <sec id="sec-3-1-1">
          <title>Fernando Bobillo (University of Zaragoza, Spain)</title>
          <p>Rommel N. Carvalho (Universidade de Bras lia, Brazil)
Paulo C. G. da Costa (George Mason University, USA)
Davide Ceolin (VU University Amsterdam, The Netherlands)
Claudia d'Amato (University of Bari, Italy)
Nicola Fanizzi (University of Bari, Italy)
Kathryn B. Laskey (George Mason University, USA)
Kenneth J. Laskey (MITRE Corporation, USA)
Thomas Lukasiewicz (University of Oxford, UK)
Trevor Martin (University of Bristol, UK)
Matthias Nickles (National University of Ireland, Ireland)
Michael Pool (Goldman Sachs, USA)</p>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>Program Committee</title>
        <sec id="sec-3-2-1">
          <title>Fernando Bobillo (University of Zaragoza, Spain)</title>
          <p>Rommel N. Carvalho (Universidade de Bras lia, Brazil)
Davide Ceolin (VU University Amsterdam, The Netherlands)
Paulo C. G. da Costa (George Mason University, USA)
Fabio Gagliardi Cozman (Universidade de Sa~o Paulo, Brazil)
Claudia d'Amato (University of Bari, Italy)
Nicola Fanizzi (University of Bari, Italy)
Marcelo Ladeira (Universidade de Bras lia, Brazil)
Kathryn B. Laskey (George Mason University, USA)
Kenneth J. Laskey (MITRE Corporation, USA)
Thomas Lukasiewicz (University of Oxford, UK)
Trevor Martin (University of Bristol, UK)
Alessandra Mileo (DERI Galway, Ireland)
Matthias Nickles (National University of Ireland, Ireland)
Je Z. Pan (University of Aberdeen, UK)
Rafael Pen~aloza (TU Dresden, Germany)
Michael Pool (Goldman Sachs, USA)
Livia Predoiu (University of Mannheim, Germany)
Guilin Qi (Southeast University, China)
David Robertson (University of Edinburgh, UK)
Daniel Sanchez (University of Granada, Spain)
V
Giorgos Stoilos (National Technical University of Athens, Greece)
Umberto Straccia (ISTI-CNR, Italy)
Matthias Thimm (Universitat Koblenz-Landau, Germany)
Peter Vojtas (Charles University Prague, Czech Republic)</p>
          <p>Table of Contents</p>
          <p>URSW 2015 Technical Papers
{ Evaluating Uncertainty in Textual Document</p>
          <p>Fadhela Kerdjoudj and Olivier Cure
{ PR-OWL 2 RL - A Language for Scalable Uncertainty Reasoning on
the Semantic Web
Laecio L. dos Santos, Rommel N. Carvalho, Marcelo Ladeira, Li
Weigang and Gilson L. Mendes
{ E cient Learning of Entity and Predicate Embeddings for Link
Prediction in Knowledge Graphs
Pasquale Minervini, Claudia d'Amato, Nicola Fanizzi and Floriana
Esposito
{ Probabilistic Ontological Data Exchange with Bayesian Networks
Thomas Lukasiewicz, Maria Vanina Martinez, Livia Predoiu and
Gerardo I. Simari</p>
          <p>URSW 2015 Short Papers
{ Re ning Software Quality Prediction with LOD</p>
          <p>Davide Ceolin, Till Dohmen and Joost Visser
{ Reducing the Size of the Optimization Problems in Fuzzy Ontology
Reasoning
Fernando Bobillo and Umberto Straccia
1-13
14-25
26-37
38-49
50-53
54-59
VII</p>
        </sec>
      </sec>
      <sec id="sec-3-3">
        <title>Evaluating Uncertainty in Textual Document</title>
        <sec id="sec-3-3-1">
          <title>Fadhela Kerdjoudj1,2 and Olivier Cur´e1,3</title>
          <p>Abstract. In this work, we consider that a close collaboration between
the research fields of Natural Language Processing and Knowledge
Representation becomes essential to fulfill the vision of the Semantic Web.
This will permit to retrieve information from vast amount of textual
documents present on the Web and to represent these extractions in an
amenable manner for querying and reasoning purposes. In such a
context, uncertain, incomplete and ambiguous information must be handled
properly. In the following, we present a solution that enables to
qualify and quantify the uncertainty of extracted information from linguistic
treatment.
1</p>
          <p>
            Introduction
Textual documents abound on the World Wide Web but efficiently retrieving
information from them is hard due to their natural language expression and
unstructured characteristics. Indeed, the ability to represent, characterize and
manage uncertainty is considered as a key factor for the success of the Semantic
Web [
            <xref ref-type="bibr" rid="ref12 ref35">12</xref>
            ]. The accurate and exhaustive extraction of information and
knowledge is nevertheless needed in many application domains, e.g., in medicine to
comprehend the meaning of clinical reports or in finance to analyze the trends
of markets. We consider that together with techniques from Natural Language
Processing (NLP), best practices encountered in the Semantic Web have the
potential to provide a solution to this problem. For instance, NLP can support
the extraction of named entities as well as temporal and spatial aspects, while
the Semantic Web is able to provide an agreed upon representation as well as
some querying and reasoning facilities. Moreover, by consulting datasets form
Linked Open Data (LOD), e.g., DBpedia, Geonames, we can enrich the extracted
knowledge and integrate it to the rest of the LOD.
          </p>
          <p>The information contained in Web documents can present some imperfection,
it can be incomplete, uncertain and ambiguous. Therefore, the texts content can
be called into question, it becomes necessary to qualify and possibly quantify
these imperfections to present to the end user a trusted extraction. However,
qualification or quantification is a difficult task for any software application. In
this paper, we focus on the uncertainty aspect and trustworthiness of the
provided information in the text. A special attention of our work has been devoted
to representing such information within the Resource Description Framework
(RDF) graph model. The main motivation being to benefit from querying
facilities, i.e., using SPARQL.</p>
          <p>Usually, uncertainty is represented using reification, but this representation failed
in representing uncertainty on triple property. Indeed, the reification does not
identify which part of the triple (subject, predicate or the object) is uncertain.
Here, we intend to manage these cases of uncertainties, as expressed in Example
1, while in the first sentence, the uncertainty concerns all the moving action
(including, the agent, the destination and the date), in the second, the author
expressed an uncertainty only on the date of the moving.</p>
          <p>Example 1. 1. The US president probably visited Cuba this year.
2. The US president visited Cuba, probably this year.</p>
          <p>We based our approach on an existing system developed at
GEOLSemantics4, a french startup with expertise in NLP. This framework mainly consists
of a deep morphosyntactic analysis and an RDF triple creation using trigger’s
detection. Triggers are composed of one or several words (nouns, verbs, etc.)
that represent a semantic unit denoting an entity to extract. For instance, the
verb ”go” denotes a Displacement. The RDF graph obtained complies with an
ontology built manually to support different domains such as Security and
Economics. Actually, our framework consists of a set of existing vocabularies (such
as Schema.org5, FOAF6, Prov7) to enrich our own main ontology, denoted geol.
This ontology contains the general classes which are common to many domains:
– Document : Text, Sentence, Source, DateIssue, PlaceIssue, etc.
– Named entities : Person, Organization, Location, etc.
– Actions : LegalProceeding, Displacing, etc.
– Events : SocialEvent, SportEvent, FamilialEvent, etc.</p>
          <p>The contributions of this paper are two-fold: (1) We present a fine-grained
approach to quantify and qualify the uncertainty in the text based on
uncertainty markers; (2) We present an ontology which handles this uncertainty both
at the resource and property level. This representation of uncertainty can be
interrogated with a rewriting of SPARQL query.</p>
          <p>The paper is organized as follows. Section 2 describes related work to
uncertainty handling in Semantic Web. In Section 3, we present how to spot uncertain
information in the text using specific markers. In Section 4, we propose an
RDFbased representation of uncertainty in knowledge extraction. In Section 5, a use
case is depicted with some SPARQL queries. Finally, we conclude in Section 6.
4 http://www.geolsemantics.com/
5 http://schema.org/docs/schemaorg.owl
6 http://xmlns.com/foaf/spec/
7 http://www.w3.org/TR/prov-o/</p>
          <p>
            Related work
Integration of imprecise and uncertain concepts to ontologies has been studied
for a long time by the Semantic Web community [
            <xref ref-type="bibr" rid="ref13 ref36">13</xref>
            ]. To tackle this problem,
different frameworks have been introduced: Text2Onto [
            <xref ref-type="bibr" rid="ref27 ref4 ref44">4</xref>
            ] for learning ontologies
and handling imprecise and uncertain data, BayesOWL [
            <xref ref-type="bibr" rid="ref30 ref47 ref7">7</xref>
            ] based on Bayesian
Networks for ontologies mapping. In [
            <xref ref-type="bibr" rid="ref29 ref46 ref6">6</xref>
            ], the authors propose a probabilistic
extension for OWL with a Bayesian Network layer for reasoning. Actually, fuzzy
OWL [
            <xref ref-type="bibr" rid="ref2 ref20 ref25 ref42">2, 20</xref>
            ] was proposed to manage, in addition to uncertainty, some other text
imperfection (such as imprecision and vagueness) with the help of fuzzy logics.
Moreover, W3C Uncertainty Reasoning for the World Wide Web Incubator
Group (URW3-XG) [
            <xref ref-type="bibr" rid="ref12 ref35">12</xref>
            ] describes an ontology to annotate uncertain and
imprecise data. This ontology focuses on the representation of the nature, the
model, the type and the derivation of uncertainty. This representation is really
interesting but unfortunately does not show how to link the uncertainty to the
concerned knowledge described in the text.
          </p>
          <p>
            However, in all these works, the uncertainty was considered as a metadata. The
ontologies which handle uncertainty are proposed to either create a fuzzy
knowledge base (fuzzy ABox, fuzzy TBox, fuzzy Rbox) or to associate each class of
the ontology to a super class which denotes the uncertain or fuzzy concept. To
each axiom is associated a truth degree in [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">0,1</xref>
            ]. Therefore, the user is required
to handle two knowledge bases in parallel. The first one is dedicated to certain
knowledge whereas the second is dedicated to uncertain knowledge. This
representation could induce some inconsistencies between the knowledge bases. From
a querying perspective this representation is also not appealing since it forces the
user to query both bases and then combine the results. In order to avoid these
drawbacks, we propose in this paper, a solution to integrate uncertain knowledge
to the rest of the extraction. The idea is to ensure that all extracted knowledge,
either be it certain or uncertain, is managed within the same knowledge base.
This approach aims at ensuring the consistency of the extracted knowledge and
eases its querying.
          </p>
          <p>
            Moreover, it is worth noting that linguistic processing carried out on uncertainty
management notably, Saur`ı[
            <xref ref-type="bibr" rid="ref19">19</xref>
            ] and Rubin [
            <xref ref-type="bibr" rid="ref17 ref40">17</xref>
            ][
            <xref ref-type="bibr" rid="ref18">18</xref>
            ] works, they payed attention
to different modalities and polarity to characterize uncertainty/certainty.
The first one [
            <xref ref-type="bibr" rid="ref19">19</xref>
            ], considers two dimensions. Each event is associated to a factual
value represented as a tuple &lt; mod, pol &gt; where mod denotes modality and
distinguishes among: certain, probable, possible and unknown, pol denotes polarity
values which are positive, negative and unknown.
          </p>
          <p>
            In [
            <xref ref-type="bibr" rid="ref17 ref40">17</xref>
            ][
            <xref ref-type="bibr" rid="ref18">18</xref>
            ] four dimensions have been considered:
– certainty level: absolute, high, moderate or low.
– author perspective: if it is his/her point of view or a reported speech.
– focus: if it is an abstract information (opinion, belief, judgment...) or a
factual one (event, state, fact...).
– time: past, present, future.
This model is more complete even if it does not handle negation. However, the
authors do not explain how to combine all these dimensions to get a final
interpretation to a given uncertainty. In this paper, we explain how to detect uncertainty
in textual document and how to quantify it to get a global interpretation.
3
          </p>
          <p>
            Uncertainty detection in the text
The Web contains a huge number of documents from heterogeneous sources like
forums, blogs, tweets, newspaper or Wikipedia articles. However, these
documents cannot be exploited directly by programs because they are mainly
intended for humans. Before the emergence of the Semantic Web, only human
beings could access the necessary background knowledge to interpret these
documents. In order to get a full interpretation of the text content, it is necessary
to consider the different aspects of the given information. Some piece of
information can be considered as “perfect” only if it contains precise and certain
data. This is rarely the case even for a human reader with some context
knowledge. Indeed, the reliability of the data available on the Web often needs to
be reconsidered, uncertainty, inconsistency, vagueness, ambiguity, imprecision,
incompleteness and others are recurrent problems encountered in data mining.
According to [
            <xref ref-type="bibr" rid="ref32 ref9">9</xref>
            ] the information can be classified into two categories :
subjective and objective. An information is objective or quantitative if it indicates an
observable, i.e., something which is able to be counted for example. The other
category is the subjective (qualitative) information. It can describe the
opinion of the author, he may express his own belief, judgment, assumption, etc.
Therefore, the second one is subject to contain imperfect data. Then, it becomes
necessary to incorporate these imperfections within the representation of the
extracted information.
          </p>
          <p>In this paper, we are interested in the uncertainty aspect. In domains such
as information theory, knowledge extraction and information retrieval, the term
uncertainty refers to the concept of being unsure about something or someone.
It denotes a lack of conviction. Uncertainty is a well studied form of data
imperfection, but it is rarely considered at the knowledge level during extraction
processing. Our approach consists in considering the life cycle of the knowledge
from the data acquisition to the final RDF representation steps, i.e., generating
and persisting the knowledge as triples.</p>
          <p>
            Evaluating uncertainties in text
As previously explained, the text may contain several imperfections which can
affect the trustworthiness of an extracted action or event. So, during the
linguistic processing, we need to pay attention to the modalities of the verb which
indicate how the action or the event had happened, or how it will. Actually,
the text provides information about the epistemic stance of the author, that he
often commits according to his knowledge, singular observation or beliefs [
            <xref ref-type="bibr" rid="ref16 ref39">16</xref>
            ].
Moreover, natural languages offer several ways to express uncertainty, usually
expressed using linguistic qualifiers. According to [
            <xref ref-type="bibr" rid="ref1 ref14 ref24 ref31 ref37 ref41 ref48 ref8">14, 8, 1</xref>
            ] uncertainty qualifiers
can be classified as follows:
– verbal phrases e.g., as likely as, chances are, close to certain, likely, few,
high probability, it could be, it seems, quite possible.
– expression of uncertainty with quantification all, most, many, some, etc.,
– modal verbs e.g., can, may, should.
– adverbs, e.g., roughly, somewhat, mostly, essentially, especially,
exceptionally, often, almost, practically, actually, really.
– speculation verbs e.g., suggest, suppose, suspect, presume.
– nouns e.g., speculation, doubt, proposals.
– expressions e.g., raise the question of, to the best of our knowledge, as far as
          </p>
          <p>I know.</p>
          <p>
            All these markers help to detect and identify the uncertainty with different
intensities. This helps in evaluating the confidence degree associated to the given
information. For example : it may happen is less certain that it will
probably happen. It is also necessary to consider modifiers such as less, more, very.
Depending on the polarity of each modifier we add or subtract a predefined
real number α, set to 0.15 in our experiment, to the given marker’s degree. We
base our approach on a natural language processing. This processing indicates
syntactic and semantic dependencies between words. From these dependencies
we can identify the scope of each identifier in the text. Once these qualifiers are
identified, the uncertainty of the knowledge can be specified and then quantified.
By quantifying, we mean attributing a confidence degree which indicates how
much we can trust the described entity. To this end, we associate to each marker
a probabilistic degree. We defined three levels of certainty: (i) high=0.75, (ii)
moderate=0.50, (iii) low=0.25. Moreover, we also base this uncertainty
quantification on previous works in this field such as [
            <xref ref-type="bibr" rid="ref11 ref26 ref3 ref34 ref43">3, 11</xref>
            ] which define a mapping
between the confidence degree and each uncertainty marker. This mapping is
called Kent’s Chart and Table 1 provides an extract of it.
certain 100
almost certain, believe, evident, little doubt 85-99
fairly certain, likely, should be, appear to be 60-84
have chances 40-59
probably not, fairly uncertain, is not expected 15-39
not believe, doubtful, not evident 1-14
          </p>
          <p>However, uncertainty markers are not the only way to generate uncertainty.
Reported speech and future timeline are also considered as uncertainty sources.
These will be taken into account when the final uncertainty weight will be
calculated. We notice that the trust of the reported speech depends of different
parameters which affect the trust granted to its content:
– the author of the declaration: if the author name is cited, if the author has
an official role (prosecutor, president...).
– the nature of the declaration: if it is an official declaration, a personal opinion,
a rumor...</p>
          <p>Example 2. A crook who burglarized homes and crashed a stolen car remains on
the loose, but he probably left Old Saybrook by now, police said Thursday.
In Example 2, we can identify two forms of uncertainty. First, the author
explicitly expresses, using the term (probably), an uncertainty about the fact that
the crook left the city. The second one is related to the reported speech which
comes from the police and is not assumed to be a known fact.</p>
          <p>Therefore, for a given information described in the text, many sources of
uncertainty can occur, then, it is necessary to combine all these uncertainties in order
to get a final confidence degree to be attributed to the extracted information.
With regard to this issue, we chose a Bayesian approach to combine all
uncertainties to the concerned information. Indeed Bayesian network are well suited
to our knowledge graph which is a directed acyclic graph. This choice is also
motivated by the dependency that exists between children of uncertainty nodes.
Indeed, to calculate the final degree of uncertain information, we need to
consider its parents, if they contain uncertainty, then the conditional probabitlity
related to this parent is reverberated on the child.
4</p>
          <p>
            RDF representation of uncertainty
In order to extract complete and relevant knowledge, we consider the uncertainty
as an integral part of the knowledge instead of integrating it as an annotation.
Usually, uncertainty is added as assertions to triples (the uncertainty assigned
to each extracted knowledge). So, we represent it with some reification as
recommended by [
            <xref ref-type="bibr" rid="ref28 ref45 ref5">5</xref>
            ]. Nevertheless, we encountered some difficulties to represent
uncertainty on triples’ predicates, as opposed to the whole triple. In the second
sentence of Example 1, the uncertainty does not concern the whole moving but
only its date. Only one part of the event is uncertain and the RDF representation
has to take this into account. In fact, we cannot indicate using reification which
part of the triple is uncertain, as shown in Figure 1, with reification, we give the
same representation to both sentences in Example 1 even if they express different
information. Indeed, reified statements cannot be used in semantic inferences,
and are not asserted as part of the underlying knowledge base [
            <xref ref-type="bibr" rid="ref21">21</xref>
            ]. The reified
statement and the triple itself are considered as different statements. So, due to
its particular syntax (rdf:Statement) the reified triple can hardly be related to
other triples in the knowledge base [
            <xref ref-type="bibr" rid="ref15 ref38">15</xref>
            ]. Moreover, using blank node to identify
the uncertain statement prevents from obtaining good performance [
            <xref ref-type="bibr" rid="ref10 ref33">10</xref>
            ]. Indeed,
writing queries over RDF data sets involving reification becomes inconvenient.
Especially, for one to refer to a reified triple, we need to use four additional
triples linked by a blank node.
          </p>
          <p>To deal with previous issues, we propose the UncertaintyOntology ontology
which contains a concept (Uncertainty), a datatype property (weight which
have Uncertainty as its domain and real values as range) and object properties
(isUncertain and hasUncertainProp which respectively denote an uncertain
individual (Uncertainty as domain and owl:Thing as range) and an
uncertain property of a given individual (Uncertainty as Domain and owl:Thing as
Range). This ontology can easily be integrated with our geol ontology or with
any other ontology requiring some support for uncertainty.</p>
          <p>This ontology (UncertaintyOntology ) handles uncertainty occurring on each
level of the triple. If the uncertainty concerns the resource, which denotes a
subject or an object triple, so the property isUncertain is employed. If the triple’s
predicate is uncertain then we use hasUncertainProp to indicate the uncertainty.
UncertainOntology is domain independent, it can be added to any other ontology
since we assume that uncertainty occurs on each part of the sentence in a text.</p>
          <p>To illustrate this representation, we provide in Figure 2, the RDF
representation of Example 1’s sentences. In the first sentence (on the left side), the
uncertainty concerns the following triples :
:id1Transfer, displaced, :id1USPresident.
:id1Transfer, locEnd, :id1Cuba.
:id1Transfer, onDate, :id1ThisYear.
As we based on Bayesian approach, all these triples have an uncertainty of 0.7,
expressed using the uncertainty marker probably.</p>
          <p>Whereas, in the second sentence, the uncertainty concerns only the property
onDate, so, the triple :id1Transfer, onDate, :id1ThisYear. is uncertain.</p>
          <p>Finally, we conclude that using this RDF representation, we identify three
different cases of triple uncertainty. Figure 4 shows the representation of different
patterns of uncertainty in RDF triples. Pattern 1 describes uncertainty on the
object of the triple. Pattern 2 describes uncertainty on the subject and finally,
pattern 3, uncertainty on the property.</p>
          <p>This representation of uncertainty is more compact than reification and
improves user understanding regarding the RDF graph.</p>
          <p>SPARQL Querying with uncertainty
The goal of our system is to enable end-users to query the extracted information.
These queries take into account the presence of uncertainties by going through
a rewriting. Our system discovers if such a rewriting is necessary by executing
the following queries. First, we list all uncertain properties, using the query in
Listing 1.1. The result is a set of triples (s,p,o) where p is an uncertain property.
PREFIX gs :&lt; http :// www . geolsemantics . com / onto #&gt;
Select ?s ? prop ?o
Where {
?s gs : hasUncertainProp ?u.
?u gs : weight ? weight .</p>
          <p>?u ? prop ?o.
}</p>
          <p>Listing 1.1. SPARQL query Select uncertain properties
Then, we check if the predicates of each triple in the entry query appear in the
result set. If so, we rewrite the query by adding the uncertainty on the given
predicate using the pattern query in Listing1.2. Finally, we inspect the query
PREFIX gs :&lt; http :// www . geolsemantics . com / onto #&gt;
Select ?p ? weight
Where {...</p>
          <p>?u gs : isUncertain ?p.</p>
          <p>?u gs : weight ? weight .
...}</p>
          <p>Listing 1.2. SPARQL query Select uncertain resources
result set of the rewritten query, in order to check if an uncertainty occurs on
each resource (subject and/or object) extracted.</p>
          <p>Furthermore, if a user wants to know the list of uncertainties in a given
text, the query in Listing 1.3 is used to extract all uncertain data explicitly
expressed. We consider that each linguistic extraction is represented according
to the schema presented in Section 4. Our goal is now to provide a query
interface to the end-user and to qualify the uncertainty associated to each query
answer. Of course, the uncertain values that we are associating with the
different distinguished variables of a query are directly emerging from the ones we are
representing in our graph and which has been described in Section 4. Our system
accepts any SPARQL 1.0 queries from the end-user. For testing reasons, we also
have defined a set of relevant predefined queries, e.g., the query in Example 3.
PREFIX gs :&lt; http :// www . geolsemantics . com / onto #&gt;
PREFIX rdf :&lt; http :// www . w3 . org /1999/02/22 - rdf - syntax - ns #&gt;
PREFIX v:&lt; http :// www . w3 . org /2006/ vcard / ns #&gt;
SELECT distinct ? concept_uncertain ? obj ? weight
WHERE {
{
?u a gs : Uncertainty .
?u gs : isUncertain ? concept_uncertain .
?u gs : weight ? weight
? u2 a gs : Uncertainty .
? u2 gs : weight ? weight .
?s ? hasUncertainProp ? u2 .
? u2 ? prop ? obj .}</p>
          <p>Listing 1.3. SPARQL query : Select all uncertainties in the text
Example 3. Let us consider the query in Listing 1.4.</p>
          <p>PREFIX gs :&lt; http :// www . geolsemantics . com / onto #&gt;
PREFIX rdf :&lt; http :// www . w3 . org /1999/02/22 - rdf - syntax - ns #&gt;
PREFIX v:&lt; http :// www . w3 . org /2006/ vcard / ns #&gt;
Select ? date
Where {
?t gs : displaced ?p.
?p gs : role " president ".
?t gs : locEnd ?l.
?l v: location - name " Cuba ".</p>
          <p>?t gs : onDate ? date .</p>
          <p>Listing 1.4. SPARQL query : When did the president go to Cuba?</p>
          <p>In order to make query submission easier for the end-user, we do not impose
the definition of the triple patterns associated to uncertainty handling. Hence,
the end-user just submits a SPARQL query without caring where the
uncertainties are. Considering query processing, this implies to reformulate the query
before its execution, i.e., to complete the query such that its basic graph pattern
is satisfiable in the face of triples using elements of our uncertain ontology.</p>
          <p>We can easily understand that a naive reformulation implies a combinatorial
explosion. This has direct impact on the efficiency of the query result set
computation. This can be prevented by rapidly identifying the triple patterns of a
query that are subject to some uncertainty. In fact, since our graphs can only
represent uncertainty using one of the three patterns presented in Figure 4, we
PREFIX gs :&lt; http :// www . geolsemantics . com / onto #&gt;
PREFIX rdf :&lt; http :// www . w3 . org /1999/02/22 - rdf - syntax - ns #&gt;
PREFIX v:&lt; http :// www . w3 . org /2006/ vcard / ns #&gt;
Select ? date ?w
Where {{
?t gs : displaced ?p.
?p gs : role " president ".
?t gs : locEnd ?l.
?l v: location - name " Cuba ".
?t gs : onDate ? date .
?t gs : displaced ?p.
?p gs : role " president ".
?t gs : locEnd ?l.
?l v: location - name " Cuba ".
?t gs ; hasUncertainProp ?u.
?u gs : onDate ? date .</p>
          <p>?u gs : weight ?w.</p>
          <p>Listing 1.5. Uncertainty query : When did the president go to Cuba?
can go through a pre-processing step that indexes these triples. To do so, we
use a set of SPARQL queries (see Listing 1.1 and 1.2 which respectively retrieve
the properties and subject with their weights). These values are stored in hash
tables for fast access.</p>
          <p>Therefore, Listing 1.5 corresponds to the rewriting of Listing 1.4. We
introduced the uncertainty option and obtained the following results :
Sentence Result Uncertainty Uncertainty Detail
(1) ?date = “20150101-20151231” 0.7 On the subject
(2) ?date = “20150101-20151231” 0.7 On the predicate
6</p>
          <p>Conclusion and Perspectives
In this article, we addressed the quantification and qualification of uncertain
and ambiguous information extracted from textual documents. Our approach
is based on a collaboration between Natural Language Processing and
Semantic Web technologies. The output of our different processing units takes the
form of a compact RDF graph which can be queried with SPARQL queries and
reasoned over using ontology based inferences. However, some issues are still
unresolved, even for the linguistic community, such as: distinguish between deontic
and epistemic meaning. Example: “He can practice sport.” One can interpret
this information as a permission and an other as an ability or a certainty.
This work mainly concerns the uncertainty expressed in the text, for future work
we intend to consider the trust guaranteed to the source of the text. Indeed, the
source can influence the trustworthiness and the reliability of the declared
information. Moreover, we plan to consider additional aspects of the information,
such as polarity.
Probabilistic Ontological Data Exchange</p>
          <p>with Bayesian Networks
Thomas Lukasiewicz1, Maria Vanina Martinez3,</p>
          <p>
            Livia Predoiu12, and Gerardo I. Simari3
Abstract. We study the problem of exchanging probabilistic data between
ontology-based probabilistic databases. The probabilities of the probabilistic source
databases are compactly encoded via Boolean formulas with the variables
adhering to the dependencies imposed by a Bayesian network, which are closely
related to the management of provenance. For the ontologies and the ontology
mappings, we consider different kinds of existential rules from the Datalog+/–
family. We provide a complete picture of the computational complexity of the
problem of deciding whether there exists a probabilistic (universal) solution for
a given probabilistic source database relative to a (probabilistic) ontological data
exchange problem. We also analyze the complexity of answering UCQs (unions
of conjunctive queries) in this framework.
1
Large volumes of uncertain data are best modeled, stored, and processed in
probabilistic databases [
            <xref ref-type="bibr" rid="ref22">22</xref>
            ]. Enriching databases with terminological knowledge encoded in
ontologies has recently gained increasing importance in the form of ontology-based data
access (OBDA) [
            <xref ref-type="bibr" rid="ref21">21</xref>
            ]. A crucial problem in OBDA is to integrate and exchange
knowledge. Not only in the context of OBDA, but also in the area of the Semantic Web, there
are distributed ontologies that we may have to map and integrate to enable query
answering over them. Here, apart from the uncertainty attached to source databases, there
may also be uncertainty regarding the ontology mappings establishing the proper
correspondence between items in the source ontology and items in the target ontology. This
especially happens when the mappings are created automatically.
          </p>
          <p>
            Data exchange [
            <xref ref-type="bibr" rid="ref11 ref34">11</xref>
            ] is an important theoretical framework used for studying
datainteroperability tasks that require data to be transferred from existing databases to a
target database that comes with its own (independently created) schema and schema
constraints. The expressivity of the data exchange framework goes beyond the
classical data integration framework [
            <xref ref-type="bibr" rid="ref17 ref40">17</xref>
            ]. For the translation, schema mappings are used,
which are declarative specifications that describe the relationship between two database
schemas. In classical data exchange, we have a source database, a target database, a
deterministic mapping, and deterministic target dependencies. Recently, a framework for
probabilistic data exchange [
            <xref ref-type="bibr" rid="ref10 ref33">10</xref>
            ] has been proposed where the classical data exchange
framework based on weakly acyclic existential rules has been extended to consider a
probabilistic source database and a probabilistic source-to-target mapping.
          </p>
          <p>
            In this paper, we study an expressive extension of the probabilistic data exchange
framework in [
            <xref ref-type="bibr" rid="ref10 ref33">10</xref>
            ], where the source and the target are ontological knowledge bases,
each consisting of a probabilistic database and a deterministic ontology describing
terminological knowledge about the data stored in the database. The two ontologies
and the mapping between them are expressed via existential rules. Our extension of
the data exchange framework is strongly related to exchanging data between
incomplete databases, as proposed in [
            <xref ref-type="bibr" rid="ref26 ref3 ref43">3</xref>
            ], which considers an incomplete deterministic source
database in the data exchange problem. However, in that work, the databases are
deterministic, and the mappings and the target database constraints are full existential rules
only. In our complexity analysis in this paper, we consider a host of different classes
of existential rules, including some subclasses of full existential rules. In addition, our
source is a probabilistic database relative to an underlying ontology.
          </p>
          <p>
            Our work in this paper is also related to the recently proposed knowledge base
exchange framework [
            <xref ref-type="bibr" rid="ref1 ref2 ref24 ref25 ref41 ref42">2, 1</xref>
            ], which allows knowledge to be exchanged between
deterministic DL-LiteRDF S and DL-LiteR ontologies. In this paper, besides considering
probabilistic source databases, we are also using more expressive ontology languages, since
already linear existential rules from the Datalog+/– family are strictly more expressive
than the description logics (DLs) DL-LiteX of the DL-Lite family [
            <xref ref-type="bibr" rid="ref32 ref9">9</xref>
            ] as well as their
extensions with n-ary relations DLR-LiteX . Guarded existential rules are sufficiently
expressive to model the tractable DL E L [
            <xref ref-type="bibr" rid="ref27 ref28 ref4 ref44 ref45 ref5">4, 5</xref>
            ] (and E LIf [
            <xref ref-type="bibr" rid="ref16 ref39">16</xref>
            ]). Note that existential rules
are also known as tuple-generating dependencies (TGDs) and Datalog+/– rules [
            <xref ref-type="bibr" rid="ref30 ref47 ref7">7</xref>
            ].
The main contributions of this paper are summarized as follows.
− We introduce deterministic and probabilistic ontological data exchange problems,
where probabilistic knowledge is exchanged between two Bayesian network-based
probabilistic databases relative to their underlying deterministic ontologies, and the
deterministic and probabilistic mapping between the two ontologies is defined via
deterministic and probabilistic existential mapping rules, respectively.
− We provide an in-depth analysis of the data and combined complexity of deciding the
existence of probabilistic (universal) solutions and obtain a (fairly) complete picture of
the data complexity, general combined complexity, bounded-arity (ba) combined, and
fixed-program combined (fp) complexity for the main sublanguages of the Datalog+/–
family. We also delineate some tractable special cases, and provide complexity results
for exact UCQ (union of conjunctive queries) answering.
− For the complexity analysis, we consider a compact encoding of probabilistic source
databases and mappings, which is used in the area of both incomplete and probabilistic
databases, and also known as data provenance or data lineage [
            <xref ref-type="bibr" rid="ref12 ref13 ref14 ref22 ref35 ref36 ref37">14, 12, 13, 22</xref>
            ]. Here,
we consider data provenance for probabilistic data that is structured according to an
underlying Bayesian network.
2
          </p>
          <p>Preliminaries
We assume infinite sets of constants C, (labeled) nulls N, and regular variables V.
A term t is a constant, null, or variable. An atom has the form p(t1, . . . , tn), where p is
an n-ary predicate, and t1, . . . , tn are terms. Conjunctions of atoms are often identified
with the sets of their atoms. An instance I is a (possibly infinite) set of atoms p(t),
where t is a tuple of constants and nulls. A database D is a finite instance that contains
only constants. A homomorphism is a substitution h : C ∪ N ∪ V → C ∪ N ∪ V that is
the identity on C. We assume familiarity with conjunctive queries (CQs). The answer
to a CQ q over an instance I is denoted q(I). A Boolean CQ (BCQ) q evaluates to true
over I, denoted I |= q, if q(I) 6= ∅.</p>
          <p>A tuple-generating dependency (TGD) σ is a first-order formula ∀X ϕ(X) →
∃Y p(X, Y), where X ∪ Y ⊆ V, ϕ(X) is a conjunction of atoms, and p(X, Y) is
an atom. We call ϕ(X) the body of σ, denoted body (σ), and p(X, Y) the head of σ,
denoted head (σ). We consider only TGDs with a single atom in the head, but our results
can be extended to TGDs with a conjunction of atoms in the head. An instance I
satisfies σ, written I |= σ, if the following holds: whenever there exists a homomorphism h
such that h(ϕ(X)) ⊆ I, then there exists h0 ⊇ h|X, where h|X is the restriction of h
to X, such that h0(p(X, Y)) ∈ I. A negative constraint (NC) ν is a first-order formula
∀X ϕ(X) → ⊥, where X ⊆ V, ϕ(X) is a conjunction of atoms, called the body of ν,
denoted body (ν), and ⊥ denotes the truth constant false. An instance I satisfies ν,
denoted I |= ν, if there is no homomorphism h such that h(ϕ(X)) ⊆ I. Given a set Σ of
TGDs and NCs, I satisfies Σ, denoted I |= Σ, if I satisfies each TGD and NC of Σ.
For brevity, we omit the universal quantifiers in front of TGDs and NCs.</p>
          <p>
            Given a database D and a set Σ of TGDs and NCs, the answers that we consider are
those that are true in all models of D and Σ. Formally, the models of D and Σ, denoted
mods(D, Σ), is the set of instances {I | I ⊇ D and I |= Σ}. The answer to a CQ q
relative to D and Σ is defined as the set of tuplesans(q, D, Σ) = TI∈mods(D,Σ){t | t ∈
q(I)}. The answer to a BCQ q is true, denoted D ∪ Σ |= q, if ans(q, D, Σ) 6= ∅.
The problem of CQ answering is defined as follows: given a database D, a set Σ of
TGDs and NCs, a CQ q, and a tuple of constants t, decide whether t ∈ ans(q, D, Σ).
Following Vardi’s taxonomy [
            <xref ref-type="bibr" rid="ref23">23</xref>
            ], the combined complexity of BCQ answering is
calculated by considering all the components, i.e., the database, the set of dependencies,
and the query, as part of the input. The bounded-arity combined complexity (or
simply ba-combined complexity) is calculated by assuming that the arity of the underlying
schema is bounded by an integer constant. Notice that in the context of description
logics (DLs), whenever we refer to the combined complexity in fact we refer to the
ba-combined complexity since, by definition, the arity of the underlying schema is at
most two. The fixed-program combined complexity (or simply fp-combined complexity)
is calculated by considering the set of TGDs and NCs as fixed.
3
In this section, we define the notions ofdeterministic and probabilistic ontological data
exchange. The source (resp., target) of the deterministic/probabilistic ontological data
exchange problems that we consider in this paper is a probabilistic database (resp.,
probabilistic instance), each relative to a deterministic ontology. Here, a probabilistic
database (resp., probabilistic instance) over a schema S is a probability space P r =
(I, μ) such that I is the set of all (possibly infinitely many) databases (resp., instances)
over S, and μ : I → [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">0, 1</xref>
            ] is a function that satisfiesPI∈I μ(I) = 1.
3.1
Ontological data exchange formalizes data exchange from a probabilistic database
relative to a source ontology Σs (consisting of TGDs and NCs) over a schema S to a
probabilistic target instance Prt relative to a target ontology Σt (consisting of a set of
TGDs and NCs) over a schema T via a (source-to-target) mapping (also consisting of a
set of TGDs and NCs). More specifically, anontological data exchange (ODE) problem
M= (S, T, Σs, Σt, Σst) consists of (i) a source schema S, (ii) a target schema T disjoint
from S, (iii) a finite setΣs of TGDs and NCs over S (called source ontology), (iv) a
finite set Σt of TGDs and NCs over T (called target ontology), and (v) a finite setΣst of
TGDs and NCs σ over S ∪ T (called (source-to-target) mapping) such that body(σ) and
head(σ) are defined overS ∪ T and T, respectively.
          </p>
          <p>Ontological data exchange with deterministic databases is based on defining a
target instance J over T as being a solution for a deterministic source database I over S
relative to an ODE problem M = (S, T, Σs, Σt, Σst), if (I ∪ J ) |= Σs ∪ Σt ∪ Σst. We
denote by SolM the set of all such pairs (I, J ). Among the possible deterministic
solutions J to a deterministic source database I relative to M in SolM, we prefer universal
solutions, which are the most general ones carrying only the necessary information for
data exchange, i.e., those that transfer only the source database along with the relevant
implicit derivations via Σs to the target ontology. A universal solution can be
homomorphically mapped to all other solutions leaving the constants unchanged. Hence, a
deterministic target instance J over S is a universal solution for a deterministic source
database I over T relative to a schema mapping M, if (i) J is a solution, and (ii) for
each solution J 0 for I relative to M, there is a homomorphism h : J → J 0. We denote
by USol M (⊆ SolM) the set of all pairs (I, J ) of deterministic source databases I and
target instances J such that J is a universal solution for I relative to M.</p>
          <p>When considering probabilistic databases and instances, a joint probability space Pr
over the solution relation SolM and the universal solution relation USolM must exist.
More specifically, a probabilistic target instancePrt = (J , μt) is a probabilistic solution
(resp., probabilistic universal solution) for a probabilistic source database Prs = (I, μs)
relative to an ODE problem M = (S, T, Σs, Σt, Σst), if there exists a probability space
Pr = (I × J , μ) such that (i) the left and right marginals of Pr are Prs and Prt,
respectively, i.e., (i.a) μs(I) = PJ∈J μ(I, J ) for all I ∈ I, (i.b) μt(J ) = P μ(I, J ) for
all J ∈ J ; and (ii) μ(I, J ) = 0 for all (I, J ) 6∈ SolM (resp., (I, J ) 6∈ USoIl∈MI ). Note that
this intuitively says that all non-solutions (I, J ) have probability zero and the existence
of a solution does not exclude that some source databases with probability zero have no
corresponding target instance.</p>
          <p>Example 1. An ontological data exchange (ODE) problem M = (S, T, Σs, Σt, Σst)
is given by the source schema S = {Researcher/2, ResearchArea/2, Publication/3}
(the number after each predicate denotes its arity), the target schema T =
{UResearchArea/3, Lecturer/2}, the source ontology Σs = {σs, νs}, the target ontology Σt =
{σt, νt}, and the mapping Σst = {σst, νm}, where:
σs : Publication(X, Y, Z) → ResearchArea(X, Y),
νs : Researcher(X, Y) ∧ ResearchArea(X, Y) → ⊥,
σt : UResearchArea(U, D, T) → ∃Z Lecturer(T, Z),
νt : Lecturer(X, Y) ∧ Lecturer(Y, X) → ⊥,</p>
          <p>Possible source database facts
ra Researcher(Alice, UnivOx)
rp Researcher(Paul, UnivOx)
paml Publication(Alice, ML, JMLR)
padb Publication(Alice, DB, TODS)
ppdb Publication(Paul, DB, TODS)
ppai Publication(Paul, AI, AIJ)
Probabilistic source database Prs = (I, μs)
I1 = {ra,rp,paml,ppdb,aaml,apdb} 0.5
I2 = {ra,rp,paml,ppai,aaml,apai} 0.2
I3 = {ra,rp,padb,ppai,aadb,apai} 0.15
I4 = {ra,rp,padb,ppdb,aadb,apdb} 0.075
I5 = {ra,padb,aadb} 0.075</p>
          <p>Derived source database facts
aaml ResearchArea(Alice, ML)
aadb ResearchArea(Alice, DB)
apdb ResearchArea(Paul, DB)
apai ResearchArea(Paul, AI)</p>
          <p>Possible target instance facts
uml UResearchArea(UnivOx, N1, ML)
uai UResearchArea(UnivOx, N2, AI)
udb UResearchArea(UnivOx, N3, DB)
lml Lecturer(ML, N4)
lai Lecturer(AI, N5)
ldb Lecturer(DB, N6)
Probabilistic target instance Prt1 = (J1, μt1 ) Probabilistic target instance Prt2 = (J2, μt2 )
JJJ213 === {{{uuuammill,,,uuudadbib,,,lllammil,l,l,ldladbib}}} 000...2515 JJ56 == {{uummll,,uudaib,,llmmll,,lladib}} 00..515</p>
          <p>J4 = {udb,ldb} 0.15 J7 = {uml,uai,udb,lml,lai,ldb} 0.35
(N1, . . . , N6 are nulls); both are probabilistic solutions, but only Prt1 is universal.</p>
          <p>Fig. 1. Probabilistic universal solution Prt1 .</p>
          <p>Fig. 2. Probabilistic solution Prt2 .
νst : ResearchArea(N, T) ∧ UResearchArea(U, T, N) → ⊥.</p>
          <p>σst : ResearchArea(N, T) ∧ Researcher(N, U) → ∃D UResearchArea(U, D, T),
Given the probabilistic source database in Table 1, two probabilistic instances Prt1 =
(J1, μt1 ) and Prt2 = (J2, μt2 ) that are probabilistic solutions are shown in Table 1.
Note that only Prt1 is also a probabilistic universal solution. Note also that Figures 1
and 2 show the probability spaces over Prt1 and Prt2 , respectively.</p>
          <p>Query answering in ontological data exchange is performed over the target ontology
and is generalized from deterministic data exchange. A union of conjunctive queries (or
UCQ) has the form q(X) = Wk</p>
          <p>i=1 ∃Yi Φi(X, Yi, Ci), where each ∃Yi Φi(X, Yi, Ci)
with i ∈ {1, . . . , k} is a CQ with exactly the variables X and Yi, and the constants
Ci. Given an ODE problem M = (S, T, Σs, Σt, Σst), probabilistic source database
Prs = (I, μs), UCQ q(X) = Wk</p>
          <p>i=1 ∃Yi Φi(X, Yi, Ci), and tuple t (a ground instance
of X in q) over C, the confidence of t relative to q, denoted conf q(t), in Prs relative to
M is the infimum ofPrt(q(t)) subject to all probabilistic solutions Prt for Prs relative
to M. Here, Prt(q(t)) for Prt = (J , μt) is the sum of all μt(J ) such that q(t) evaluates
to true in the instance J ∈ J (i.e., some BCQ ∃Yi Φi(t, Yi, Ci) with i ∈ {1, . . . , k}
evaluates to true in J ).</p>
          <p>
            Example 2. Consider again the setting of Example 1, and let q be a UCQ of a
student who wants to know whether she can study either machine learning or artificial
intelligence at the University of Oxford: q() = ∃X, Z(Lecturer(AI, X) ∧
UResearchArea(UnivOx, Z, AI)) ∨ ∃X, Z(Lecturer(ML, X) ∧ UResearchArea(UnivOx, Z, ML)).
Then, q yields the probabilities 0.85 and 1 on Prt1 and Prt2 , respectively.
Probabilistic ontological data exchange extends deterministic ontological data exchange
by turning the deterministic source-to-target mapping into a probabilistic
source-totarget mapping, i.e., we have a probability distribution over the set of all subsets of Σst.
More specifically, a probabilistic ontological data exchange (PODE) problem M =
(S, T, Σs, Σt, Σst, μst) consists of (i) a source schema S, (ii) a target schema T
disjoint from S, (iii) a finite set Σs of TGDs and NCs over S (called source ontology),
(iv) a finite set Σt of TGDs and NCs over T (called target ontology), (v) a finite set
Σst of TGDs and NCs σ over S ∪ T, and (vi) a function μst : 2Σst → [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">0, 1</xref>
            ] such that
PΣ0⊆Σst μst(Σ0) = 1 (called probabilistic (source-to-target) mapping).
          </p>
          <p>A probabilistic target instance Prt = (J , μt) is a probabilistic solution (resp.,
probabilistic universal solution) for a probabilistic source database Prs = (I, μs) relative to
a PODE problem M = (S, T, Σs, Σt, Σst, μst), if there exists a probability space Pr =
= (I ×J ×2Σst , μ) such that: (i) the three marginals of μ are μs, μt, and μst, such that:
(i.a) μs(I) = PJ∈J , Σ0⊆Σst μ(I, J, Σ0) for all I ∈ I, (i.b) μt(J ) = PI∈I, Σ0⊆Σst μ(I,
J, Σ0) for all J ∈ J , and (i.c) μst(Σ0) = PI∈I, J∈J μ(I, J, Σ0) for all Σ0 ⊆ Σst; and
(ii) μ(I, J, Σ0) = 0 for all (I, J ) 6∈ Sol (S,T,Σ0) (resp., (I, J ) 6∈ USol (S,T,Σ0)).</p>
          <p>Using probabilistic (universal) solutions for probabilistic source databases relative
to PODE problems, the semantics of UCQs is lifted to PODE problems as follows.
Given a PODE problem M = (S, T, Σs, Σt, Σst, μst), a probabilistic source database
Prs = (I, μs), a UCQ q(X) = Wik=1 ∃Yi Φi(X, Yi, Ci), and a tuple t (a ground
instance of X in q) over C, the confidence of t relative to q, denoted conf q(t), in Prs
relative to M is the infimum ofPrt(q(t)) subject to all probabilistic solutions Prt for Prs
relative to M. Here, Prt(q(t)) for Prt = (J , μt) is the sum of all μt(J ) such that q(t)
evaluates to true in the instance J ∈ J .
We use a compact encoding of both probabilistic databases and probabilistic
mappings, which is based on annotating facts, TGDs, and NCs by probabilistic events in
a Bayesian network, rather than explicitly specifying the whole probability space.</p>
          <p>We first define annotations and annotated atoms. Lete1, . . . , en be n ≥ 1
elementary events. A world w is a conjunction `1 ∧· · ·∧`n, where each `i, i ∈ {1, . . . , n}, is
either the elementary event ei or its negation ¬ei. An annotation λ is any Boolean
combination of elementary events (i.e., all elementary events are annotations, and if λ1 and λ2</p>
          <p>Possible source database facts Annotation
ra Researcher(Alice, UnivOx) true
rp Researcher(Paul, UnivOx) e1∨ e2∨ e3∨ e4
paml Publication(Alice, ML, JMLR) e1∨ e2
padb Publication(Alice, DB, TODS) ¬ e1 ∧ ¬ e2
ppdb Publication(Paul, DB, TODS) e1∨ (¬ e2 ∧ ¬ e3∧ e4)
ppai Publication(Paul, AI, AIJ) (¬ e1∧ e2) ∨ (¬ e1∧ e3)
are annotations, then also ¬λ1 and λ1 ∧ λ2). An annotated atom has the form a : λ,
where a is an atom, and λ is an annotation.</p>
          <p>
            The compact encoding of probabilistic databases can then be defined as follows.
Note that this encoding is also underlying our complexity analysis in Section 4. A set A
of annotated atoms along with a probability μ(w) ∈ [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">0, 1</xref>
            ] for every world w compactly
encodes a probabilistic database P r = (I, μ) whenever: (i) the probability μ of
every annotation λ is the sum of the probabilities of all worlds in which λ is true, and
(ii) the probability μ of every subset-maximal database {a1, . . . , am} ∈ I 4 such that
{a1 : λ1, . . . , am : λm} ⊆ A for some annotations λ1, . . . , λm is the probability μ of
λ1 ∧ · · · ∧ λm (and the probability μ of every other database in I is 0).
          </p>
          <p>We assume that the probability distributions for the underlying events are given by
a Bayesian network, which is usually used for compactly specifying a joint probability
space, encoding also a certain causal structure between the variables. The following
example in Tables 2 and 3 illustrates the compact encoding of probabilistic source
databases via Boolean annotations relative to an underlying Bayesian network.</p>
          <p>
            If the mapping is probabilistic as well, then we use two disjoint sets of elementary
events, one for encoding the probabilistic source database and the other one for the
mapping. In this way, the probabilistic source database is independent from the
probabilistic mapping. We now define the compact encoding of probabilistic mappings. An
annotated TGD (resp., NC) has the form σ : λ, where σ is a TGD (resp., NC), and λ
is an annotation. A set Σ of annotated TGDs and NCs σ : λ with σ ∈ Σst along with
a probability μ(w) ∈ [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">0, 1</xref>
            ] for every world w compactly encodes a probabilistic
mappings μst : 2Σst → [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">0, 1</xref>
            ] whenever (i) the probability μ of every annotation λ is the sum
of the probabilities of all worlds in which λ is true, and (ii) the probability μst of every
4 That is, we do not consider subsets of the databases here.
subset-maximal {σ1, . . . , σk} ⊆ Σst such that {σ1 : λ1, . . . , σk : λk} ⊆ Σ for some
annotations λ1, . . . , λk is the probability μ of λ1 ∧ · · · ∧ λk (and the probability μst of
every other subset of Σst is 0).
3.4
We consider the following computational problems:
Existence of a solution (resp., universal solution): Given an ODE or a PODE
problem M and a probabilistic source database Prs, decide whether there exists a
probabilistic (resp., probabilistic universal) solution for Prs relative to M.
          </p>
          <p>Answering UCQs: Given an ODE or a PODE problem M, a probabilistic source
database Prs, a UCQ q(X), and a tuple t over C, compute conf Q(t) in Prs w.r.t. M.
4
We now analyze the computational complexity of deciding the existence of a
(universal) probabilistic solution for deterministic and probabilistic ontological data exchange
problems. We also delineate some tractable special cases, and we provide some
complexity results for exact UCQ answering for ODE and PODE problems.</p>
          <p>
            We assume some elementary background in complexity theory [
            <xref ref-type="bibr" rid="ref15 ref20 ref38">15, 20</xref>
            ]. We now
briefly recall the complexity classes that we encounter in our complexity results. The
complexity classes PSPACE (resp., P, EXP, 2EXP) contain all decision problems that
can be solved in polynomial space (resp., polynomial, exponential, double exponential
time) on a deterministic Turing machine, while the complexity classes NP and NEXP
contain all decision problems that can be solved in polynomial and exponential time
on a nondeterministic Turing machine, respectively; coNP and coNEXP are their
complementary classes, where “Yes” and “No” instances are interchanged. The complexity
class AC0 is the class of all languages that are decidable by uniform families of Boolean
circuits of polynomial size and constant depth. The inclusion relationships among the
above (decision) complexity classes (all currently believed to be strict) are as follows:
          </p>
          <p>AC0 ⊆ P ⊆ NP, coNP ⊆ PSPACE ⊆ EXP ⊆ NEXP, coNEXP ⊆ 2EXP</p>
          <p>
            The (function) complexity class #P is the set of all functions that are computable
by a polynomial-time nondeterministic Turing machine whose output for a given input
string I is the number of accepting computations for I.
The main (syntactic) conditions on TGDs that guarantee the decidability of CQ
answering are guardedness [
            <xref ref-type="bibr" rid="ref29 ref46 ref6">6</xref>
            ], stickiness [
            <xref ref-type="bibr" rid="ref31 ref48 ref8">8</xref>
            ], and acyclicity. Each one of these conditions has
its “weak” counterpart: weak guardedness [
            <xref ref-type="bibr" rid="ref29 ref46 ref6">6</xref>
            ], weak stickiness [
            <xref ref-type="bibr" rid="ref31 ref48 ref8">8</xref>
            ], and weak
acyclicity [
            <xref ref-type="bibr" rid="ref11 ref34">11</xref>
            ], respectively.
          </p>
          <p>A TGD σ is guarded if there exists an atom in its body that contains (or “guards”)
all the body variables of σ. The class of guarded TGDs, denoted G, is defined as the</p>
          <p>Data Comb. ba-comb. fp-comb.</p>
          <p>L, LF, AF in AC0 PSPACE</p>
          <p>G P 2EXP
WG EXP 2EXP
S, SF in AC0 EXP
F, GF P EXP</p>
          <p>A in AC0 NEXP
WS, WA P 2EXP</p>
          <p>NP
EXP
EXP
NP
NP
NEXP
2EXP</p>
          <p>NP
NP
EXP
NP
NP
NP
NP</p>
          <p>Data Comb. ba-comb. fp-comb.</p>
          <p>L, LF, AF coNP PSPACE coNP coNP</p>
          <p>G coNP 2EXP EXP coNP
WG EXP 2EXP EXP EXP
S, SF coNP EXP coNP coNP
F, GF coNP EXP coNP coNP</p>
          <p>
            A coNP coNEXP coNEXP coNP
WS, WA coNP 2EXP 2EXP coNP
Fig. 3. Complexity of BCQ answering [
            <xref ref-type="bibr" rid="ref18">18</xref>
            ].
          </p>
          <p>All entries except for “in AC0” are
completeness ones, where hardness in all cases
holds even for ground atomic BCQs.</p>
          <p>Fig. 4. Complexity of existence of a
probabilistic (universal) solution (for both
deterministic and probabilistic ODE). All entries
are completeness results.
family of all possible sets of guarded TGDs. A key subclass of guarded TGDs are the
so-called linear TGDs with just one body atom (which is automatically a guard), and
the corresponding class is denoted L. Weakly guarded TGDs extend guarded TGDs by
requiring only “harmful” body variables to appear in the guard, and the associated class
is denoted WG. It is easy to verify that L ⊂ G ⊂ WG.</p>
          <p>Stickiness is inherently different from guardedness, and its central property can be
described as follows: variables that appear more than once in a body (i.e., join variables)
are always propagated (or “stick”) to the inferred atoms. A set of TGDs that enjoys the
above property is called sticky, and the corresponding class is denoted S. Weak
stickiness is a relaxation of stickiness where only “harmful” variables are taken into account.
A set of TGDs which enjoys weak stickiness is weakly sticky, and the associated class
is denoted WS. Observe that S ⊂ WS.</p>
          <p>A set Σ of TGDs is acyclic if its predicate graph is acyclic, and the underlying class
is denoted A. In fact, an acyclic set of TGDs can be seen as a nonrecursive set of TGDs.
We say Σ is weakly acyclic if its dependency graph enjoys a certain acyclicity condition,
which actually guarantees the existence of a finite canonical model; the associated class
is denoted WA. Clearly, A ⊂ WA.</p>
          <p>Another key fragment of TGDs, which deserves our attention, are the so-called
full TGDs, i.e., TGDs without existentially quantified variables, and the corresponding
class is denoted F. If we further assume that full TGDs enjoy linearity, guardedness,
stickiness, or acyclicity, then we obtain the classes LF, GF, SF, and AF, respectively.</p>
          <p>
            Overview of Complexity Results
Our complexity results for deciding the existence of a probabilistic (universal) solution
for both ODE and PODE problems with annotations over events relative to an
underlying Bayesian network are summarized in Fig. 4 for all classes of existential rules
discussed above in the data, combined, ba-combined, and fp-combined complexity (all
entries are completeness results). For L, LF, AF, S, SF, and A in the data complexity,
we obtain tractability when the underlying Bayesian network is a polytree. For all other
cases, hardness holds even when the underlying Bayesian network is a polytree. Finally,
for all classes of existential rules discussed above except for WG, answering UCQs for
both ODE and PODE problems is in #P in the data complexity.
4.3
The first result shows that deciding whether there exists a probabilistic (or probabilistic
universal) solution for a probabilistic source database relative to an ODE problem is
complete for C (resp., coC), if BCQ answering for the involved sets of TGDs and NCs
is complete for a deterministic (resp., nondeterministic) complexity class C ⊇ PSPACE
(resp., C ⊇ NP), and hardness holds even for ground atomic BCQs. As a corollary, by
the complexity of BCQ answering with TGDs and NCs in Figure 3 [
            <xref ref-type="bibr" rid="ref18">18</xref>
            ], we
immediately obtain the complexity results shown in Figure 4 for deciding the existence of
a probabilistic (universal) solution (in deterministic ontological data exchange) in the
combined, ba-combined, and fp-combined complexity, and for the class WG of TGDs
and NCs in the data complexity. The hardness results hold even when the underlying
Bayesian network is a polytree.
          </p>
          <p>Theorem 1. Given a probabilistic source database P rs relative to a source ontology
Σs and an ODE problem M = (S, T, Σs, Σt, Σst) such that Σs ∪ Σt ∪ Σst belongs to
a class of TGDs and NCs for which BCQ answering is complete for a deterministic
(resp., nondeterministic) complexity class C ⊇ PSPACE (resp., C ⊇ NP), and hardness
holds even for ground atomic BCQs, deciding the existence of a probabilistic (universal)
solution for P rs relative to Σs and M is complete for C (resp., coC). Hardness holds
even when the underlying Bayesian network is a polytree.</p>
          <p>The following result shows that deciding whether there exists a probabilistic
(universal) solution for a probabilistic source database relative to an ODE problem is
complete for coNP in the data complexity, for all classes of sets of TGDs and NCs considered
in this paper, except for WG. Hardness for coNP for the classes G, F, GF, WS, and WA
holds even when the underlying Bayesian network is a polytree.</p>
          <p>Theorem 2. Given a probabilistic source database P rs relative to a source ontology
Σs and an ODE problem M = (S, T, Σs, Σt, Σst) such that Σs ∪ Σt ∪ Σst belongs to
a class among L, LF, AF, G, S, SF, F, GF, A, WS, and WA, deciding whether there
exists a probabilistic (or probabilistic universal) solution for P rs relative to Σs and
M is coNP-complete in the data complexity. Hardness for coNP for the classes G, F,
GF, WS, and WA holds even when the underlying Bayesian network is a polytree.</p>
          <p>The following result shows that deciding whether there exists a probabilistic (or
probabilistic universal) solution for a probabilistic source database relative to an ODE
problem is in P in the data complexity, if BCQ answering for the involved sets of TGDs
and NCs is first-order rewritable as a Boolean UCQ, and the underlying Bayesian
network is a polytree. As a corollary, by the complexity of BCQ answering with TGDs and
NCs, deciding the existence of a solution is in P for the classes L, LF, AF, S, SF, and A
in the data complexity, if the underlying Bayesian network is a polytree.
Theorem 3. Given a probabilistic source database P rs relative to a source ontology
Σs, with a polytree as Bayesian network, and an ODE problem M = (S, T, Σs, Σt, Σst)
such that Σs ∪ Σt ∪ Σst belongs to a class of TGDs and NCs for which BCQ answering
is first-order rewritable as a Boolean UCQ, deciding whether there exists a
probabilistic (universal) solution for P rs relative to Σs and M is in P in the data complexity.</p>
          <p>Finally, the following theorem shows that answering UCQs for probabilistic source
databases relative to an ODE problem is complete for #P in the data complexity for all
above classes of existential rules except for WG.</p>
          <p>Theorem 4. Given (i) an ODE problem M = (S, T, Σt, Σs, Σst) such that Σs ∪ Σst ∪
Σt belongs to a class among L, LF, AF, G, S, SF, F, GF, A, WS, and WA, and (ii) a
probabilistic source database P rs relative to Σs such that there exists a solution for P rs
relative to M, (iii) a UCQ Q = q(X) over T, and (iv) a tuple a, computing confQ(a) is
#P-complete in the data complexity.
All the results of Section 4.3 in Theorems 1 and 4 carry over to the case of
probabilistic ontological data exchange. Clearly, the hardness results carry over immediately,
since deterministic ontological data exchange is a special case of probabilistic
ontological data exchange. As for the membership results, we additionally consider the worlds
for the probabilistic mapping, which are iterated through in the data complexity and
guessed in the combined, the ba-combined, and the fp-combined complexity.
5</p>
          <p>Summary and Outlook
We have defined deterministic and probabilistic ontological data exchange problems,
where probabilistic knowledge is exchanged between two ontologies. The two
ontologies and the mapping between them are defined via existential rules, where the rules for
the mapping are deterministic and probabilistic, respectively. We have given a precise
analysis of the computational complexity of deciding the existence of a probabilistic
(universal) solution for different classes of existential rules in both deterministic and
probabilistic ontological data exchange. We also have delineated some tractable special
cases, and we have provided some complexity results for exact UCQ answering.</p>
          <p>An interesting topic for future research is to further explore the tractable cases of
probabilistic solution existence and whether they can be extended, e.g., by slightly
generalizing the type of the mapping rules. Another issue for future work is to further
analyze the complexity of answering UCQs for different classes of existential rules in
deterministic and probabilistic ontological data exchange.</p>
          <p>
            Acknowledgments. This work was supported by an EU (FP7/2007-2013) Marie-Curie
Intra-European Fellowship (“PRODIMA”), the UK EPSRC grant EP/J008346/1
(“PrOQAW”), the ERC grant 246858 (“DIADEM”), a Yahoo! Research Fellowship, and
funds from Universidad Nacional del Sur and CONICET, Argentina. This paper is a
short version of a paper that appeared in Proc. RuleML 2015 [
            <xref ref-type="bibr" rid="ref19">19</xref>
            ].
          </p>
        </sec>
      </sec>
      <sec id="sec-3-4">
        <title>Refining Software Quality Prediction with LOD</title>
        <sec id="sec-3-4-1">
          <title>Davide Ceolin1, Till D¨ohmen1, and Joost Visser2</title>
          <p>1 VU University Amsterdam</p>
          <p>de Boelelaan 1081
1081HV Amsterdam, The Netherlands</p>
          <p>d.ceolin@vu.nl
2 Software Improvement Group
Rembrandt Toren, 15th floor, Amstelplein 1</p>
          <p>
            1096 HA Amsterdam, The Netherlands
Abstract. The complexity of software systems is growing and the
computation of several software quality metrics is challenging. Therefore,
being able to use the already estimated quality metrics to predict their
evolution is a crucial task. In this paper, we outline our idea to use
Linked Open Data to enrich the information available for such
prediction. We report our experience so far, and we outline the preliminary
results obtained.
1
Software size and complexity is growing, thus being able to estimate and predict
software quality is crucial to monitor the process of software development and
promptly steer it. In fact, a quality metric provides a value summarizing one
relevant aspect of the software that can be consulted to identify issues or risks
in the development process or in the software itself. Therefore, several different
quality dimensions have been defined, as described, for instance, by Kan [
            <xref ref-type="bibr" rid="ref31 ref48 ref8">8</xref>
            ].
          </p>
          <p>
            Estimating software quality is then a crucial but challenging task, for several
reasons including the complexity of the software to be measured and the fact
that these measures are often hard to quantify: some of them depend on
runtime software behavior, some on static software properties. The estimation of
the values of these measures is possible, as demonstrated, for instance, by Alves
and Visser [
            <xref ref-type="bibr" rid="ref2 ref25 ref42">2</xref>
            ] and Bouwers [
            <xref ref-type="bibr" rid="ref27 ref4 ref44">4</xref>
            ]. However, given the complexity of this task, we
propose to use such estimates to predict the temporal evolution of these values.
          </p>
          <p>Preliminary analyses on a dataset from the Software Improvement Group3
show encouraging results on the use of these estimates as starting point for the
prediction of the evolution over time of software quality ratings.4 We
hypothesize that, by using Linked Open Data (LOD) we can improve and refine the
accuracy of our predictions. In particular, by enriching the information available
about the projects analyzed, we can categorize these projects (e.g., by
industry sector or programming language), thus increasing the possibility to group
3 http://www.sig.eu
4 For confidentiality reasons, we could not make the dataset publicly available.
together projects showing similar quality evolution over time. We present here
some preliminary encouraging results obtained in this direction, and we discuss
a series of open issues that we need to address in order to extend this research.</p>
          <p>
            The rest of this paper is structured as follows: Section 2 introduces related
work. Section 3 describes the enrichment of software projects data. Section 4
provides preliminary results, that are discussed in Section 5.
2
Software quality prediction is an important issue, that has been tackled from
different points of view. As Al-Jamini and Ahmed [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">1</xref>
            ] describe in their review,
several relevant approaches to this problem make use of machine learning.
          </p>
          <p>
            We have also employed machine learning techniques (in particular, Markov
chains [
            <xref ref-type="bibr" rid="ref12 ref35">12</xref>
            ]) to predict software quality based on the starting rating of a project [
            <xref ref-type="bibr" rid="ref28 ref45 ref5">5</xref>
            ].
The results are promising and we will aim at perfecting them with additional
features, properly selected from external sources, like LOD. The future quality
value of systems shows a strong correlation with the current quality rating, due
to the fact that the rating usually changes very slowly over time. Moreover, a
second trend was discovered which revealed that higher quality systems tend to
deteriorate in quality and low-quality systems tend to improve, both with the
tendency towards the medium quality level. This could be explained as a case of
regression towards the mean [
            <xref ref-type="bibr" rid="ref29 ref46 ref6">6</xref>
            ], i.e., could be due to noise in the extreme quality
ratings that disappears as more accurate estimates are provided. However, this
possible explanation still needs to be evaluated and, anyway, could explain only
the second trend. These two trends, for very high or very low-quality systems,
yield a high uncertainty in the prediction. Using LOD, we expect to obtain more
tailored predictions (e.g., by identifying software quality trends associated to the
programming language adopted) to reduce prediction uncertainty.
          </p>
          <p>
            Misirli et al.[
            <xref ref-type="bibr" rid="ref11 ref34">11</xref>
            ] propose the use of Bayesian Networks to make software
quality predictions. As the number of potentially useful features grows (consequently
to LOD enrichment), we will consider this approach in the future. Jing et al. [
            <xref ref-type="bibr" rid="ref30 ref47 ref7">7</xref>
            ]
use a dictionary learning-approach that represents a more specialized but limited
approach as compared to our use of LOD.
          </p>
          <p>Enriching Software Quality Prediction with LOD
Our hypothesis is that by enriching the information about the projects we
analyze with LOD, we can obtain features that are useful for improving the software
quality prediction. For instance, software quality could vary in different
industrial sectors or the programming language used could affect quality evolution.</p>
          <p>
            Our focus is on a dataset provided by the Software Improvement Group,
which consists mainly of projects of Dutch companies and of a few additional
European customers. We enriched the dataset using mainly DBpedia [
            <xref ref-type="bibr" rid="ref26 ref3 ref43">3</xref>
            ]. In the
enrichment process, we encountered the following issues:
Missing information DBpedia contains a description of only 209 companies
located in the Netherlands. Additional companies have been identified in
the Dutch DBpedia5, which contains the description of 3.883 companies,
but does not provide information about their location.
          </p>
          <p>Disambiguation Some companies have homonyms. To disambiguate resources
and identify the right URI for a given company, we expect to employ
heuristics based on the company website, its location, and industry sector.
Consistency literals vs. URIs Some classifications are available in an
inconsistent manner. For instance, industry can appear both as http://dbpedia.
org/ontology/industry and http://dbpedia.org/property/industry. In
some cases, the value of one of these two properties is reported only as a
literal value, thus affecting the possibility to perform ontological reasoning.
We performed a preliminary analysis on a dataset consisting of 1019 snapshots
of maintainability of 112 companies. These snapshots already presented a first
industry classification provided by SIG. In total, 14 industrial sectors are present.</p>
          <p>
            We computed the semantic similarity between each possible combination of
industrial categories using the Wikipedia distance [
            <xref ref-type="bibr" rid="ref10 ref33">10</xref>
            ] and the WU &amp; Palmer
distance [
            <xref ref-type="bibr" rid="ref17 ref40">17</xref>
            ]. On these data, we performed a series of preliminary analyses:
1. We run a Wilcoxon signed-rank test [
            <xref ref-type="bibr" rid="ref16 ref39">16</xref>
            ] at 95% confidence level to check
if the observations are significantly different when grouped per industrial
sector. These results show a weak positive Spearman [
            <xref ref-type="bibr" rid="ref15 ref38">15</xref>
            ] correlation with
both the Wikipedia (0.07) and the Wu &amp; Palmer (0.14) distances.
2. We computed the same procedure as above by using also the
KolmogorovSmirnov test [
            <xref ref-type="bibr" rid="ref14 ref32 ref37 ref9">9, 14</xref>
            ] . This resulted in a slightly higher correlation, 0.16 for
the Wikipedia distance and 0.24 for the Wu &amp; Palmer distance.
3. We computed the contrast analysis [
            <xref ref-type="bibr" rid="ref13 ref36">13</xref>
            ] of the linear combinations of the
observations, again grouped per industrial sector. The resulting contrast
estimators showed a weak correlation with the Wikipedia distance (0.15) and
with the Wu &amp; Palmer distance values (0.12).
4. We grouped a small set of observations aligned with DBpedia by industrial
sector of the companies involved (telecommunication and financial services).
According to a Wilcoxon signed-rank test at 90% significance, the two groups
are significantly different, according to the Kolmogorov-Smirnov test, not.
5
          </p>
          <p>Discussion and Future Work
We present an early stage work about the use of LOD to refine the precision and
accuracy of software quality prediction. We performed a series of exploratory and
preliminary studies which shows a low correlation between the maintainability
and the industry sector of these projects. These results provide the basis for
further exploration because: (1) the existence of a weak correlation is confirmed by
more tests, hence it is possible that we can identify a subset of the data analyzed
that presents a higher correlation; (2) the different methods for computing
semantic similarity and different statistical significance tests provided significantly
different results, thus indicating the need for exploring different computational
techniques; (3) as shown by the last item of Section 4, the industrial sector
seems to be a discriminant for software quality, although this aspect needs to
be evaluated on larger datasets; and (5) our analyses focused on a limited set of
enrichment features, but several others are utilizable. So, we plan to extend this
research to identify the most robust methods to perform these predictions, and
we will extend these analyses including additional LOD features and sources.
Acknowledgements This work is funded by Amsterdam Data Science.
References</p>
        </sec>
      </sec>
      <sec id="sec-3-5">
        <title>Reducing the Size of the Optimization Problems in Fuzzy Ontology Reasoning</title>
        <sec id="sec-3-5-1">
          <title>Fernando Bobillo1 and Umberto Straccia2</title>
          <p>1 Dpt. of Computer Science &amp; Systems Engineering, University of Zaragoza, Spain
2 Istituto di Scienza e Tecnologie dell’Informazione (ISTI - CNR), Pisa, Italy</p>
          <p>
            Email: fbobillo@unizar.es, straccia@isti.cnr.it
Abstract. Fuzzy ontologies allow the representation of imprecise
structured knowledge, typical in many real-world application domains. A key
factor in the practical success of fuzzy ontologies is the availability of
highly optimized reasoners. This short paper discusses a novel
optimization technique: a reduction of the size of the optimization problems
obtained during the inference by the fuzzy ontology reasoner fuzzyDL.
1
In recent years, we have noticed an increase in the number of applications for
mobile devices that could benefit from the use of semantic reasoning services [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">1</xref>
            ].
Because of the limited capabilities of mobile devices, it is especially important to
develop reasoning algorithms performing efficiently in practice. In order to deal
with imprecise knowledge, such applications could use fuzzy ontologies [
            <xref ref-type="bibr" rid="ref31 ref48 ref8">8</xref>
            ]. In
fuzzy ontologies, concepts and relations are fuzzy. Consequently, the axioms are
not in general either true or false, but they may hold to some degree of truth.
          </p>
          <p>
            However, little effort has been paid so far to the study and implementation of
optimization techniques for fuzzy ontology reasoning, which is essential to reason
with real-world scenarios in practice (some exceptions are [
            <xref ref-type="bibr" rid="ref26 ref27 ref28 ref29 ref3 ref4 ref43 ref44 ref45 ref46 ref5 ref6">3,4,5,6</xref>
            ]). This short
paper discusses some optimization techniques to improve the performance of
the reasoning algorithm by reducing the size of optimization problems obtained
during the inference. In particular, we will provide optimized MILP encodings of
the restrictions involving n-ary operators and fuzzy membership functions. Such
optimizations have been implemented in fuzzyDL, arguably the most popular
and advanced fuzzy ontology reasoner [
            <xref ref-type="bibr" rid="ref2 ref25 ref42">2</xref>
            ], and proved their usefulness.
2
          </p>
          <p>
            Background on fuzzyDL reasoning
We assume the reader to be familiar with the syntax and semantics of fuzzy
Description Logics (DLs) [
            <xref ref-type="bibr" rid="ref31 ref48 ref8">8</xref>
            ]. The reasoning algorithm implemented in fuzzyDL
combines tableaux rules with an optimization problem. After some
preprocessing, fuzzyDL applies tableau rules decomposing complex concept expressions
into simpler ones, as usual in tableau algorithms, but also generating a system
of inequation constraints. These inequations have to hold in order to respect
the semantics of the DL constructors. After all rules have been applied, an
optimization problem must be solved before obtaining the final solution. The tableau
rules are deterministic and the optimization problem is unique.
          </p>
          <p>
            This optimization problem has a solution iff the fuzzy KB is consistent. In
fuzzyDL, we obtain a bounded Mixed Integer Linear Programming [
            <xref ref-type="bibr" rid="ref30 ref47 ref7">7</xref>
            ] (MILP)
problem, that is, minimising a linear function with respect to a set of constraints
that are linear inequations in which rational and integer variables can occur.
The problem is bounded, with rational variables ranging over [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">0, 1</xref>
            ] and some
integer variables ranging over {0, 1}. For example, in Lukasiewicz fuzzy DLs, the
restriction x1 ⊗L x2 = z can be encoded using the set of constraints {x1 +x2 −1 ≤
z, x1 + x2 − 1 ≥ z − y, z ≤ 1 − y, y ∈ {0, 1}}. Observe that the MILP encoding
of the restriction has introduced a new variable y: the two possibilities y = 0
and y = 1 encode the non-deterministic choice implicit in the interpretation
of the conjunction under Lukasiewicz fuzzy logic. The complexity of solving a
MILP problem is NP-complete and it depends on the number of variables, so it
is convenient to reduce the number of new variables.
          </p>
          <p>
            Let x, z be [
            <xref ref-type="bibr" rid="ref1 ref24 ref41">0, 1</xref>
            ]-variables, and xu be a rational unbounded variable. fuzzyDL
has to solve some restrictions involving fuzzy connectives, such as x1 = x2,
x1 ⊗ x2 = z, x1 ⊕ x2 = z, or x1 ⇒ x2 = z. Furthermore, it also needs to solve
some restrictions d(xu) ≥ z involving fuzzy membership functions d such as the
trapezoidal(k1, k2, q1, q2, q3, q4) (see Table 1 (a)), the triangular(k1, k2, q1, q2,
q3), lef t(k1, k2, q1, q2), or right(k1, k2, q1, q2) [
            <xref ref-type="bibr" rid="ref31 ref48 ref8">8</xref>
            ].
Let us start with the case of conjunction concepts in Lukasiewicz fuzzy DLs.
An n-ary concept of the form (C1 u C2 u · · · u Cn) can be represented, using
associativity, only using binary conjunctions (C1 u(C2 u(· · ·uCn)) . . . ). A binary
conjunction concept introduces a restriction of the form x1 ⊗L x2 = z which, as
shown in Section 2, can be encoded adding a new binary variable y. Hence, in
order to represent the n-ary conjunction, n − 1 new variables yi would be needed.
However, it is possible to give a more efficient representation by considering the
conjunction as an n-ary operator. Indeed, a restriction of the form x1 ⊗L x2 ⊗
· · · ⊗ xn = z can be encoded using only one new binary variable and, thus, saves
2n−2 possible alternative assignments to the variables yi.
          </p>
          <p>n
X xi − (n − 1) ≤ z,
i=1</p>
          <p>y ≤ 1 − z,
n
X xi − (n − 1) ≥ z − (n − 1)y,
i=1</p>
          <p>y ∈ {0, 1}.
y = 0 encodes the case z = Pn</p>
          <p>i=1 xi − (n − 1) ≥ 0, and y = 1 encodes the case
z = 0 and Pn</p>
          <p>i=1 xi − (n − 1) &lt; 0. Let us consider now disjunction concepts in
Lukasiewicz fuzzy DLs. A binary disjunction can be represented adding a new
binary variable y as {x1 + x2 ≤ z + y, y ≤ z, x1 + x2 ≥ z, y ∈ {0, 1}}. Again, n − 1
new binary variables would be needed but, similarly as before, considering the
disjunction as an n-ary operator we would need only one new binary variable:
n
X xi ≤ z + (n − 1)y,
i=1</p>
          <p>y ≤ z,
n
X xi ≥ z,
i=1
z ≤ x1,
z ≤ x2,
x1 ≤ z + y,
x2 ≤ z + (1 − y),</p>
          <p>y ∈ {0, 1}.
4</p>
          <p>Optimizing Go¨edel N-ary Operators
An n-ary conjunction can be represented using binary conjunctions adding
restrictions of the form x1 ⊗G x2 = z, which can be encoded as follows:</p>
          <p>The idea is that if y = 0, x1 = z is the minimum; whereas if y = 1, x2 = z is
the minimum. This adds a new variable y, so in the case of n-ary conjunctions
there would be n−1 new variables. Treating the conjunction as an n-ary operator,
a more efficient representation is possible. An n-ary conjunction introduces a
restriction of the form x1 ⊗G x2 ⊗ · · · ⊗ xn = z. To represent that the minimum
of n variables xi is equal to z, we can use n binary variables yi such that if yi
takes the value 0 then xi (representing the minimum) is equal to z, and such that
the sum of the yi is 1, so z takes the value of some xi. Note that the minimum
may not be unique. Such a representation is as follows:</p>
          <p>z ≤ xi, for i ∈ {1, . . . , n},
xi ≤ z + yi, for i ∈ {1, . . . , n},
n
X yi = 1,
i=1
yi ∈ {0, 1}, for i ∈ {1, . . . , n}.</p>
          <p>Now, we will show that it is possible to give a more efficient representation,
Essentially, we need to encode n possible states. However, n possible states can
be encoded using m = dlog2 ne new binary variables only. For instance, for n = 5,
only dlog2 5e = 3 binary variables are necessary, where we use the encoding of
the n = 5 states in Table 1 (b).</p>
          <p>The main point is now to correctly encode the condition xi ≤ z + yi of the old
encoding. We proceed as follows. Let bi be a string of length m, representing the
value i − 1 in base 2 (1 ≤ i ≤ n). For instance, for i = 4, b = 011, as illustrated
in the table above. Let us define the expression eij (1 ≤ i ≤ n, 1 ≤ j ≤ m) as:
eij =
yj if the jth bit of bi is 0
1 − yj otherwise.</p>
          <p>For i = 4, we have b = 011 and, thus, e41 = 1 − y1, e42 = 1 − y2, and e43 = y3.
Now we are ready to provide the whole encoding:</p>
          <p>The first condition is the same as before. The second condition guarantees
that xi ≤ z in the state bi. Finally, the third condition ensures that we are not
addressing more than n states. For instance, for n = 5 we have:
z ≤ xi, for i = 1, . . . , n
m
xi ≤ z + X eij, for i = 1, . . . , n</p>
          <p>j=1
m
X 2j−1yj ≤ n − 1,
j=1
yj ∈ {0, 1}, for j = 1, . . . , m.
z ≤ x1,
z ≤ x2,
z ≤ x3,
z ≤ x4,
z ≤ x5,
x1 ≤ z + y1 + y2 + y3,</p>
          <p>The case of the disjunction in G¨odel fuzzy DLs is dual. If an n-ary concept
of the form (C1 t C2 t · · · t Cn) is represented using binary disjunctions, n − 1
new binary variables are needed. However, if we consider it as an n-ary concept,
it is possible to use dlog2 ne new binary variables only:</p>
          <p>z ≥ xi, for i = 1, . . . , n
m
xi + X eij ≥ z for i = 1, . . . , n</p>
          <p>j=1
m
X 2j−1yj ≤ n − 1,
j=1</p>
          <p>yj ∈ {0, 1} for j = 1, . . . , m.
5
Let us start with the case of trapezoidal functions, which introduce a restriction
of the form trapezoidal(k1, k2, q1, q2, q3, q4)(xu) ≥ z. A restriction of that form
can be represented by adding 5 new binary variables yi as follows:
xu + (q1 − q2)xu + (k2 − q1)y2 ≤ k2,
xu + (q1 − q2)xu + (k1 − q2)y2 ≥ k1 + q1 − q2,
xu + (q4 − q3)xu + (k1 − q4)y4 ≥ k1,
y1 + y2 + y3 + y4 + y5 = 1,
yi ∈ {0, 1}, for i = 1, . . . , 5.</p>
          <p>To reduce now the number of binary variables, the idea is to have 5 binary
variables encoding the 5 possible states: xu ≤ q1 (y1 = 1), xu ∈ [q1, q2] (y2 = 1),
xu ∈ [q2, q3] (y3 = 1), xu ∈ [q3, q4] (y4 = 1), and xu ≥ q4 (y5 = 1). However, as
shown in Table 1 (b), it is possible to represent 5 states using only 3 variables.</p>
          <p>The case of other fuzzy membership functions is similar. In triangular
functions, a na¨ıve encoding introduces 4 new variables to represent the 4 possible
states, but it is possible to consider only 2. Finally, in left and right shoulder
functions, it is necessary to consider 3 states, which can be achieved by adding 2
new binary variables, instead of the 3 ones needed in the non-optimal encoding.</p>
          <p>By considering the fact that even for moderate sized ontologies we may
easily generate thousands of such constraints, it is evident that the number of
saved binary variables n, and hence the number of saved assignments 2n, is
non-negligible.</p>
          <p>Acknowledgement This research work has been partially supported by the
CICYT project TIN2013-46238-C4-4-R and DGA-FSE.</p>
          <p>References</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Arenas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Botoeva</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ryzhikov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Exchanging OWL2 QL knowledge bases</article-title>
          .
          <source>In: Proc. IJCAI</source>
          . pp.
          <fpage>703</fpage>
          -
          <lpage>710</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Arenas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Botoeva</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ryzhikov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sherkhonov</surname>
          </string-name>
          , E.:
          <article-title>Exchanging description logic knowledge bases</article-title>
          .
          <source>In: Proc. KR</source>
          . pp.
          <fpage>563</fpage>
          -
          <lpage>567</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Arenas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Pe´rez, J.,
          <string-name>
            <surname>Reutter</surname>
            ,
            <given-names>J.L.</given-names>
          </string-name>
          :
          <article-title>Data exchange beyond complete data</article-title>
          .
          <source>J. ACM</source>
          <volume>60</volume>
          (
          <issue>4</issue>
          ),
          <volume>28</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>28</lpage>
          :
          <fpage>59</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Least common subsumers and most specific concepts in a description logic with existential restrictions and terminological cycles</article-title>
          .
          <source>In: Proc. IJCAI</source>
          . pp.
          <fpage>364</fpage>
          -
          <lpage>369</lpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brandt</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Pushing the E L envelope</article-title>
          .
          <source>In: Proc. IJCAI</source>
          . pp.
          <fpage>364</fpage>
          -
          <lpage>369</lpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6. Cal`ı,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Kifer</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          :
          <article-title>Taming the infinite chase: Query answering under expressive relational constraints</article-title>
          .
          <source>J. Artif. Intell. Res</source>
          .
          <volume>48</volume>
          ,
          <fpage>115</fpage>
          -
          <lpage>174</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Cali</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lukasiewicz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marnette</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pieris</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          : Datalog+/
          <article-title>-: A family of logical knowledge representation and query languages for new applications</article-title>
          .
          <source>In: Proc. LICS</source>
          . pp.
          <fpage>228</fpage>
          -
          <lpage>242</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8. Cal`ı,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Pieris</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Towards more expressive ontology languages: The query answering problem</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>193</volume>
          ,
          <fpage>87</fpage>
          -
          <lpage>128</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          :
          <article-title>Tractable reasoning and efficient query answering in description logics: TheDL-Lite family</article-title>
          .
          <source>J. Autom. Reasoning</source>
          <volume>39</volume>
          (
          <issue>3</issue>
          ),
          <fpage>385</fpage>
          -
          <lpage>429</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Fagin</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kimelfeld</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kolaitis</surname>
            ,
            <given-names>P.G.</given-names>
          </string-name>
          :
          <article-title>Probabilistic data exchange</article-title>
          .
          <source>J. ACM</source>
          <volume>58</volume>
          (
          <issue>4</issue>
          ),
          <volume>15</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>15</lpage>
          :
          <fpage>55</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Fagin</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kolaitis</surname>
            ,
            <given-names>P.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miller</surname>
            ,
            <given-names>R.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Popa</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Data exchange: Semantics and query answering</article-title>
          .
          <source>Theor. Comput. Sci</source>
          .
          <volume>336</volume>
          (
          <issue>1</issue>
          ),
          <fpage>89</fpage>
          -
          <lpage>124</lpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Fuhr</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          , Ro¨lleke, T.:
          <article-title>A probabilistic relational algebra for the integration of information retrieval and database systems</article-title>
          .
          <source>ACM Trans. Inf. Sys</source>
          .
          <volume>15</volume>
          (
          <issue>1</issue>
          ),
          <fpage>32</fpage>
          -
          <lpage>66</lpage>
          (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Green</surname>
            ,
            <given-names>T.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Karvounarakis</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tannen</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Provenance semirings</article-title>
          .
          <source>In: Proc. PODS</source>
          . pp.
          <fpage>31</fpage>
          -
          <lpage>40</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Imielinski</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Witold</surname>
            <given-names>Lipski</given-names>
          </string-name>
          , J.:
          <article-title>Incomplete information in relational databases</article-title>
          .
          <source>J. ACM</source>
          <volume>31</volume>
          (
          <issue>4</issue>
          ),
          <fpage>761</fpage>
          -
          <lpage>791</lpage>
          (
          <year>1984</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Johnson</surname>
            ,
            <given-names>D.S.:</given-names>
          </string-name>
          <article-title>A catalog of complexity classes</article-title>
          . In: van Leeuwen,
          <string-name>
            <surname>J</surname>
          </string-name>
          . (ed.)
          <source>Handbook of Theoretical Computer Science</source>
          , vol.
          <source>A, chap. 2</source>
          , pp.
          <fpage>67</fpage>
          -
          <lpage>161</lpage>
          . MIT Press (
          <year>1990</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Krisnadhi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Data complexity in the E L family of description logics</article-title>
          .
          <source>In: Proc. LPAR</source>
          , LNCS, vol.
          <volume>4790</volume>
          , pp.
          <fpage>333</fpage>
          -
          <lpage>347</lpage>
          . Springer (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Data integration: A theoretical perspective</article-title>
          .
          <source>In: Proc. PODS</source>
          . pp.
          <fpage>233</fpage>
          -
          <lpage>246</lpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Lukasiewicz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martinez</surname>
            ,
            <given-names>M.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pieris</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simari</surname>
            ,
            <given-names>G.I.</given-names>
          </string-name>
          :
          <article-title>From classical to consistent query answering under existential rules</article-title>
          .
          <source>In: Proc. AAAI</source>
          . pp.
          <fpage>1546</fpage>
          -
          <lpage>1552</lpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Lukasiewicz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martinez</surname>
            ,
            <given-names>M.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Predoiu</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simari</surname>
            ,
            <given-names>G.I.</given-names>
          </string-name>
          :
          <article-title>Existential rules and Bayesian networks for probabilistic ontological data exchange</article-title>
          .
          <source>In: Proc. RuleML. LNCS</source>
          , vol.
          <volume>9202</volume>
          , pp.
          <fpage>294</fpage>
          -
          <lpage>310</lpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Papadimitriou</surname>
            ,
            <given-names>C.H.: Computational</given-names>
          </string-name>
          <string-name>
            <surname>Complexity. Addison-Wesley</surname>
          </string-name>
          (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Poggi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>Linking data to ontologies</article-title>
          .
          <source>J. Data Sem</source>
          .
          <volume>10</volume>
          ,
          <fpage>133</fpage>
          -
          <lpage>173</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Suciu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olteanu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , Re´,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Koch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.: Probabilistic</given-names>
            <surname>Databases. M &amp;</surname>
          </string-name>
          <article-title>C (</article-title>
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Vardi</surname>
          </string-name>
          , M.Y.:
          <article-title>The complexity of relational query languages (extended abstract)</article-title>
          .
          <source>In: Proc. STOC</source>
          . pp.
          <fpage>137</fpage>
          -
          <lpage>146</lpage>
          (
          <year>1982</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          1.
          <string-name>
            <given-names>H.</given-names>
            <surname>Al-Jamimi</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Ahmed</surname>
          </string-name>
          .
          <article-title>Machine learning-based software quality prediction models: State of the art</article-title>
          .
          <source>In ICISA</source>
          , pages
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          2.
          <string-name>
            <given-names>T. L.</given-names>
            <surname>Alves</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Visser</surname>
          </string-name>
          .
          <article-title>Static estimation of test coverage</article-title>
          .
          <source>In SCAM</source>
          , pages
          <fpage>55</fpage>
          -
          <lpage>64</lpage>
          . IEEE Computer Society,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          3.
          <string-name>
            <given-names>S.</given-names>
            <surname>Auer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bizer</surname>
          </string-name>
          , G. Kobilarov,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lehmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Cyganiak</surname>
          </string-name>
          , and
          <string-name>
            <surname>Z. Ives.</surname>
          </string-name>
          <article-title>DBpedia: A Nucleus for a Web of Open Data</article-title>
          .
          <source>In ISWC</source>
          , volume
          <volume>4825</volume>
          , pages
          <fpage>722</fpage>
          -
          <lpage>735</lpage>
          . Springer,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          4.
          <string-name>
            <given-names>E.</given-names>
            <surname>Bouwers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. P.</given-names>
            <surname>Correia</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. van Deursen</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>J.</given-names>
            <surname>Visser</surname>
          </string-name>
          .
          <article-title>Quantifying the analyzability of software architectures</article-title>
          .
          <source>In WICSA</source>
          , pages
          <fpage>83</fpage>
          -
          <lpage>92</lpage>
          . IEEE,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          5. T. Do¨hmen,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ceolin</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Visser</surname>
          </string-name>
          .
          <article-title>Towards Building a Software Quality Prediction Model</article-title>
          .
          <source>Technical report</source>
          , Software Improvement Group,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          6.
          <string-name>
            <given-names>F.</given-names>
            <surname>Galton</surname>
          </string-name>
          .
          <article-title>Regression towards mediocrity in hereditary stature</article-title>
          .
          <source>The Journal of the Anthropological Institute of Great Britain and Ireland</source>
          ,
          <volume>15</volume>
          :
          <fpage>246</fpage>
          -
          <lpage>263</lpage>
          ,
          <year>1886</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          7.
          <string-name>
            <given-names>X.-Y.</given-names>
            <surname>Jing</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ying</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.-W.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , S.-S. Wu, and
          <string-name>
            <given-names>J.</given-names>
            <surname>Liu</surname>
          </string-name>
          .
          <article-title>Dictionary learning based software defect prediction</article-title>
          .
          <source>In ICSE</source>
          , pages
          <fpage>414</fpage>
          -
          <lpage>423</lpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          8.
          <string-name>
            <given-names>S.</given-names>
            <surname>Kan</surname>
          </string-name>
          .
          <article-title>Metrics and Models in Software Quality Engineering</article-title>
          . Pearson,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          9.
          <string-name>
            <given-names>A.</given-names>
            <surname>Kolmogorov</surname>
          </string-name>
          .
          <article-title>Sulla determinazione empirica di una legge di distribuzione</article-title>
          .
          <source>Giornale dell'Istituto Italiano degli Attuari</source>
          ,
          <volume>4</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>11</lpage>
          ,
          <year>1933</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          10.
          <string-name>
            <given-names>D.</given-names>
            <surname>Milne</surname>
          </string-name>
          and
          <string-name>
            <given-names>I. H.</given-names>
            <surname>Witten</surname>
          </string-name>
          .
          <article-title>An open-source toolkit for mining wikipedia</article-title>
          .
          <source>Artif</source>
          . Intell.,
          <volume>194</volume>
          :
          <fpage>222</fpage>
          -
          <lpage>239</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          11.
          <string-name>
            <given-names>A. T.</given-names>
            <surname>Misirli</surname>
          </string-name>
          and
          <string-name>
            <given-names>A. B.</given-names>
            <surname>Bener</surname>
          </string-name>
          .
          <article-title>A mapping study on bayesian networks for software quality prediction</article-title>
          .
          <source>In RAISE</source>
          , pages
          <fpage>7</fpage>
          -
          <lpage>11</lpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          12.
          <string-name>
            <given-names>J. R.</given-names>
            <surname>Norris</surname>
          </string-name>
          . Markov chains. Cambridge University Press,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          13.
          <string-name>
            <given-names>R.</given-names>
            <surname>Rosenthal</surname>
          </string-name>
          and
          <string-name>
            <given-names>R. L.</given-names>
            <surname>Rosnow</surname>
          </string-name>
          .
          <article-title>Contrast analysis : focused comparisons in the analysis of variance</article-title>
          . Cambridge University press,
          <year>1985</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          14.
          <string-name>
            <given-names>N.</given-names>
            <surname>Smirnov</surname>
          </string-name>
          .
          <article-title>Table for Estimating the Goodness of Fit of Empirical Distributions</article-title>
          .
          <source>The Annals of Mathematical Statistics</source>
          ,
          <volume>19</volume>
          (
          <issue>2</issue>
          ):
          <fpage>279</fpage>
          -
          <lpage>281</lpage>
          ,
          <year>1948</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          15.
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>Spearman. The proof and measurement of association between two things</article-title>
          .
          <source>Amer. J. Psychol.</source>
          ,
          <volume>15</volume>
          :
          <fpage>72101</fpage>
          ,
          <year>1904</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          16.
          <string-name>
            <given-names>F.</given-names>
            <surname>Wilcoxon</surname>
          </string-name>
          .
          <article-title>Individual comparisons by ranking methods</article-title>
          .
          <source>Biometrics Bulletin</source>
          ,
          <volume>1</volume>
          :
          <fpage>80</fpage>
          -
          <lpage>83</lpage>
          ,
          <year>1945</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          17.
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Palmer</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <article-title>Verb semantics and lexical selection</article-title>
          .
          <source>In ACL. ACL</source>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          1.
          <string-name>
            <given-names>C.</given-names>
            <surname>Bobed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Yus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Bobillo</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E.</given-names>
            <surname>Mena</surname>
          </string-name>
          .
          <article-title>Semantic reasoning on mobile devices: Do androids dream of efficient reasoners? Journal of Web Semantics</article-title>
          , In press.
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          2.
          <string-name>
            <given-names>F.</given-names>
            <surname>Bobillo</surname>
          </string-name>
          and
          <string-name>
            <given-names>U.</given-names>
            <surname>Straccia</surname>
          </string-name>
          . fuzzyDL:
          <article-title>An expressive fuzzy description logic reasoner</article-title>
          .
          <source>In Proceedings of the 17th IEEE International Conference on Fuzzy Systems (FUZZIEEE</source>
          <year>2008</year>
          ), pages
          <fpage>923</fpage>
          -
          <lpage>930</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          3.
          <string-name>
            <given-names>F.</given-names>
            <surname>Bobillo</surname>
          </string-name>
          and
          <string-name>
            <given-names>U.</given-names>
            <surname>Straccia</surname>
          </string-name>
          .
          <article-title>On partitioning-based optimisations in expressive fuzzy description logics</article-title>
          .
          <source>In Proceedings of the 24th IEEE International Conference on Fuzzy Systems (FUZZ-IEEE 2015)</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref44">
        <mixed-citation>
          4.
          <string-name>
            <given-names>F.</given-names>
            <surname>Bobillo</surname>
          </string-name>
          and
          <string-name>
            <given-names>U.</given-names>
            <surname>Straccia</surname>
          </string-name>
          .
          <article-title>Optimising fuzzy description logic reasoners with general concept inclusions absorption</article-title>
          .
          <source>Fuzzy Sets and Systems</source>
          , In press.
        </mixed-citation>
      </ref>
      <ref id="ref45">
        <mixed-citation>
          5.
          <string-name>
            <given-names>V.</given-names>
            <surname>Haarslev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.-I.</given-names>
            <surname>Pai</surname>
          </string-name>
          , and
          <string-name>
            <given-names>N.</given-names>
            <surname>Shiri</surname>
          </string-name>
          .
          <article-title>Optimizing tableau reasoning in ALC extended with uncertainty</article-title>
          .
          <source>In Proceedings of the 20th International Workshop on Description Logics (DL</source>
          <year>2007</year>
          ), volume
          <volume>250</volume>
          , pages
          <fpage>307</fpage>
          -
          <lpage>314</lpage>
          . CEUR Workshop Proceedings,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref46">
        <mixed-citation>
          6.
          <string-name>
            <given-names>G. S. N.</given-names>
            <surname>Simou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Mailis</surname>
          </string-name>
          and
          <string-name>
            <given-names>G.</given-names>
            <surname>Stamou</surname>
          </string-name>
          .
          <article-title>Optimization techniques for fuzzy description logics</article-title>
          .
          <source>In Proceedings of the 23rd International Workshop on Description Logics (DL</source>
          <year>2010</year>
          ), volume
          <volume>573</volume>
          .
          <source>CEUR Workshop Proceedings</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref47">
        <mixed-citation>
          7.
          <string-name>
            <given-names>H. M.</given-names>
            <surname>Salkin</surname>
          </string-name>
          and
          <string-name>
            <given-names>K.</given-names>
            <surname>Mathur</surname>
          </string-name>
          .
          <article-title>Foundations of Integer Programming</article-title>
          . North-Holland,
          <year>1989</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref48">
        <mixed-citation>
          8.
          <string-name>
            <given-names>U.</given-names>
            <surname>Straccia</surname>
          </string-name>
          .
          <article-title>Foundations of Fuzzy Logic and Semantic Web Languages</article-title>
          .
          <source>CRC Studies in Informatics Series. Chapman &amp; Hall</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>