<!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>Building ontologies from textual resources: A pattern based improvement using deep linguistic information</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sami Ghadfi</string-name>
          <email>sami.ghadfi@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nicolas Béchet</string-name>
          <email>nicolas.bechet@irisa.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giuseppe Berio</string-name>
          <email>giuseppe.berio@univ-ubs.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>IRISA, UMR 6074, Université de Bretagne-Sud</institution>
          ,
          <addr-line>56017 Vannes</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Ontologies are a key component for several applications. Ontologies are often built by hand, but automatizing the process of ontology building has been and is even more recognized as very important for scaling and speeding up this process. However, several difficulties have been identified, some of them are quite fundamental. In this paper, we present our work for overcoming some of the fundamental difficulties. Our work resulted in improvements of an existing ontology building tool (Text2Onto). The contribution of our work consists in the creation of a flexible language (DTPL-Dependency Tree Patterns Language) for expressing patterns as syntactic dependency trees to extract semantic relations, and making an existing ontology building tool (Text2Onto) able to use them. DTPL allows to exploit deep linguistic information (related to coreference resolutions, conjunctions, appositions, passive verbal phrases, etc.) provided by deep syntactic analysis of the text, and also (in order to improve the accuracy of patterns) to express the exclusion of some dependency bindings in patterns.</p>
      </abstract>
      <kwd-group>
        <kwd>ontology building</kwd>
        <kwd>semantic relation extraction</kwd>
        <kwd>dependency tree patterns</kwd>
        <kwd>deep linguistic information</kwd>
        <kwd>Text2Onto</kwd>
        <kwd>DTPL</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Ontologies are a key component for several applications. Ontologies are often built by
hand, but automatizing the process of building ontologies has been and is even more
recognized as very important for scaling and speeding up this process. Indeed,
humans employ texts for providing information directly or indirectly, through the Web
for instance. However, unstructured or semi-structured texts do not provide a
welldefined semantic structure to be used by machines for reasoning tasks. Ontologies
play therefore the key role for representing more explicitly the knowledge hidden in
texts. As a consequence, ontologies can be made available for further applications.</p>
      <p>Unfortunately, several difficulties concerning automatic ontology building have
been identified, some of them are quite fundamental.</p>
      <p>Additional arguments suggesting the need for developing complete “Ontology
Building Support Systems” (OBSS) can be mentioned. Despite the fact that humans
can recognize ontology artifacts from terms and sentences (which is enabled by their
knowledge of the domain and the contexts on which terms are put together in
sentences, suggesting semantic relations between terms), OBSS can supply the frequent
terms and the contexts in which they appear, and systematically apply rules for
suggesting how they are related to ontology artifacts. The magnitude of these terms and
contexts makes their identification a task more suitable for machines than humans. In
addition, ontologies evolve and these evolutions should be supported by automated
systems.</p>
      <p>For ontology building, there are two main challenges to be taken into account,
which correspond to the basic building blocks of any ontology:
─ The extraction of concepts and their possible instances: it is a task in which we
further distinguish between the extraction of the concept/instance itself, and
naming it;
─ The extraction of semantic relations (hierarchical and non-hierarchical): it is a task
in which we distinguish between identifying the relation occurrence (for example,
identifying the relation occurrence “lion,animal”), and then identifying the
semantic relation to which it belongs (“lion,animal” is an occurrence of a hyponymy
relation, the whole relation occurrence can be rewritten as
is-hyponymof(lion,animal)).</p>
      <p>Even if these two challenges are partially connected (i.e. the extraction of relations
may impact on already extracted concepts and instances or may lead to additional
concepts and instances), in this paper, we concentrate on the second one, i.e. semantic
relation extraction. However, as better explained in Section 2, concept/instance
extraction and relation extraction can be treated separately. This is also confirmed by the
fact that tools used or usable for concept/instance extraction are developed
independently for performing well identified tasks such as terminology extraction
(possibly comprising disambiguation) and entity identification.</p>
      <p>
        Semantic relation extraction methods can be categorized into two approaches:
Pattern based (mainly employing linguistic patterns), and Clustering based (mainly
employing clustering and statistical methods). We consider that linguistic patterns are
natural and concrete (because close to what humans (can) apply when they manually
build ontologies – by following methodologies and design patterns) for improving the
overall ontology building process, thus, we have focused on pattern based approaches
for relation extraction for the following detailed reasons:
─ Patterns represent frequent contexts in which term-pairs related by a given
semantic relation tend to appear—the reason for this observation is the way patterns are
constructed; very often, this construction begins by specifying seed examples
(term-pairs related by a given semantic relation), then looking for the contexts –in
sentences– in which they tend to appear together (these contexts can be sequences
or sets of words [
        <xref ref-type="bibr" rid="ref1 ref10">1,10</xref>
        ], or dependency paths in syntactic dependency trees [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ],
[
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]), and then generalizing/merging the most similar contexts or keeping only the
most accurate ones (i.e. contexts relating at least a given number of instance
examples)—; for instance, the Hearst pattern " X(NP1) such as Y(NP) " [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] induces the
relation "Y is-hyponym-of X", where the context in this case is the sequence of
words "such as".
─ Patterns fall into two categories: 1. Reliable patterns (they possess high precision
and low recall), 2. Generic patterns (they possess low precision and high recall).
      </p>
      <p>One can use the advantages of one category to overcome the drawbacks of the
