<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="103"/><title>Pattern-Based Ontology Construction from Selected Wikipedia Pages</title><pubinfo>Proceedings of the Student Research Workshop associated with RANLP 2011,pages 103-108, Hissar, Bulgaria, 13 September 2011.</pubinfo><author surname="Klaussner" givenname="Carmen"><org  name="University of Nancy 2" country="France" city="Nancy"/></author><author surname="Zhekova" givenname="Desislava"><org  name="University of Nancy 2" country="France" city="Nancy"/></author></firstpageheader><frontmatter><p><b>Pattern-Based Ontology Construction from Selected Wikipedia Pages</b></p><p><b>Carmen Klaussner</b></p><p>University of Nancy 2</p><p>carmen@wordsmith.de</p><p><b>Desislava Zhekova</b></p><p>University of Bremen</p><p>zhekova@uni-bremen.de</p></frontmatter><abstract>In this paper, we describe how ontologies can be built automatically from definitions obtained by searching <i>Wikipedia </i>for lexico-syntactic patterns based on the hyponymy relation. First, we describe how definitions are retrieved and processed while taking into account both recall and precision. Fur­ther, concentrating only on precision, we show how a consistent and useful domain ontology can be cre­ated with a beneficial precision of 80%. </abstract></header><body><section number="1" title="Introduction"><p>Knowledge bases are created to depict models of the world in the way we perceive it (Lacy, 2005). Nowadays, the general concern about the repre­sentation and communication of information in­creases the need to do the latter in a more mean­ingful and structured way (Brachman, 1983). Nat­ural Language Processing (NLP) is a task, which is relatively easy for humans, but presents a complex computational challenge, as machines need care­fully structured and well-designed content to un­ambiguously interpret information (Lacy, 2005). Ideally, one creates hand-crafted thesauri, such as <i>WordNet<footnote anchor="1"/>, </i>which are more reliable, but with information constantly changing, their coverage falls behind and costs ofmaintenance remainhigh. Thus, the possibility of creating knowledge bases from regularly updated knowledge sources, such as <i>Wikipedia<footnote anchor="2"/>, </i>which offers a vast amount of in­formation on a wide variety of topics, seems to be a desirable solution for this difficult situation.</p><p>In this paper, we present the <i>Ontology cre­ator (Oc)<footnote anchor="3"/>, </i>which extracts articles from <i>Wikipedia, </i>searches them for definitions and transfers the re­sults into an appropriate knowledge representation using the ontology language OWL<footnote anchor="4"/>. For this pur­pose, we use lexico-syntactic patterns that were reported to enable successful extraction of seman­tic relations (Hearst, 1992; Hearst, 1998; Mititelu, 2006; Mititelu, 2008). We evaluate the overall system performance and concentrate on successful hyponymy patterns in order to improve the result­ing ontology's precision. Our hypothesis is that, by searching <i>Wikipedia </i>for the hyponymy relation, one can create consistent domain ontologies that can be easily used as good knowledge bases.</p><footnote label="1"> http://wordnet.princeton.edu/  2 http://en.wikipedia.org/wiki/  3 http://sourceforge.net/projects/ontocreation/</footnote><p>Thus, section 2 gives an overview of related projects. In section 3 we introduce the <i>Ontology creator </i>and describe how patterns are built and represented in the knowledge base. Further, in sec­tion 4 we evaluate the system performance and de­scribe the most common errors that we observed. Section 5 closes with a concluding comment.</p></section><section number="2" title="Related Work"><p>In order to be able to extract definitions from domain-independent, unrestricted text, methods for discovering lexico-syntactic patterns are gen­erally used, employing English corpora (Hearst, 1992; Hearst, 1998; Mititelu, 2006; Mititelu, 2008), such as the British National Corpus. Lexico-syntactic patterns can model semantic relations, such as hyponymy (the notion of hyponym-hypernym in the sense that if <i>L0 </i>is a (kind of) Li, then Li is hypernym to <i>L0 </i>(Hearst, 1992)). As reported by Mititelu (2008), some patterns' success rates reach 100%. Suchanek et al. (2008) also used <i>Wikipedia </i>as the information base. The authors extract facts from <i>Wikipedia</i>'s infoboxes and combine these with the category structure of <i>WordNet </i>into an ontology. In this way, they maintain a clearly-structured hierarchy of word senses, enriched by <i>Wikipedia</i>'s vast amount of information with a final precision of 95%.</p><footnote label="4">http://www.w3.org/TR/owl-ref/</footnote><page local="2" global="104"/></section><section number="3" title="Ontology Creation"><p>In order to examine our hypothesis, we designed a system, the <i>Ontology creator, </i>that extracts defi­nition relations from <i>Wikipedia </i>and converts them into a representation in <i>OWL. </i>Thus, in section 3.1 we introduce the system module that collects the articles. Further, in section 3.2, we introduce the parser that is used to assign grammatical structure to the individual sentences. Section 3.3 focuses on the lexico-syntactic patterns and section 3.4 ex­plains how a pattern match is represented in <i>OWL.</i></p><subsection number="3.1" title="Extracting from Wikipedia"><p>For the purpose of building a domain-specific ontology that concentrates on only one area of knowledge, it is necessary to collect articles that are highly topically-interlinked. Consequently, for the acquisition of articles from <i>Wikipedia, </i>we use a webcrawler, that starts with a given article and col­lects pages that have a referring link to it. We em­ploy the open-source webcrawler <i>JSpider<footnote anchor="5"/>, </i>which is a highly configurable Web Spider engine. It al­lows to limit the search to only one website, to set the depth into its structure as well as the MIME type and to restrict the number of resources to be fetched per site. These features are all important to keep the articles' topics as closely related as possi­ble. Currently, the depth level is set to two, which will produce a fair number of connected pages.</p></subsection><subsection number="3.2" title="Parsing Articles"><p>To gain a more accurate basis for the pattern search, the <i>Oc </i>uses the <i>Stanford parser </i>(Klein and Manning, 2003) to derive grammatical structures for each sentence. To bridge the stages from the HTML article to a usable list representation for the parser, we used the <i>DocumentPreprocessor<footnote anchor="6"/></i>.</p></subsection><subsection number="3.3" title="Building Lexico-Syntactic Patterns"><p>For extracting definitions from text, we make use of lexico-syntactic patterns indicative of the hy-ponymy relation. Since definitions represent state­ments about the world, they are often expressed in terms of each other, where one concept is used to define another one (Brachman, 1983). Hy-ponymy, or the <i>IS-A </i>link, is one of the most ba­sic types of conceptual relations for categorising classes of things in the world represented, carry­ing with it the notion of an explicit taxonomic hierarchy (Brachman, 1983). One deterministic characteristic of a taxonomic hierarchy is that all members inherit the properties of their respec­tive superclass by virtue of being an instance of that class <i>(inheritance of properties) </i>(Brachman, 1983). Classes can be made up of subclasses or individuals. Classes may be viewed as classifying types, since they are abstract concepts of physi­cal or virtual objects in the world. If a class is a subclass to another one, it will introduce a more specific concept than its superclass. Members of a class are instantiations of a particular class con­cept.</p><footnote label="5"> http://j-spider.sourceforge.net/</footnote><footnote label="6"> http://www.koders.com/java/</footnote><p>(1) <i>An apple is a fruit.</i></p><p>Example (1) is the explicit version of ordinary hy-ponymy, which allows the inheritance of lexical semantic properties. There are lexico-syntactic patterns for different semantic relations, although hyponymy seems to yield the most accurate re­sults. Yet, in order to use a specific pattern, one has to define how its variables are realised in nat­ural language (exemplified in (2)) (Hearst, 1992):</p><doubt alpha="61.1" length="36" tooSmall="False" monospace="0.0">(2)NPosuchasNPi,NP2...,(and | or)NPn</doubt><doubt alpha="59.0" length="39" tooSmall="False" monospace="0.0">for all NPi, 1 &lt; i &lt; n,hyponym(NPt,NP0)</doubt><p>Building a search pattern for the above exam­ple is realised when an <i>NP0 </i>(indicating the superclass) is represented by a single noun phrase consisting of a proper noun or a deter­miner, a noun and an optional adverbial phrase, whereas <i>NP1,NP2..., (and | or)NPn </i>may con­sist of more than one of the above noun phrases. Using these specifications to search for defini­tions in the sentence: <i>"Other forms of decep­tion, such as disguises or forgeries, are gen­erally not considered lies, though the under­lying intent may be the same.", </i>one obtain matches as: <i>hyponym("forgery","deception"), hyponym("disguise","deception").</i></p><p>The patterns that were integrated into the <i>Oc </i>(listed in table 1) were suggested by Hearst (1992) and extended by Mititelu (2008). We used a sub­set of them, consisting of those rated the highest (discarding patterns for lack of results or for per­formance reasons). We also modify pattern 11 to admit plural matches and synonyms. In order to optimise the pattern search, we use the <i>JRegex<footnote anchor="7"/> </i>library as well as <i>Commons Lang<footnote anchor="8"/>.</i><page local="3" global="105"/><i> </i><b>3.4  Data Processing</b></p><footnote label="7">http://sourceforge.net/projects/jregex/files/</footnote><p>In order to depict obtained definitions, we use an ontology representation. In the context of computer and information sciences, ontologies are meant to formally describe the terminological con­cepts and relationships that constitute a domain and generally provide a more common under­standing of it as well as one that can be communi­cated between humans and machines. Thus, an on­tology is a formally described, machine-readable collection or vocabulary of terms and their rela­tionships and is used for knowledge sharing and reuse. Ontologies are encoded into files using on­tology languages. A taxonomical ontology is the most common form of an ontology. It consists of a hierarchy of concepts which are related with spe­cialisation <i>IS-A </i>relationships (Lacy, 2005). <i>OWL </i>is one of the languages that can be used to de­fine ontologies and the associated individual data. For this project, we use the OWL <i>DL </i>dialect, as it supports consistency checks and reasoning and thus allows us to infer new facts from existing ones. The hyponymy relation in <i>OWL </i>can be ex­pressed through the use of the relation between a superclass and its subclasses or members. Since we have only general indications of what the var­ious matches can look like, we use a process­ing approach that is appropriate for most enti­ties. The first decision to be taken is whether to make a noun phrase into a new class or an indi­vidual. This, however, is only relevant for <i>NP\+i</i>since <b>NP</b>o always has instances and therefore al­ways constitutes a class. An individual is only created if all its substrings have been classified as proper nouns by the <i>Stanford parser, </i>other-</p><footnote label="8">http://commons.apache.org/lang/</footnote><p>Vanilla C Flavour &amp;</p><p>SubstanceWithFlavour:hasFlavour   some Flavour</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">n</doubt><p>Substance</p><figure caption="Figure 1: Complex subclass example in OWL"></figure><p>wise the current string is processed as a subclass. All modifiers are set to become subclasses of the predefined characteristicValues class and are linked to the respective class through the hasCharacteristic property. The number of superclasses/subclasses in a match is also de­pendent on the number of modifiers of both <b>NP0</b>and <i>NP\+i</i>. If we consider as an example the fol­lowing: <i>"... primitive animals, such as starfish ..." </i>that leads to the relation: <i>hyponym("starfish"-</i><i>NP</i><i>\,"primitive animal</i><i>"-NP0), </i>where a modifier of <b>NP0 </b>is present, there will be a class Animal, which will be superclass to PrimitiveAnimal in an intersection with hasCharacteristic some Primitive and Animal. This in turn will be superclass to the Starfish class. We assume that nouns that are modified by some ad­jective would constitute an own concept and will only be more specific through this addition.</p><p>Superclasses that consist of multiple nouns will not be subdivided any further, since one cannot as­sume that each noun by itself will actually consti­tute an own class or convey a separate concept in the same way. Figure 1 depicts the conversion of <i>NP</i>0 featuring a head with an of-complement as in <i>"... flavour of substance, such as vanilla,...". </i>In this case Flavour is made into a class with subclasses: Vanilla,...etc. and linked through a new property called hasFlavour, which has Flavour as its range, to the new SubstanceWithFlavour class, which will be subclass to a general Substance class.</p><p>This representation may not always be the most suitable, but concepts introduced by an of-complement<footnote anchor="9"/> do present a difficult case. The processing of <i>NP\+i </i>featuring an of-complement cannot be done in the same way, since there is no range for a possible property relation as in the pre­vious example. Furthermore, the concept intro­duced by it is usually already rather specific. Al­though <i>OWL </i>allows defining distinct members and disjoint classes to mark mutual distinctness, we cannot in general make all classes or individuals of a match mutually distinct/disjoint, since tests showed that two names, for instance, in an enu­meration sometimes refer to the same individual.<page local="4" global="106"/></p><footnote label="9">Apart from "of", "for" and "in" were also allowed in the relation.</footnote><table caption="Table 1: Patterns for the acquisition of definitions" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>No.</p></td><td class="cell"><p>Pattern</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1.</p></td><td class="cell"><p><i>NPo including NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2.</p></td><td class="cell"><p><i>NPo such as NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3.</p></td><td class="cell"><p><i>by such </i>NPo as <i>NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4.</p></td><td class="cell"><p><i>NP0 (mainly | mostly | notably | particularly |</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><i>usually | especially | principally) NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5.</p></td><td class="cell"><p><i>NP0 in particular NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>6.</p></td><td class="cell"><p><i>NPo like | except NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>7.</p></td><td class="cell"><p><i>NP0 for example NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>8</p></td><td class="cell"><p><i>NPo other than NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>9.</p></td><td class="cell"><p><i>state(=NPo) of*ment</i>(=NPi+i)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>10.</p></td><td class="cell"><p>NPo <i>i.e. | e.g. NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>11.</p></td><td class="cell"><p><i>NPo, (a) kind(s) | type(s) | form(s) </i><i>of</i><i> NPi+i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></subsection></section><section number="4" title="Experiments"><p>In order to investigate the system performance in regard to recall and precision, in section 4.1, we look at the performance overall and in section 4.2, we attempt to fine-tune the system to obtain the highest possible results in regard to precision.</p><subsection number="4.1" title="System Evaluation"><p>For the purpose of evaluating Oc's performance, its final output was compared to a gold-standard. Therefore, we let the program process 20 topically-related <i>Wikipedia </i>article extracts (a total of 641 sentences) and compare the results to the gold-standard analysis of the same sentences. The manual analysis was subject to various criteria. A definition relation was only recognised as relevant or correct if the subclass/individual clearly translated into a sub-concept/instance of the superclass. Moreover, it was also evaluated how useful or appropriate the match is. We do not count more complex concepts that consist ofa head with more than one of-complement or rela­tions where subclass and superclass are separated by extra nested relative clauses. A match, whether successful or not, consists of a superclass and its subclass/individual. Relations that are obtained by simple derivation of the system are not counted, for example "... <i>snacks such as nuts, dried fruit, ..." </i>results in: <i>hyponym("Nut","Snack"), hyponym("DriedFruit","Snack") </i>and <i>hy-ponym("DriedFruit","Fruit"). </i>Yet, the third relation is derivative from the entity itself and is therefore not counted.</p><p>Table 2 lists all matched relations and the ones that are appropriate but were not matched. Of 187 relations in the sample, 65 were captured and 122 were not retrieved. Further, we show detailed distribution of all matched relations, of which 52 were matched ideally, 7 incompletely (parts were missing) and 6 incorrectly. We also show the var­ious categories of relations that were not found. 73 are not retrieved because there is no appropri­ate capturing pattern yet, 2 are due to incorrectly-assigned parser tags and 47 matches are not found because of missing patterns. Thus, the <i>Oc </i>man­ages to reach a recall of 32% and precision of 80%. The Fi measure with recall and precision weighed equally lies at 46%. Yet, using an abundant source, such as <i>Wikipedia, </i>takes the burden from the gen­eral lack of data, which allows us to rate precision twice as high as recall. Thus, F0.5 marks a 62% overall system performance. A more systematic representation of the figures is shown in table 3.</p><subsubsection number="4.1.1" title="Reasons for Non-Retrieval"><table caption="Table 2 divides not matched relations into different categories:"></table><p><b>Missing Patterns:   </b>If we consider the sentence:</p><p><i>"Piquance is considered another such basic taste in the East.", </i>we see that a pattern, such as <i>NP</i><i>i </i><i>VP</i><i> </i>* <i>another such </i><i>NP</i><i>o </i>is needed. Similarly, in 73 of the 122 cases where relations are not cap­tured a new pattern can be added.</p><p><b>Ambigious Patterns: </b>Further, in 39% of the cases the appropriate pattern was also missing, but not as easy to replace as in the aforemen­tioned scenario. For example in: <i>"Couverture is a term used for chocolates rich in cocoa butter..." </i>the range, <i>"term used for chocolates rich in co­coa butter", </i>is a complex concept that is difficult to convert into one distinct superclass. An addi­tional problem is that the mechanism would go as far as <i>"term" </i>and then stop, resulting only in Cou­verture c Term. Although it is technically possible to check that there is no identifying clause following the prospective superclass, this has proved even for smaller cases to be extremely time-consuming and since the classic <i>IS-A </i>pattern did not account for many cases, it seemed wiser to forgo this op­tion and leave out the pattern entirely. An even more difficult matter is presented by <i>"The word cacao itself derives from the </i><i>Nahuatl, Aztec</i><page local="5" global="107"/></p><table caption="Table 2: System results." class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>relations</b></p></td><td class="cell"><p><b>count</b></p></td><td class="cell"><p><b>detailed</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>ideal</p></td><td class="cell"><p>52</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>matched</p></td><td class="cell"><p>65</p></td><td class="cell"><p>incomplete</p></td><td class="cell"><p>7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>parser error</p></td><td class="cell"><p>6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>missing pattern</p></td><td class="cell"><p>73</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>not matched</p></td><td class="cell"><p>122</p></td><td class="cell"><p>parser error</p></td><td class="cell"><p>2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>ambiguity</p></td><td class="cell"><p>47</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>total</p></td><td class="cell"><p>187</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 3: Precision, recall and f-measures ofOc." class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Precision</p></td><td class="cell"><p>0.80</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Recall</p></td><td class="cell"><p>0.32</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Fi-Measure</p></td><td class="cell"><p>0.46</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Fo.5-Measure</p></td><td class="cell"><p>0.62</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">n</doubt><p>Substance</p><p>Food,Poison c Flavour SubstanceWithFlavour:hasFlavour   some Flavour</p><figure caption="Figure 2: False processing example"></figure><p><i>language, </i><i>word cacahuatl..." </i>leading to <i>hy-ponym("Nahuatl","Aztec language"). </i>There is little in regard to distinguishing environment to seperate results of mere enumerations from one of two terms that are in a hyponymy relationship and separated by a comma. Such examples lead to a drastic reduction in precision. Thus, it seemed sensible to process more articles on the topic to compensate for potential matches of these cases.</p></subsubsection><subsubsection number="4.1.2" title="Captured Relations Issues"><p>Having described frequent issues connected to definitions that were not captured, we now exam­ine the ones that were retrieved. Even though with 80% the overall precision is reasonably satisfac­tory, we now also consider whether the respec­tively assigned representation in <i>OWL </i>is appropri­ate.</p><p><b>Patterns not Exclusive to Hyponymy: </b>In some cases incorrect processing is due to the fact that the pattern is not exclusive to hyponymy, but cov­ers simple non-hyponymy sentences as well, as in <i>"The majority of the Mesoamerican people made chocolate beverages, including Aztecs, who made... " </i>Yet, there are patterns that are more re­liable to produce hyponymy and for the benefit of higher precision, one can concentrate on those.</p><p><b>Incomplete: </b>The question of the appropriate representation in <i>OWL </i>is more difficult to eval­uate. Most issues concern heads with an of-complement as superclass, where it is not clear what the subsequent clause is referring to. In most cases the <i>OWL </i>results are not wrong, but in at least 2 cases they seem awkward. For example: <i>"It refers to the ability to detect the flavour of sub­stances such as food, certain minerals, and poi­sons, etc." </i>results in the structure in figure 2, while it should have processed as Food, Poison... c Sub­stance. This is partly due to the ambiguity resulting from the scope of the noun phrase referenced, for which the parser did not make any difference in structure. Thus, it is worthwhile to reconsider the way the of-complement is processed.</p><p>Creating an ontology from a small set of sentences, as was done here, is bound not to yield a large ontology. Our system obtained a total of 52 correct relations from searching 641 sen­tences. Most relations are topically-related, al­though there are some which are not, since re­ferring links sometimes bear only a remote rela­tion. In this ontology, which started on the term "chocolate", we also find facts about dialectolo-gists. Creating larger ontologies may circumvent such problems which <i>Wikipedia</i>'s ample resources would also allow. Yet, what is essential and ofpri-mary interest to us, is the ontology's correctness and appropriateness.</p></subsubsection></subsection><subsection number="4.2" title="Ontology Evaluation"><p>After both a quantitative and qualitative analysis of the <i>Oc, </i>which were able to highlight the more frequent issues in connection to pattern-based on­tology construction, we now concentrate on fur­ther enhancing precision. Recall can be increased by adding new patterns or widen the scope of the existing ones, although in our case it is essential not to compromise precision in any way. In this context, we choose to give precision a clear pri­ority, since we are not looking for as many rela­tions as possible, but for as many correct ones as possible. In order to further precision we concen­trate on more successful hyponymy patterns and use a larger sample to obtain more accurate re­sults. The articles were collected across a cou­ple of different topics to also test for the patterns' suitability independent of the genre. Since this is a larger sample, we are not able to make a close analysis of whether the match yielding a re­lation is appropriate, as we had done during the first test. Important is only whether the final rela­tion in the ontology is correct and appropriate in terms of content, superclass/subclass relation and processing, as we aim to determine the usefulness of the ontology overall. For the current experi­ment, we retained patterns: 2, 3, 4, 5, 8 and 9 (ta­ble 1). Table 4 depicts the final system results from it. The first row displays the number of re­trieved relations overall (1706), followed by the number of correct ones (81%) and incorrect ones<page local="6" global="108"/></p><table caption="Table 4: Ontology evaluation system results." class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>category</b></p></td><td class="cell"><p><b>count</b></p></td><td class="cell"><p><b>%</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Matched Relations</p></td><td class="cell"><p>1706</p></td><td class="cell"><p>100%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Correct Relations</p></td><td class="cell"><p>1389</p></td><td class="cell"><p>81%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Incorrect Relations</p></td><td class="cell"><p>317</p></td><td class="cell"><p>19%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Tomato c Fruit Tomato c Vegetable</p><figure caption="Figure 3: Contradictory facts"></figure><p>(19%). The of-complement matches appeared in 6% of all matched relations. The final system pre­cision based on the ontology evaluation is slightly higher than the precision we achieved by evalu­ating the general system performance, which is not surprising since building larger ontologies also leads to a more accurate evaluation as well as to more overlaps of facts, where incorrect ones some­times compromise correct ones. In the following part, we look at the different issues the resulting ontology poses and how they can be addressed in future research.</p><p><b>General Issues </b>One of the general issues that can be observed is a classification problem. A spe­cific entity is sometimes classified as two slightly controversial things. The facts in figure 3 both ap­pear in the ontology, resulting from a more bio­logical classification of tomato (fruit) and a maybe slightly more practical one (vegetable). Both facts are correct for their scope, but e.g. make it im­possible to have fruit and vegetable as disjoint classes. At the moment, there is no component that deals with this issue, as a relative correctness would maybe also depend on the application area. Issues with of-complements, as have already been described in 4.1, remain. In the current set, 6% of the matches had an of-complement. In gen­eral, the easiest option is to disregard matches with these grammatical structures completely, however, if genuine they do express a particular kind of re­lationship that would not be captured in quite the same way otherwise.</p><p><b>Necessary Additions </b>Until now, we had not in­cluded past participle in verb phrases. However, there are examples which show that this decision should be re-assessed: <i>"...NP JJ alcoholic NNS beverages, RB especially NP VBN distilled NNS beverages...". </i>Since "distilled" is disregarded, this yields the relations <i>hyponym("alcoholic bev-erage","beverage"), </i>which is derived from the su­perclass: "alcoholic" modifying "beverage", and <i>hyponym("beverage","alcoholic beverage") </i>and consequently, every "beverage" is also per defini­tion an "alcoholic beverage".</p><p>In addition, it would be beneficial to create more disjunct members or disjoint classes which would provide a possibility for a self-check in the Oc. Al­though, as has already been pointed out, classifica­tion issues may render this difficult.</p></subsection></section><section number="5" title="Conclusion and Future Work"><p>The overall aim of this project is to build consis­tent domain ontologies from facts obtained from websources, such as <i>Wikipedia. </i>In our work, a large number of relations remained unmatched, but the high precision encourages further research in this area. Since <i>Wikipedia </i>is an extremely big resource, one can afford losing prospective facts for the benefit of obtaining a more correct and hence more useful knowledge base. In order to enhance the <i>Oc, </i>it would be necessary to put more work towards the idea of disjointness and disjunct members in <i>OWL. </i>This way the resulting ontology would be more alert to irregularities. Further, one could evaluate the different patterns in regard to their respective ambiguity dimensions.</p></section><references><p>Ronald J. Brachman. 1983. What IS-A Is and Isn't: An Analysis of Taxonomic Links in Semantic Networks. <i>Computer, </i>16(10):30-36, Oct.</p><p>Marti A. Hearst. 1992. Automatic acquisition of hyponyms from large text corpora. In <i>Proceedings of the 14th confer­ence on Computational linguistics - Volume 2, </i>COLING '92, pages 539-545, Stroudsburg, PA, USA. ACL.</p><p>Marti A. Hearst. 1998. Automated discovery of WordNet relations. In <i>C. Fellbaum, WordNet: An Electronic Lexical Database, </i>pages 131-153. MIT Press.</p><p>Dan Klein and Christopher D. Manning. 2003. Fast Exact Inference with a Factored Model for Natural Language Parsing. In <i>Advances in Neural Information Processing Systems, </i>volume 15. MIT Press.</p><p>Lee W. Lacy. 2005. <i>Owl: Representing Information Using the Web Ontology Language. </i>Trafford Pub.</p><p>Verginica B. Mititelu. 2006. Automatic Extraction of Patterns Displaying Hyponym-Hypernym Co-Occurence from Corpora. In <i>Proceedings ofCESCL.</i></p><p>Verginica Barbu Mititelu. 2008. Hyponymy Patterns. In <i>Proceedings of the 11th international conference on Text, Speech and Dialogue, </i>TSD '08, pages 37-44, Berlin, Hei­delberg. Springer-Verlag.</p><p>Fabian M. Suchanek, Gjergji Kasneci, and Gerhard Weikum. 2008. YAGO: A Large Ontology from Wikipedia and . <i>J. Web Sem.</i></p></references></body></article>