oth1 NP represents a noun phrase.</p>
      <p>
        er. For instance, in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], the authors have used reliable patterns as a reference to
evaluate the relevance of relation occurrences extracted by generic patterns.
─ Any extraction method and technique that does not use predefined patterns takes
more processing time, because it needs to identify the (frequent) contexts in which
terms related by a given relation do appear (for instance, these contexts can be
syntactic dependency links that bind individual words in the text—as used in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and
[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]—, etc.). These methods are based on the distributional hypothesis [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and its
derivations [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>However, effective usage of patterns within an OBSS remains an open research
question. In Section 2, we present the existing methods for pattern-based relation
extraction, and also their inherent difficulties (or limitations) preventing to get
acceptable ontologies. Section 3 presents the contributions of the paper, i.e. (I) A
method for enhancing OBSS with the ability to use deep linguistic information for relation
extraction, (II) Making the generation of relations (including how relations can be
named) through patterns very flexible, and (III) Implementing this method within an
existing ontology building tool (Text2Onto). We finally conclude by summarizing the
contributions and presenting perspectives in Section 4.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Difficulties</title>
      <p>Willing to semi-automatically build ontologies (or to support ontology building as
best as possible) starting form texts, improvements can be concentrated on:
─ Improving the input text by modifying (substituting) the employed terms (e.g. for
adopting a more standard terminology) and sentence structures, resolving
ambiguities and co-references and so on;
─ Improving the quality of the final ontology by performing a quality assessment
(e.g. using reasoning, if applicable, similarity (and other) measures) followed by
relevant modifications;
─ Improving the process of building the ontology by improving the efficiency and
effectiveness of the required tasks (i.e. relation extraction, concept/instance
extraction, etc.).</p>
      <p>In this paper, we focus on the third line of improvements, and more specifically,
(as said in the Introduction) on relation extraction, because, as explained in section
2.1 below, concept/instance extraction can be performed independently from relation
extraction. Section 2.2 presents the inherent difficulties in using pattern-based
approaches for extracting semantic relations and related work.
2.1</p>
      <sec id="sec-2-1">
        <title>Reasons for processing relation extraction and concept/instance extraction separately</title>
        <p>Although concept/instance extraction and relation extraction are two partially
dependent tasks, they can be treated separately. A formal justification can be presented
as follows, on the top of a hypothetical ontology Description Logics formalization;
whenever a relation (role) R is newly introduced, additional axioms involving existing
concepts can be added. Generally speaking, introducing R can result in 3 situations:
─ Additional specification for an existing concept C e.g. C⊑ ∃R.⊤⊓∀R.⊤ or</p>
        <p>C⊓∃R.⊤⊓∀R.⊤≠⊥;
─ Splitting an existing concept in subconcepts C’, C’’ such as, for instance,</p>
        <p>C⊑C’⊓C’’, C’⊑∃R.⊤⊓∀R.⊤;
─ Creating a new concept C’ such that C’⊑∃R.⊤⊓∀R.⊤.</p>
        <p>These few arguments should convince the reader that the extraction of relationships
can be modularly managed as well. As a consequence, addressing only the difficulties
concerning relation extraction is not a limitation; it even contributes in a well-defined
modular way to improve concept/instance extraction.
2.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Relation extraction difficulties methods using flat patterns and the inherent</title>
        <p>
          Pattern-based relation extraction methods often concern hyponymy and part-of
relations [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. These methods often use patterns expressed as flat regular expressions (Flat
patterns), which contain basic syntactic information (like part of speech tags, lemmas,
affixes, etc.). The most known and successful example of using flat patterns is Hearst
patterns [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], which are used for extracting the hyponymy relation (or
ISA/subsumption relation when using the standard ontology terminology). Because of
their high precision, Hearst patterns have been used even in clustering-based relation
extraction methods: for instance, in [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], Hearst patterns have been used to name the
clusters of a hierarchy of terms based on the hyponymy relation (a hyponymy
hierarchy is close to an IS-A taxonomy). In [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], a similar approach has been used for
naming the clusters of a hyponymy hierarchy.
        </p>
        <p>
          Another successful use of flat patterns is using reliable patterns to correct the
extraction results of less accurate patterns [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
        </p>
        <p>
          Java Annotation Patterns Engine (JAPE), a language of the open-source platform
General Architecture for Text Engineering (GATE2), has been the key language for
expressing flat patterns. With JAPE, flat patterns are expressed as transducers (using
macros, input and output annotations) to annotate sentences in the text that match the
pattern. Transducers are organized in queues corresponding to sentences in which, the
results (output annotations or macros) of one phase can be used as inputs by the next
one. A relevant usage of JAPE can be found in Text2Onto [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] (an ontology building
tool), where GATE is used as the key library for preprocessing. Text2Onto
preprocessing tasks involve some of GATE’s components such as the Part Of Speech (POS)
tagger, the named entity extractor, and also patterns made by the user.
        </p>
        <p>Using flat patterns has been successful for extracting semantic relations, but such
patterns suffer from two major limitations that we point out hereafter.</p>
        <p>The absence of deep syntactic information in flat patterns leads to
misinterpretations when these patterns are matched to the text. Consider the following sentences:
(s1) “The semantic formalization of knowledge has been achieved by the use of
several tools such as ontologies, semantic networks and expert systems.”; (s2) “Euclid, a
great mathematician in his own right, showed to a king that there is no royal road to
geometry.”. In these sentences, the comma can play two roles, i.e. a conjunction in
(s1), or an introducer of apposition in (s2) (in (s2) the apposition is "great
mathematician"). Another example of cases leading to misinterpretations is when the syntactic
2 A full documentation on GATE can be found at http://gate.ac.uk/documentation.html
structure of the text (having impact on its semantic interpretation) cannot be
efficiently and effectively captured by flat patterns. This includes cases like verb phrases
expressed in active or passive form, or discontinuity cases (topicalization, etc.).</p>
        <p>Flat patterns contain often unnecessary symbols for relation extraction, which
often reduce the patterns coverage. It is the syntactic information conveyed by symbols
that should be identified: in the example above (sentences (s1) and (s2)), what is
interesting is to know whether the comma symbol represents a conjunction or an
apposition. Another example is in the Hearst pattern P: " &lt;Hypernym&gt;(NP) including
&lt;Hyponym&gt;(NP) ". The flat pattern P can be applied successfully to extract the
hyponymy relation instance "specie is-hyponym-of organism" (r1) from the sentence (s3)
“Organisms including species like flies, yeast, monkeys and worms have previously
been put on diets and shown to have their life spans extended by 30 to 200%.”.
However, if we insert the adjective diverse between including and species in the sentence
(s3) (which results in the sentence (s4) “Organisms including diverse species like
flies, yeast, monkeys and …”), then P does not match anymore. However, the
semantic relation (r1) should have been extracted from both sentences. Adding an adjective
between the word including and the hyponym in P is not necessary (from the
semantic view) to identify the hyponymy relation.
2.3</p>
      </sec>
      <sec id="sec-2-3">
        <title>Dependency tree patterns</title>
        <p>
          The limitations of flat patterns mentioned in Section 2.2, can be overcome by using
patterns that take into account deep linguistic information, i.e. syntactic dependency
links3. We call these patterns Dependency Tree patterns (DT patterns). For example,
the limitation involving the Hearst pattern P and sentences (s3) and (s4) mentioned in
Section 2.2 can be overcome by the following DT pattern P2 " &lt;Hypernym&gt;(NP)
-prep--&gt; including(VBG4) --pobj--&gt; &lt;Hyponym&gt;(NP) ". A matching between P2 and
3 The dependency links (mwe, prep, pobj, amod, etc.) mentioned in this paper are described in
[
          <xref ref-type="bibr" rid="ref13">13</xref>
          ].
4 VBG is a part of speech tag corresponding to a gerund or the present participle of a verb.
the dependency tree t3/t4 (of the sentence s3/s4) in Figures 1,2 above allows the
extraction of the same relation (r1).
        </p>
        <p>
          Using dependency tree patterns for relation extraction has been proposed in [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]
in which the authors presented an algorithm for discovering patterns expressed as
dependency paths. Those patterns allowed the authors of [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] to construct (what they
called) a “hypernym-only classifier” showing a dramatic improvement compared to
previous classifiers: their best logistic regression classifier showed a 132%
improvement of average maximum F-score over the Hearst patterns based classifier. In [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]
the authors followed a similar approach which they used to compare dependency tree
patterns to flat patterns in terms of precision and recall (the patterns they used are for
extracting hyponymy relations from Dutch texts) but their result is in contradiction
with the work of [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]; the authors of [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] concluded that using deep syntactic
information does not produce substantial improvement in the precision and recall of the
extracted results. An explanation for this gap can be identified in the section 4.3 (the
error analysis section) of [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] where one can see that most of the errors are due to the
syntactic analyzer.
        </p>
        <p>However, in the works mentioned above, the usage of dependency tree patterns
has not been made neither systematic nor user-oriented. Indeed, in those works, there
has been no specification of a formal language (in the same way that JAPE allows to
express flat patterns to be used modularly by extraction tools) for expressing DT
patterns that can be used by users for programming and experimenting DT patterns.</p>
        <p>
          The most similar work to ours is [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] which presents a new ontology learning
system (OntoCmaps) intended to overcome the drawbacks of tools using flat patterns
which contain only shallow linguistic information (such as Text2Onto). The patterns
used in OntoCmaps [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] contain deep linguistic information and are expressed in a
language syntactically different than ours. Both languages are meant to make patterns
use deep linguistic information for extracting knowledge from the text through the
usage of regular expressions. Some of the differences between the language used to
express patterns in OntoCmaps and DTPL (defined in Section 3) is that the later
allows to use many POS tags for a node, it also allows to express properties for patterns
(as the JAPE language does) that extraction tools could use modularly. Another
difference between the two languages is that each pattern expressed in DTPL is meant to
extract only one kind of relations, the reason is that each time that a pattern identifies
more than one kind of relations it indicates nested patterns to differentiate by
specifying dependency bindings (each dependency binding consists of a dependency link, the
governor and the dependent) that should not exist when a match occurs (by adding the
symbol ‘!’ to the dependency binding to exclude from the matching, in [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ] we
present an example for such use); this distinction is needed because the extracted results
of one pattern could be erroneous for another one. Another difference is that
OntoCmaps uses collapsed dependencies [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] while we use uncollapsed ones.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Improvements in ontology building by using DT patterns</title>
      <p>The key contribution of this paper consists in giving OBSS the ability to modularly
use patterns expressed as dependency trees (Dependency Tree patterns—DT
patterns) to take into account deep syntactic information found in texts. This will be
achieved by (I) Specifying a formal language for expressing DT patterns to be
matched with syntactic dependency trees of sentences, and (II) Creating and
integrating a new algorithm in an ontology building tool (Text2Onto) to extract semantic
relations by using DT patterns.
3.1</p>
      <sec id="sec-3-1">
        <title>DTPL, a language for expressing DT patterns</title>
        <p>In this section we are going to define DTPL (Dependency Tree Patterns Language), a
language for expressing patterns represented as dependency trees, each DT pattern
helps to extract a semantic relation. In order to extract a given relation from a
sentence S, a DT pattern must be matched with the syntactic dependency tree of S.</p>
        <p>Dependency trees (both patterns and sentences) comprise nodes and arrows. Table
1 provides the reader with the relevant definitions (the 3rd column concerns patterns—
DT patterns— only).</p>
        <p>Tree
component</p>
        <p>Node
Arrow</p>
        <p>Components of the tree component</p>
        <p>NodeValue: it represents either a non-terminal
symbol (output annotation) or a terminal symbol
(word)</p>
        <p>PosTags: the part(s) of speech of the symbol
represented by this node</p>
        <p>Index: the index of the symbol in the sentence
in which the pattern is to be matched</p>
        <p>DependencyLink: the name of the dependency
link that exists between the two connected nodes</p>
        <p>SourceNode: the node from which the arrow is
departing</p>
        <p>ArrivalNode: the node to which the arrow is
aiming at</p>
        <p>Optional
or Mandatory
mandatory
mandatory (the wildcard
character * can be used, it
matches with any POS tag)
optional
mandatory
mandatory
mandatory</p>
        <p>
          In DT patterns, each node must possess only one parent, with one exception for
any node linked by the ref dependency link (i.e. in a sentence containing a
coreference, the ref link binds a relative pronoun with the noun it refers to) with its
governor, the reason is that such nodes have more than one parent (for more detail on
coreference links used in this paper we refer the reader to [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]). In other terms, without
the occurrences of the ref link, a DT pattern must have a tree structure. In [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ] the
reader can find examples that illustrate how the use of co-reference links in DT
patterns allows to extract semantic relations.
        </p>
        <p>In DT patterns, each node has to be expressed in the form
NodeValueIndex(PosTags) (e.g. the nodes " as(IN) ", " as-5(IN) ", " as(*) "), see the example at
the end of this subsection. Each arrow must be expressed in the form "
DependencyLabel(SourceNode,ArrivalNode); ". The only imposed constraint is that there
must be no spaces between the closed parenthesis " ) " and the " ; " character for
expressing each arrow (for instance, in the arrow " mwe(as(IN),such(JJ)); " of the DT
pattern (dtp1) at Figure 3, we have DependencyLink=mwe, SourceNode=as(IN) and
ArrivalNode=such(JJ)). The output annotation labels (which correspond to
nonterminal symbols) are in the form &lt;annotationLabel&gt;. For instance, &lt;firstHyponym&gt;,
&lt;domain&gt;, &lt;range&gt; and &lt;relationName&gt; are nonterminal symbols in the pattern (dtp1).</p>
        <p>DT patterns can possess properties. Each property corresponds to a non-terminal
symbol. Each pattern property is defined between two ‘#’ characters in the form
#propertyName=regularExpression#, where propertyName is the name of the
property, and regularExpression is a regular expression combining terminal and
nonterminal symbols except pattern properties (for instance, in the pattern (dtp1) it’s not
allowed to define the &lt;relationName&gt; property as follows
#&lt;relationName&gt;=&lt;domain&gt;_to_&lt;range&gt;# because the non-terminal symbols &lt;domain&gt; and
&lt;range&gt; are also properties of the pattern).</p>
        <p>A DT pattern allows to extract a relation (unary, binary, or having any other
nonnull arity). The idea is that each argument of a relation can be pointed out by a pattern
property. For instance, to identify the hyponym and hypernym of a hyponymy
relation, one can use the annotations &lt;hyponym&gt; and &lt;hypernym&gt;. For binary relations
(which are quite important because –for instance– any Description Logics
formalization of an ontology comprises only binary relations), we can use the properties
&lt;domain&gt; to represent the Domain of a relation and &lt;range&gt; to represent its Range.</p>
        <p>The expressions written in a DT pattern are either defining properties (e.g. the 1st
three lines in the patterns of Figure 3) or defining dependency links between nodes.
The order on which POS tags are mentioned for each node isn’t important (for
instance, in (dtp2), the nodes &lt;verb&gt;(VBN|VBZ|VBD) and &lt;verb&gt;(VBZ|VBD|VBN) are the
same).</p>
        <p>For extracting binary relations for ontologies, DT patterns have to contain the
three properties &lt;relationName&gt;, &lt;domain&gt;, and &lt;range&gt;.
#&lt;relationName&gt;=is-hyponym-of#
#&lt;domain&gt;=&lt;conjDep&gt;#
#&lt;range&gt;=&lt;prepositionGov&gt;#
mwe(as(IN),such(JJ));
pobj(as(IN),&lt;firstHyponym&gt;(NN|NNS|NNP));
prep(&lt;prepositionGov&gt;(NN|NNS),as(IN));
conj(&lt;firstHyponym&gt;(NN|NNS|NNP),&lt;conjDep&gt;(NN|NNS|
NNP));
(dtp1) DT pattern similar to Hearst’s such as pattern
#&lt;relationName&gt;=&lt;verb&gt;_&lt;directObject&gt;_&lt;preposition&gt;#
#&lt;domain&gt;=&lt;depNoun&gt; &lt;subject&gt;#
#&lt;range&gt;=&lt;prepositionalObject&gt;#
nsubj(&lt;verb&gt;(VBN|VBZ|VBD),&lt;subject&gt;(NNP|NN|NNS));
pobj(&lt;preposition&gt;(IN|TO),&lt;prepositionalObject&gt;(NNP|NN|NNS))
;
dobj(&lt;verb&gt;(VBZ|VBN|VBD),&lt;directObject&gt;(NNP|NN|NNS));
prep(&lt;verb&gt;(VBZ|VBD|VBN),&lt;preposition&gt;(IN|TO));
nn(&lt;subject&gt;(NNP|NN|NNS),&lt;depNoun&gt;(NNP|NN|NNS));
(dtp2) DT pattern for extracting semantic relations based on
intransitive verb phrases (verb phrases of which the verb is</p>
        <p>intransitive) containing prepositions</p>
        <p>
          In Figure 3, in the DT pattern (dtp1), the output annotation &lt;domain&gt; represents
the hyponym, while &lt;range&gt; represents the hypernym. In (dtp2), the output annotation
&lt;domain&gt; represents the subject of the verb annotated by &lt;verb&gt;, while &lt;range&gt;
represents the prepositional object. The tree (tdtp1) in Figure 4 is a way to visualize the DT
pattern (dtp1). For visualizing (dtp2) we refer the reader to [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ].
        </p>
        <p>
          The Domain and Range also have to be written as regular expression. For details
on the syntax of DTPL we refer the reader to [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ].
        </p>
        <p>Matching (dtp1) with the dependency tree (t5) in Figure 5 (the syntactic
dependency tree of the sentence (s5) ”Carmakers such as Maruti, Hyundai, Tata, Toyota,
Ford, GM &amp; Mercedes put brakes on price hikes despite margin pressures”) allows
to extract the relations is-hyponym-of(mercedes,carmaker),
is-hyponymof(ford,carmaker), is-hyponym-of(toyota,carmaker), is-hyponym-of(tata,carmaker),
is-hyponym-of(hyundai,carmaker), is-hyponym-of(gm,carmaker). While the pattern
(dtp2) allows to extract from the tree (t6) in Figure 6 (the syntactic dependency tree of
the sentence (s6)”The Ebola virus causes internal bleeding to its victims”) the
relation cause_bleeding_to(ebola virus,victim) (r2).</p>
        <p>
          Other examples (including the exploitation of co-reference resolutions, and also
examples of expressing the exclusion of some dependency bindings in DT patterns —
to improve the accuracy of patterns—) can be found at [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ].
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Text2Onto enhancement and improvement by introducing DTPL</title>
        <p>For relation extraction purposes, Text2Onto has been used as target for testing DT
patterns expressed by the language DTPL.</p>
        <p>Text2Onto comprises various algorithms for ontology extraction tasks (such as
relation extraction, concept/instance extraction). Given our interest on relation
extraction, we will only present Text2Onto5 native algorithm for relation extraction, named
SubcatRelationExtraction.</p>
        <p>Difference</p>
        <p>DTP_BinaryRelationExtraction</p>
        <p>SubcatRelationExtraction
The usage of deep
linguistic
information
The language used
for expressing
patterns
Extracting multiple
instances of a
relation
Allowing more
modularity for
relation extraction</p>
        <p>Uses deep linguistic information for
extracting semantic relations.</p>
        <p>Uses shallow syntactic information for
relation extraction.</p>
        <p>Uses patterns expressed in DTPL.</p>
        <p>Uses patterns expressed in JAPE.</p>
        <p>Extracts several instances of a
relation without restrictions and
provides a frequency, indicative of
the relevance of a relation instance.</p>
        <p>Allows the explicit naming of the
extracted relation (is-a relations,
part-of relations, verb phrase based
relations, etc.).</p>
        <p>Extracts only one instance of a relation
formed by the most frequent element of the
Domain and the most frequent element of
the Range (which is a source of errors).
• Constrained to extract only relations based
on verb phrases (for instance, for transitive
verb phrases, it generates relation instances
in the form Verb(Subject,Object)).
• It does not allow the explicit naming of
the relation.</p>
        <p>SubcatRelationExtraction is a pattern-based relation extraction algorithm using
flat patterns expressed in JAPE (here, patterns are called JAPE rules) located in
Text2Onto’s /3rdparty/gate/english directory. SubcatRelationExtraction takes into
account the information that JAPE rules possess (like the output annotations
TransitiveVerbPhrase, Subject and Object) to generate relations. However, another
limitation of SubcatRelationExtraction (other than using flat patterns) is the exclusive usage
of verb phrases (transitive/intransitive, etc.) for extracting and naming relations. For
instance, from the sentence (s6), SubcatRelationExtraction extracts (given the right
JAPE rule) cause_to(ebola virus,victim) (which is not as meaningful as (r2)). Indeed,
despite the fact that numerous semantic relationships can be identified from verb
phrases, this is not always the case (as for the hyponymy relation in sentence (s5)).</p>
        <p>We implemented the new relation extraction algorithm
DTP_BinaryRelationExtraction, which uses DT patterns expressed in DTPL for
binary relation extraction. DTP_BinaryRelationExtraction uses a JAVA library
(TreeMatcher) which generates relations by using the regular expressions that define the
pattern properties &lt;domain&gt;, &lt;range&gt; and &lt;relationName&gt;.</p>
        <p>
          To parse the input texts, TreeMatcher uses the Stanford Full Parser version 3.3.1
(which can be found at [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]) and its parsing model englishPCFG.ser.gz. TreeMatcher
5 Text2Onto version 2007-11-09, it can be found at https://code.google.com/p/text2onto/.
is tolerant to DT patterns containing empty lines and multiples space characters as
well. Each pattern has to be specified in DTPL in a distinct file (textual file) within
Text2Onto’s /3rdparty/gate/english directory. The name of each file containing a DT
pattern has to start with “dtp-“. For example, the DT pattern (dtp1) can be named
“dtp-SuchAsPattern“.
        </p>
        <p>DT patterns can be added, removed, modified and used modularly by Text2Onto
like any flat pattern expressed in JAPE (e.g. the JAPE rules SubclassOfRelation1,
SubclassOfRelation2, etc. of the JAPE file ontological_relations.jape in Text2Onto’s
/3rdparty/gate/english directory).</p>
        <p>TreeMatcher allows DTP_BinaryRelationExtraction to process relation extraction
in four steps: (I) Reading the DT patterns in Text2Onto’s /3rdparty/gate/english
directory, (II) Producing syntactic dependency trees from the input corpus by using the
Stanford Full Parser, (III) Performing matching between dependency trees extracted
from the corpus and the DT patterns, each matching can produce many relations (the
generation of relations uses the regular expressions attached to the properties
&lt;domain&gt;, &lt;range&gt; and &lt;relationName&gt; (see Section 3.1)), and each relation contains the
frequency of its occurrence on the corpus, (IV) Producing the result as a list of
relations (each relation instance possess an index indicative of its relevance).</p>
        <p>Table 2 above summarizes the differences between the algorithm
DTP_BinaryRelationExtraction and Text2Onto’s native algorithm
SubcatRelationExtraction.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusion and perspectives</title>
      <p>We have presented in this paper a method giving ontology building tools the ability to
use deep linguistic information in patterns called DT patterns. Specifically, we have
first defined a new language (DTPL) to express these patterns, and, accordingly,
enhanced and improved an existing ontology building tool (Text2Onto).
The work that we described in this paper is a piece of a bigger scheme aiming at:
─ The integration of a new parsing strategy (especially made for relation extraction
algorithms) assuring the accuracy of the extracted relations (because of the deep
syntactic analysis) while maintaining a reasonable computational cost;
─ Introducing two weakly supervised algorithms for pattern discovery, one for DT
patterns and the other for flat patterns. The patterns to be learned are for extracting
sematic relations (including IS-A and part-of).</p>
      <p>Using deep linguistic information needs deep syntactic analysis of the text which
takes longer runtime than shallow parsing. This may be overcome by using a strategy
for relation extraction which consists in parsing only sentences that contain at least
two Terms Representative of the knowledge Domain of the corpus (TRD), the
methods for extracting such terms need only shallow parsing. This strategy is expected to
enhance the precision of the extracted results, but the gain in computational time
depends on how many sentences contain at least two TRDs in the corpus (i.e. if such
sentences are too frequent, then there would be no significant gain).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Sergey</given-names>
            <surname>Brin</surname>
          </string-name>
          .
          <year>1998</year>
          . “
          <article-title>Extracting patterns and relations from the world wide web”</article-title>
          .
          <source>WebDB Workshop</source>
          at 6th International Conference on Extending Database Technology, EDBT '
          <fpage>98</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Sharon</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Caraballo</surname>
          </string-name>
          .
          <year>1999</year>
          . “
          <article-title>Automatic acquisition of a hypernym-labeled noun hierarchy from text”</article-title>
          .
          <source>In Proceedings of ACL-99</source>
          . pp
          <fpage>120</fpage>
          -
          <lpage>126</lpage>
          , Baltimore, MD.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Philipp</given-names>
            <surname>Cimiano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Johanna</given-names>
            <surname>Völker</surname>
          </string-name>
          .
          <year>2005</year>
          .
          <article-title>“Text2Onto: a framework for ontology learning and data-driven change discovery”</article-title>
          .
          <source>In Proceedings of the 10th international conference on Natural Language Processing and Information Systems</source>
          , June 15-17,
          <year>2005</year>
          , Alicante, Spain [doi&gt;10.1007/11428817_21].
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Zellig</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Harris</surname>
          </string-name>
          .
          <year>1954</year>
          . “
          <article-title>Distributional structure”</article-title>
          .
          <source>Word</source>
          <volume>10</volume>
          (
          <issue>23</issue>
          ):
          <fpage>146</fpage>
          -
          <lpage>162</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Marti</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Hearst</surname>
          </string-name>
          .
          <year>1992</year>
          .
          <article-title>“Automatic Acquisition of Hyponyms from Large Text Corpora”</article-title>
          .
          <source>In Proceedings of ACL-92</source>
          . Nantes, France.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Maayan</given-names>
            <surname>Geffet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Ido</given-names>
            <surname>Dagan</surname>
          </string-name>
          .
          <year>2005</year>
          . “
          <article-title>The distributional inclusion hypotheses and lexical entailment”</article-title>
          .
          <source>In Proceedings of the 43rd Annual Meeting on Association for Computational Linguistics</source>
          , p.
          <fpage>107</fpage>
          -
          <lpage>114</lpage>
          , June 25-30,
          <year>2005</year>
          , Ann Arbor, Michigan [doi&gt;10.3115/1219840.1219854].
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Maayan</given-names>
            <surname>Zhitomirsky-Geffet</surname>
          </string-name>
          , Ido Dagan, Idan Szpektor,
          <string-name>
            <given-names>Lili</given-names>
            <surname>Kotlerman</surname>
          </string-name>
          .
          <year>2010</year>
          . “
          <article-title>Directional distributional similarity for lexical inference”</article-title>
          .
          <source>Natural Language Engineering</source>
          ,
          <volume>16</volume>
          (
          <issue>04</issue>
          ):
          <fpage>359</fpage>
          -
          <lpage>389</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Patrick</given-names>
            <surname>Pantel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Marco</given-names>
            <surname>Pennacchiotti</surname>
          </string-name>
          .
          <year>2006</year>
          . “
          <article-title>Espresso: leveraging generic patterns for automatically harvesting semantic relations”</article-title>
          .
          <source>In Proceedings of the 21st International Conference on Computational Linguistics</source>
          and
          <article-title>the 44th annual meeting of the Association for Computational Linguistics</article-title>
          , p.
          <fpage>113</fpage>
          -
          <lpage>120</lpage>
          ,
          <year>July</year>
          17-
          <issue>18</issue>
          ,
          <year>2006</year>
          , Sydney, Australia.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Patrick</given-names>
            <surname>Pantel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Deepak</given-names>
            <surname>Ravichandran</surname>
          </string-name>
          .
          <year>2004</year>
          . “
          <article-title>Automatically labeling semantic classes”</article-title>
          .
          <source>In Proceedings of HLT/NAACL-04</source>
          . pp.
          <fpage>321</fpage>
          -
          <lpage>328</lpage>
          . Boston, MA.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Patrick</surname>
            <given-names>Pantel</given-names>
          </string-name>
          , Deepak Ravichandran,
          <string-name>
            <surname>Eduard</surname>
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Hovy</surname>
          </string-name>
          .
          <year>2004</year>
          . “
          <article-title>Towards terascale knowledge acquisition”</article-title>
          .
          <source>In Proceedings of COLING-04</source>
          . pp.
          <fpage>771</fpage>
          -
          <lpage>777</lpage>
          . Geneva, Switzerland.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Erik T. K. Sang</surname>
            ,
            <given-names>Katja</given-names>
          </string-name>
          <string-name>
            <surname>Hofmann</surname>
          </string-name>
          .
          <year>2009</year>
          . “
          <article-title>Lexical patterns or dependency patterns: which is better for hypernym extraction?”</article-title>
          .
          <source>In Proceedings of the Thirteenth Conference on Computational Natural Language Learning (CoNLL '09)</source>
          .
          <article-title>Association for Computational Linguistics</article-title>
          , Stroudsburg, PA, USA,
          <fpage>174</fpage>
          -
          <lpage>182</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Rion</surname>
            <given-names>Snow</given-names>
          </string-name>
          , Daniel Jurafsky,
          <string-name>
            <given-names>Andrew Y.</given-names>
            <surname>Ng</surname>
          </string-name>
          .
          <year>2004</year>
          .
          <article-title>“Learning syntactic patterns for automatic hypernym discovery”</article-title>
          .
          <source>In NIPS</source>
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Marie-Catherine de Marneffe</surname>
            ,
            <given-names>Christopher D.</given-names>
          </string-name>
          <string-name>
            <surname>Manning</surname>
          </string-name>
          .
          <year>2008</year>
          . “Stanford typed dependencies manual”: http://nlp.stanford.edu/software/dependencies_manual.pdf
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>14. “The Stanford Parser: A statistical parser”: http://nlp.stanford.edu/software/lexparser.shtml</mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Julie</surname>
            <given-names>Weeds</given-names>
          </string-name>
          , David Weir,
          <string-name>
            <given-names>Diana</given-names>
            <surname>McCarthy</surname>
          </string-name>
          .
          <year>2004</year>
          . “
          <article-title>Characterizing Measures of Lexical Distributional Similarity”</article-title>
          .
          <source>In Proceedings of Coling-04</source>
          . Geneva, Switzerland.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Amal</surname>
            <given-names>Zouaq</given-names>
          </string-name>
          , Dragan Gasevic,
          <string-name>
            <given-names>Marek</given-names>
            <surname>Hatala</surname>
          </string-name>
          .
          <year>2011</year>
          . “
          <article-title>Towards open ontology learning and filtering”</article-title>
          .
          <source>Information Systems</source>
          , v.
          <volume>36</volume>
          n.7, p.
          <fpage>1064</fpage>
          -
          <lpage>1081</lpage>
          , November,
          <year>2011</year>
          [doi&gt;10.1016/j.is.
          <year>2011</year>
          .
          <volume>03</volume>
          .005].
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Amal</surname>
            <given-names>Zouaq</given-names>
          </string-name>
          , Dragan Gasevic,
          <string-name>
            <given-names>Marek</given-names>
            <surname>Hatala</surname>
          </string-name>
          .
          <year>2012</year>
          . “
          <article-title>Linguistic Patterns for Information Extraction in OntoCmaps”</article-title>
          .
          <source>In Proceedings Of the 3rd Workshop on Ontology Patterns - WOP2012</source>
          , in conjunction with the 11th
          <source>International Semantic Web Conference</source>
          , Boston, USA.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18. “
          <article-title>Grammar of the DTPL language</article-title>
          , and examples”: http://people.irisa.fr/Nicolas.Bechet/WOP2014/
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>