<?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="79"/><title>Scaling Textual Inference to the Web</title><author surname="Schoenmackers" givenname="Stefan"><org  name="University of Washington" country="USA" city="Seattle"/></author><author surname="Etzioni" givenname="Oren"><org  name="University of Washington" country="USA" city="Seattle"/></author><author surname="Weld" givenname="Daniel"><org  name="University of Washington" country="USA" city="Seattle"/></author></firstpageheader><frontmatter><p><b>Scaling Textual Inference to the Web</b></p><p><b>Stefan Schoenmackers, Oren Etzioni, and Daniel S. Weld</b></p><p>Turing Center University of Washington Computer Science and Engineering Box 352350 Seattle, WA 98195, USA stef,etzioni,weld@cs.washington.edu</p></frontmatter><abstract>Q/A systems work by find-mtain an <i>explicit </i>answer to e systems are helpless if the inferred from multiple sen­n different pages. To solve introduce the Holmes sys- Figure 1: The architecture of Holmes. Most Web-based ing pages that c a question. Thes answer has to be tences, possibly this problem, we tem, which utilizes <i>textual inference </i>(TI) over tuples extracted from text. Whereas previous work on TI <i>(e.g., </i>the lit­erature on textual entailment) has been ap­plied to paragraph-sized texts, Holmes uti­lizes knowledge-based model construction to scale TI to a corpus of 117 million Web pages. Given only a few minutes, Holmes doubles recall for example queries in three disparate domains (geography, business, and nutrition). Importantly, Holmes's runtime is <i>linear </i>in the size of its input corpus due to a surprising property of many textual relations in the Web corpus—they are "approximately" functional in a well-defined sense. </abstract></header><body><section number="1" title="Introduction and Motivation"><p>Numerous researchers have identified the Web as a rich source of answers to factual questions, <i>e.g., </i>(Kwok et al., 2001; Brill et al., 2002), but often the desired information is not stated <i>explicitly </i>even in a textual corpus as massive as the Web. Consider the question "What vegetables help prevent osteoporo­sis?" Since there is likely no sentence on the Web directly stating "Kale prevents osteoporosis", a sys­tem must <i>infer </i>that kale is an answer by combining facts from multiple sentences, possibly from differ­ent pages, which justify that conclusion: <i>i.e., </i>that kale is a vegetable, kale contains calcium, and cal­cium helps prevent osteoporosis.</p><p><i>Textual Inference </i>(TI) methods have advanced in recent years. For example, textual entailment tech­niques aim to determine whether one textual frag­ment (the <i>hypothesis) </i>follows from another (the <i>text) </i>(Dagan et al., 2005). While most TI researchers have focused on high-quality inferences from a small source text, we seek to utilize sizable chunks of the Web corpus as our source text. In order to do this, we must confront two major challenges. The first is uncertainty: TI is an imperfect process, particularly when applied to the Web corpus, hence probabilistic methods help to assess the confidence in inferences. The second challenge is scalability: how does infer­ence time scale given increasingly large corpora as input?</p><subsection number="1.1" title="Holmes: A Scalable TI System"><p>This paper describes Holmes, an implemented sys­tem, which addresses both challenges by carrying out scalable, probabilistic inference over ground assertions extracted from the Web. The input to Ho lmes is a conjunctive query, a set of inference rules expressed as Horn clauses, and large sets of ground assertions extracted from the Web, WordNet, and other knowledge bases. As shown in Figure 1, Holmes chains backward from the query, using the inference rules to construct a forest of proof trees from the ground assertions. This forest is converted</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">79</doubt><p><i>Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing, </i>pages 79-88, Honolulu, October 2008. ©2008 Association for Computational Linguistics<page local="2" global="80"/></p><p>into a Markov network (a form of Knowledge-Based Model Construction (KBMC) (Wellman et al., 1992)) and evaluated using approximate prob­abilistic inference. Holmes operates in an <i>anytime </i>fashion — if desired it can keep iterating: search­ing for more proofs, and elaborating the Markov net­work.</p><p>Holmes makes some important simplifying as­sumptions. Specifically, we use simple ground tuples to represent extracted assertions <i>(e.g., </i>contains(kale, calcium)). Syntacticprob­lems <i>(e.g., </i>anaphora, relative clauses) and seman­tic challenges (e.g., quantification, counterfactuals, temporal qualification) are delegated to the extrac­tion system or simply ignored. This paper focuses on scalability for this subset of the TI task.</p></subsection><subsection number="1.2" title="Summary of Experimental Results"><p>We tested Holmes on 183 million distinct ground assertions extracted from the Web by the Tex-tRunner system (Banko et al., 2007), coupled with 159 thousand ground assertions from Word­Net (Miller et al., 1990), and a compact set of hand-coded inference rules. Given a total of 55 to 145 seconds, Holmes was able to produce high-quality inferences that doubled the number of answers to example queries in three disparate domains: geog­raphy, business, and nutrition.</p><p>We also evaluated how the speed of Holmes scaled with the size of its input corpus. In the general case, logical inference over a Horn theory (needed in order to produce the probabilistic net­work) is polynomial in the number of ground asser­tions, and hence in the size of the textual corpus.<footnote anchor="1"/>Unfortunately, this is prohibitive, since even low-order polynomial growth is fatal on a 117 million­page corpus, let alone the full Web.</p></subsection><subsection number="1.3" title="Why Holmes Scales Linearly"><p>Fortunately, the Web's long tail works in our favor. The relations we extract from text are <i>approximately pseudo-functional </i>(APF), as we formalize in Sec­tion 3, and this property leads to runtime that scales <i>linearly </i>with the corpus. To see the underlying in­tuition, consider the APF relation denoted by the phrase "is married to;" most of the time it maps a person's name to a small number of spousal names so this relation is APF. Section 3 shows why this APF property ensures linear scaling, and Section 4 demonstrates linear scaling in practice.</p><footnote label="1">In fact, it is P-complete — as hard as any polynomial-time problem.</footnote></subsection></section><section number="2" title="An Overview of H OLMES"><p>Holmes is a system designed to answer complex queries over large, noisy knowledge bases. As a mo­tivating example, we consider the question "What vegetables help prevent osteoporosis?" As of this writing, Google has no pages explicitly stating 'kale helps prevent osteoporosis', making it challenging to return "kale" as an answer. However, there are numerous web pages stating that "kale is high in cal­cium" and others declaring that "calcium helps pre­vent osteoporosis". If we could combine those facts we could easily infer that "kale" is an answer to the question "What vegetables help prevent osteoporo­sis?" Holmes was designed to make such infer­ences while accounting for uncertainty in the pro­cess.</p><p>Given a query, expressed as a conjunctive Datalog rule, Holmes generates a probabilistic model using knowledge-based model construction (KBMC) (Wellman et al., 1992). Specifically, Holmes utilizes fast, logical inference to find the subset of ground assertions and inference rules that may influence the answers to the query — enabling the construction of a small and focused Markov net­work. Since this graphical model is much smaller than one incorporating <i>all </i>ground assertions, prob­abilistic inference will be much faster than if naive compilation were used.</p><p>Figure 1 summarizes the operation of Holmes. As with many theorem provers or KBMC systems, Holmes takes three inputs:</p><p>1. A set of knowledge bases — databases of ground relational assertions, each with an estimate of its probability, which can be generated  by  TextRunner  (Banko  et al., our example, we would extract the as­sertions IsHighIn(kale, calcium) and Prevents(calcium,   osteoporosis) from those sentences.</p><doubt alpha="47.4" length="38" tooSmall="False" monospace="0.0">2007) or Kylin (Wu and Weld, 2007). In</doubt><p>2. A domain theory - A set of probabilis­tic inference rules written as Markov logic Horn clauses, which can be used to de­rive new assertions. The weight associ­ated with each clause specifies its reliability.</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">80</doubt><page local="3" global="81"/><p><b>kale matches the query</b> <b>broccoli matches the query</b></p><doubt alpha="70.0" length="10" tooSmall="True" monospace="0.0">Inf. Rule:</doubt><p>itive-Through<b>BB^ </b>high in <b>.^T^</b></p><doubt alpha="88.5" length="26" tooSmall="True" monospace="0.0">Transitive-Through high in</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">I</doubt><doubt alpha="71.9" length="32" tooSmall="True" monospace="0.0">Transitive-Through ~~    high in</doubt><p>Figure 2: Partial proof 'tree' (DAG) for the query "What vegetables help prevent osteoporosis?" Rectangles de­pict ground assertions from a knowledge base, rounded boxes are inferred assertions, and shaded squared repre­sent the application of inference rules. Holmes converts this DAG into a Markov network in order to estimate the probability of each node.</p><p>In Section 2.3 we identify several domain-independent rules, but a user may (optionally) specify additional, domain-specific rules if de­sired. In our example, we assume we are given the domain-specific rule: Prevents(X,Z) IsHighIn(X,Y)    APrevents(Y,Z)</p><p>3. A conjunctive query is specified as a Datalog rule. For example, the question "What vegeta­bles help prevent osteoporosis?" could be writtenas: query(X) IS-A(X,Vegetable) A Prevents(X,osteoporosis) and returns a set of answers to the query, each with an associated probability.</p><subsection number="2.1" title="Basic Operation"><p>To find these answers and their associated proba­bilities, Holmes first finds all ground assertions in the knowledge bases that are potentially relevant to the query. This is efficiently done using the infer­ence rules to chain backwards from the query. Note that the generated candidate answers, themselves, are less important than the associated proof trees. Furthermore, since Holmes uses these 'trees' (ac­tually, DAGs) to generate a probabilistic graphical model, Holmes seeks to find as many proof trees as possible for each query result — each may influ­ence the final belief in that result. Figure 2 shows a partial proof tree for our example query.</p><p>To handle uncertainty, Holmes now constructs a ground Markov network from the proof trees and the Markov-logic-encoded inference rules. Markov networks (Pearl, 1988) model the joint distribution of a set of variables by creating an undirected graph with one node for each random variable, and represent­ing dependencies between variables with cliques in the graph. Each clique has a corresponding poten­tial function &lt;&lt;k, which returns a non-negative value based on the state of variables in the clique. The probability of a state, x, is given by where the partition function Z is a normalizing term, and <i>X{k}</i><i> </i>denotes the state of all the variables in clique k.</p><doubt alpha="47.4" length="19" tooSmall="False" monospace="0.0">P(x)= 7II&lt;fc(x(fc})</doubt><p>Holmes converts the proof trees into a Markov network in a manner pioneered by the Markov Logic framework of Richardson and Domingos (2006). A Boolean variable is created to represent the truth of each assertion in the proof forest. Next, Holmes adds edges to the Markov network to create a clique corresponding to each application of an inference rule in the proof forest.</p><p>Following the Markov Logic framework, the po­tential function of a clique has form &lt;&lt;(x) = ew if all member nodes are true (w denotes the weight of the inference rule), and &lt;&lt;(x) = 1 otherwise. The proba­bilities of leaf nodes are derived from the underlying knowledge base,<footnote anchor="2"/> and inferred nodes are biased with an exponential prior.</p><p>Finally, Holmes computes the approximate probability of each answer by running a variant of loopy belief propagation (Pearl, 1988) over the Markov network. In our experience this method performs well on networks derived from our Horn clause proof forest, but one could use Monte Carlo techniques or even exact methods if desired.</p><p>Note that this architecture allows Holmes to combine information from <i>multiple </i>web pages to in­fer assertions not explicitly seen in the textual cor­pus. Because this inference is done using a Markov network, it correctly handles uncertain extractions and probabilistic dependencies. By using KBMC to create a custom, focused network for each query, the amount of probabilistic inference is reduced to man­ageable proportions.<page local="4" global="82"/></p><footnote label="2">In our experiments, ground assertions from WordNet get a uniformly high probability of correctness (0.9), but those ex­tracted from the Web are assigned probabilities derived from redundancy statistics, following the intuition that frequently ex­tracted facts are more likely to be true (Etzioni et al., 2005).</footnote><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">81</doubt><doubt alpha="100.0" length="5" tooSmall="True" monospace="0.0">Trans</doubt><table 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><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>1 Query Result</p></td><td class="cell"><p>Query Result</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>kale</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>kale</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>broccoli</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>broccoli</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>IS-A</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>helps prevent</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>IS-A</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>helps prevent</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>vegetable</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>osteoporosis</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>vegetable</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>osteoporosis</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(WordNet : 0.9)</p></td><td class="cell"><p></p></td><td class="cell"><p>t   (Inferred :,0.88) ,</p></td><td class="cell"><p></p></td><td class="cell"><p>(WordNet : 0.9)</p></td><td class="cell"><p></p></td><td class="cell"><p>(Inferred : 0.49) A</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><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table 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><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>kale</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>magnesium</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>kale</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>calcium</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>broccoli</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>is high in</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>helps prevent</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>is high in</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>helps prevent</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>is high in</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>magnesium</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>osteoporosis</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>calcium</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>osteoporosis</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>calcium</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(TextRunner 0 39)</p></td><td class="cell"><p></p></td><td class="cell"><p>(TextRunner : 0.39)</p></td><td class="cell"><p></p></td><td class="cell"><p>(TextRunner : 0.39)</p></td><td class="cell"><p></p></td><td class="cell"><p>(TextRunner 0 68)</p></td><td class="cell"><p></p></td><td class="cell"><p>(TextRunner : 0.39)</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><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></subsection><subsection number="2.2" title="Anytime, Incremental Expansion"><p>Because exact probabilistic inference is #P-complete, Holmes uses approximate methods, but even these techniques have problems if the Markov network gets too large. As a result, Holmes creates the network incrementally. After the first proof trees are generated, Holmes creates the model and per­forms approximate probabilistic inference. If more time is available then Holmes searches for addi­tional proof trees and updates the network (Fig­ure 1). This incremental process allows Holmes to return initial results (with preliminary probability estimates) as soon as they are discovered.</p><p>For efficiency, Holmes exploits standard Data­log optimizations <i>(e.g., </i>it only expands proofs of re­cently added nodes and it uses an approximation to magic sets (Ullman, 1989), rather than simple back­wards chaining). For tractability, we also allow the user to limit the number of transitive inference steps for any inference rule.</p><p>Holmes also includes a few enhancements for dealing with information extracted from natural lan­guage. For example, Holmes's inference rules sup­port substring/regex matching of ground assertions, to accommodate simple variations in text. Holmes also can be restricted to only operate over proper nouns, which is useful for queries involving named entities.</p></subsection><subsection number="2.3" title="Markov Logic Inference Rules"><p>Holmes is given the following set of six domain-independent rules, which are similar to the up­ward monotone rules introduced by (MacCartney and Manning, 2007).</p></subsection></section><section number="1." title="Observed relations are likely to be true:"><doubt alpha="66.7" length="33" tooSmall="False" monospace="0.0">R(X,Y) ObservedInCorpus(X,  R, Y)</doubt></section><section number="2." title="Synonym substitution preserves meaning:"><doubt alpha="60.6" length="33" tooSmall="False" monospace="0.0">Rtr(X',Y) Rtr(X,Y)ASynonym(X, X')</doubt><doubt alpha="57.1" length="35" tooSmall="False" monospace="0.0">3.Rtr(X,Y') Rtr(X,Y)ASynonym(Y, Y')</doubt></section><section number="4." title="Generalizations preserve meaning:"><doubt alpha="53.3" length="30" tooSmall="False" monospace="0.0">Rtr(X',Y) Rtr(X,Y)AIS-A(X, X')</doubt><doubt alpha="50.0" length="32" tooSmall="False" monospace="0.0">5.Rtr(X,Y') Rtr(X,Y)AIS-A(Y, Y')</doubt></section><section number="6." title="Transitivity of Part Meronyms:"><doubt alpha="57.6" length="33" tooSmall="False" monospace="0.0">Rtr(X,Y') Rtr(X,Y)APart-Of(Y, Y')</doubt><p>where Rtr matches '* in' (e.g., 'born in').</p><doubt alpha="58.7" length="46" tooSmall="False" monospace="0.0">For    example,    ifQ(X):-BornIn(X,'France'),</doubt><p>and we know from WordNet that Paris is in France, then by inference rule 6, we know that BornIn(x,'Paris') will yield valid results for Q(X) . Although all of these rules contain at most two relations in the body, Holmes allows an arbitrary number of relations in the query and rule bodies. However, we have found that even simple rules can dramatically improve some queries.</p><p>We set the rule weights to capture the intuition that deeper inferences decrease the likelihood (as there are more chances to make mistakes), whereas additional, independent proof trees increase the likelihood (as there is more supporting evidence). Specifically, in our experiments we set the prior on inferred facts to -0.75, the weight on rule 1 to 1.5, and the weights on all other rules to 0.6.</p><p>At present, we define these weights manually, but we expect to learn the parameter values in the future.</p></section><section number="3" title="Scaling Inference to the Web"><p>If TI is applied to a corpus containing hundreds of millions or even billions of pages, its run time has to be at most linear in the size of the corpus. This sec­tion shows that under some reasonable assumptions inference <i>does </i>scale linearly.</p><p>We start our analysis with two simplifications. First, we assume that the number of distinct, ground assertions in the KBs, grows at most linearly with the size of the textual corpus. This is cer­tainly true for assertions extracted by TextRunner and Kylin, and follows from our exclusion of texts with complex quantified sentences. Our analysis now proceeds to consider scaling with respect to |A| for a fixed query and set of inference rules.</p><p>Our second assumption is that the size of every proof tree is bounded by some constant, m. This is a strong assumption and one that depends on the precise set of inference rules and pattern of ground assertions. However, it holds in our experience, and if necessary could be enforced by terminating the search for proof trees at a certain depth, <i>e.g.</i>, log(m).</p><p>Holmes's knowledge-based model construction has two parts: construction of the proof forest and conversion of the forest into a Markov network. Since the Markov network is essentially isomorphic to the proof forest, the conversion will be if the forest is linear in size, which is ensured if the time to construct the proof trees is O(|      We show this in the remainder of this section.<page local="5" global="83"/></p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">82</doubt><p>Recall that Holmes requires inference rules to be function-free Horn clauses. While this limits ex­pressivity to some degree, it provides a huge speed benefit — logical inference over Horn clauses can be done in polynomial time, whereas general propo-sitional inference <i>(i.e., </i>from grounded first-order rules) is NP-complete.</p><p>Alas, even low-order polynomial blowup is un­acceptable when the textual corpus reaches Web scale; we seek linear growth. Intuitively, there are two places where polynomial expansion could cause trouble. First, the number of different <i>types </i>of proofs (i.e., first order proofs) could grow too quickly, and secondly, a given type of proof tree might apply to too many ground assertions ("tuples" in database lingo). We treat these issues in turn.</p><p>Under our assumptions, each proof tree can be represented as an expression in relational algebra with at most <i>m </i>equijoins (Ullman, 1989),<footnote anchor="3"/> each stemming from the application of an inference rule. Since the number of rules is fixed, as is m, there are a constant number of possible first-order proof trees.</p><p>The bigger concern is that any one of these first­order trees might result in a polynomial number of ground trees; if so, the size of the ground forest (and corresponding Markov network) could grow too quickly. In fact, polynomial growth is a common phenomena in database query evaluation. Luckily, most relations in the Web corpus behave more fa­vorably. We introduce a property of relations that ensures m-way joins, and therefore all proof trees up to size m, can be computed in O(| A|) time.</p><p>The intuition is that most relations derived from large corpora have a 'heavy-tailed' distribution, wherein a few objects appear many times in a rela­tion, but most appear only once or twice, thus joins involving rare objects lead to a small number of re­sults, and so the main limitation on scalability is common objects. We now prove that if these com­mon objects account for a small enough fraction of the relation, then joins will still scale linearly. We focus on binary relations, but these results can eas­ily be extended to relations of larger arity.</p><footnote label="3">Note that an inference rule of the form H(X)  :- R i (X,Y),R 2  (Y,Z) is equivalent to the algebraic expression n X  (R 1  ix R 2 ). First a join is performed between R 1  and R 2 testing for equality between values of Y ; then a projection elim­inates all columns besides X.</footnote><p><b>Definition 1 </b><i>A relation, R = </i>{(x^y^)} ç X x Y, <i>is </i>pseudo-functional <i>(PF) </i>in x with degree <i>k, if </i>Vx G X : |{y|(x,y) G R}| &lt; <i>k. When the precise variable and degree is irrelevant to discussion, we simply say "R is PF."</i></p><p>An m-way equijoin over relations that are PF in the join variables will have at most <i>km</i><i> </i>* |R| results. Since km is constant for a given join and |R| scales linearly in the size of the textual corpus, proof tree construction over PF relations also scales linearly.</p><p>However, due to their heavy-tailed distributions, most relations extracted from the Web fit the pseudo-functional definition in most, but not all values of X. Fortunately, it turns out that in most cases these "bad" values of X are rare and hence don't influence the join size significantly. We formalize this intu­ition by defining a class of approximately pseudo-functional (APF) relations and proving that joining two APF relations produces at most a linear number of results.</p><p><b>Definition 2 </b><i>A relation, R, is </i>approximately pseudo-functional <i>(APF) </i>in x with degree k, <i>if</i>X <i>can be partitioned into two sets </i>XG <i>and </i>XB <i>such that for all x </i>G XG R <i>is PF with degree k and</i> <b>Theorem 1.</b><b> </b><i>If relation R\ is APF in y with de­gree k\ and </i>R2 <i>is APF in y with degree </i>k2 <i>then the relation Q </i>= R<b>i </b><b>m </b>R2 <i>has size at most </i>O(max(|R<b>i</b>|, |R2|)).</p><doubt alpha="41.7" length="24" tooSmall="False" monospace="0.0">|{y|(x,y)gr}|&lt;k*iog(|R|)</doubt><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">x£Xß</doubt><p><b>Proof. </b>Since Ri and R2 are APF, we know that Y can be partitioned into four groups:  YBB =</p><doubt alpha="62.9" length="35" tooSmall="False" monospace="0.0">Yb1DYb2,Ybg= Yb1DYg2,Ygb= Yg1flYb2,</doubt><p>Ygg = YG1 fl YG2.<footnote anchor="4"/> We can show that each group leads to at most entries in Q. For <i>y </i>g Ybb</p><doubt alpha="66.3" length="291" tooSmall="False" monospace="0.0">there are at mostki*k2*1og(|Ri|)*1og(|R2|)en­tries inQ.The yG YGBand yG YBGlead to at mostki*k2*1og(|R2|)andki*k2*1og(|Ri|)entries, respectively. For yG Yggthere are at mostki*k2*max(|Ri|, |R2|).Summing the re­sults from the four partitions, we see that |Q|is O(max(|Ri|, |R2|)),thus it is □</doubt><p>This theorem and proof can easily be extended to</p><p><i>Yb b </i>are the "doubly bad" values of <i>y </i>that violate the PF definition for both relations, Ygg are the values that do not vio­late the PF definition for either relation, and YBG and YGB are the values that violate it in only R1 or R2, resp.</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">83</doubt><page local="6" global="84"/><p>an m-way equijoin, as long as each relation is APF in all arguments that are being joined. <b>Theorem 2. </b><i>If </i>Q <i>is the relation obtained by an equi-join over m relations </i>Ri..m, <i>each having size at most and if all </i>R<b>i_m </b><i>are APF in all arguments that they are joined in with degree at most kmax, and if </i><i>H  </i>1og(|R<b>i|) </b>&lt;      <i>then </i>|Q| <i>is</i></p><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">i&lt;i&lt;m</doubt><p>The inequality in Theorem 2 relates the sizes of the relations (| R| ), the join (m) and the number of ground assertions (| However, in many cases we are interested in much smaller values of m than the inequality enables. We can relax the APF definition to allow a broader, but still scalable, class of m-way-APF relations.</p><p><b>Corollary 3. </b><i>If</i>Q <i>is the relation obtained by an </i>m-<i>way join, and if each participating relation is APF in their joined variables with a bound of k</i><b><i>i </i></b>* |R<b>j| </b><i>instead of </i>ki * 1og(|Ri|), <i>then the join is</i></p><p>The final step in our scaling argument concerns probabilistic inference, which is #P-Complete if per­formed exactly. This is addressed in two ways. First, Holmes uses approximate methods, <i>e.g., </i>loopy be­lief propagation, which avoids the cost of exact in­ference — at the cost of reduced precision. Sec­ondly, at a practical level, Holmes's incremental construction of the graphical model (Figure 1) al­lows it to bound the size of the network by terminat­ing the search for additional proofs.</p></section><section number="4" title="Experimental Results"><p>This section reports on measurements that confirm that linear scaling with |A| occurs in practice, and that Holmes's inference is not only scalable but also improves precision/recall on sample queries in a diverse set of domains. After describing the exper­imental domains and queries, Section 4.2 reports on the boost to the area under the precision/recall curve for a set of example queries in three domains: ge­ography, business, and nutrition. Section 4.3 then shows that APF relations are very common in the Web corpus, and finally Section 4.4 demonstrates empirically that Holmes's inference time scales linearly with the number of pages in the corpus.</p><subsection number="4.1" title="Experimental Setup"><p>Holmes utilized two knowledge bases in these ex­periments: TextRunner and WordNet. Tex­tRunner contains approximately 183 million distinct ground assertions extracted from over 117 mil­lion web pages, and WordNet contains 159 thousand manually created IS-A, Part-Of, and Synonym asser­tions.</p><p>In all queries, Holmes utilizes the domain-independent inference rules described in Sec­tion 2.3. Holmes additionally makes use of two domain-specific inference rules in the Nutrition domain, to demonstrate the benefits of including domain-specific information. Estimating the preci­sion and relative recall of Holmes requires exten­sive and careful manual tagging of Holmes output. To make this feasible, we restricted ourselves to a set of twenty queries in three domains, but made the domains diverse to illustrate the broad scope of the system.</p><p>We now describe each domain briefly. <b>Geography: </b>the query issued is: "Who was born in one of the following countries?" More formally, is bound to each of the following nine countries in turn {France, Germany, China, Thailand, Kenya, Morocco, Peru, Columbia, Guatemala}, yielding a total of nine queries.</p><doubt alpha="63.6" length="44" tooSmall="False" monospace="0.0">Q(X)   :- BornIn(X,{country})where {country}</doubt><p>Because Web text often refers to a person's birth city rather than birth country, this query il­lustrates how combining an ground assertion <i>(e.g.,</i></p><p>BornIn(Alberto Fujimori, Lima)) with back­ground knowledge (e.g., LocatedIn(Lima,  Peru) )</p><p>enables the system to draw new conclusions <i>(e.g.,</i></p><p>BornIn(Alberto Fujimori,  Peru) ).</p><p><b>Business: </b>we issued the following two queries.</p><p>1) Which companies are acquiring software com­panies?      Formally,   Q(X)  :- Acquired(X, Y) A   Develops(Y,  'software')  This query tests Holmes's ability to scalably join a large number of assertions from multiple pages.</p><p>2) Which companies are headquartered in the</p><doubt alpha="64.3" length="56" tooSmall="False" monospace="0.0">USA?Q(X) :- HeadquarteredIn(X, 'USA')AIS-A(X, 'company')</doubt><p>Answering this query comprehensively requires Holmes to combine a join (over the relations Head-quarteredIn and IS-A) with transitive inference on PartOf (e.g., Seattle is PartOf Washington which is PartOf the USA) and on IS-A (e.g., Microsoft IS-A software company which IS-A company). The IS­A assertions came from both TextRunner (using patterns from (Hearst, 1992)) and WordNet.</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">84</doubt><page local="7" global="85"/><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.8</doubt><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">g'&lt;/&gt;o</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">(U</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.6</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.4</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.2</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1000</doubt><doubt alpha="57.7" length="26" tooSmall="False" monospace="0.0">2000 3000 Estimated Recall</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">4000</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">5000</doubt><p>Figure 3: PR Curve for BornIn(X, {country}). Inference boosts the Area under the PR Curve (AuC) by 102 %.</p><p>Table 1: Improvement in the AuC of Holmes over the Baseline and total inference time taken by Holmes. Results are summed over all queries in the geography, business, and nutrition domains. Inference time mea­sured on unoptimized prototype.</p><p><b>Nutrition: </b>the nine queries issued are instances of "What foods prevent disease?" Where a food is a member of one of the classes: fruit, vegetable, or grain, and a disease is one of: anemia, scurvy, or osteoporosis. More formally, Q(X, {disease}) :-</p><doubt alpha="62.5" length="40" tooSmall="False" monospace="0.0">Prevents(X,   {disease})AIS-A(X, {food})</doubt><p>Our experiments in the nutrition domain utilized two domain-specific inference rules in addition to the ones presented in Section 2.3:</p><p>Prevents(X,Y):-HighIn(X,Z)   A Prevents(Z,Y) Prevents(X,Y):-Contains(X,Z) A Prevents(Z,Y)</p></subsection><subsection number="4.2" title="Effect of Inference on Recall"><p>To measure the cost and benefit of Holmes's in­ference we need to define a baseline for compar­ison. Answering the conjunctive queries in the business and nutrition domains requires computing joins, which TextRunner does not do. Thus, we defined a baseline system, Baseline, which has access to the underlying Knowledge Bases (KBs) (TextRunner and WordNet), and the ability to compute joins using information explicitly stated in either KB, but does not have the ability to infer new assertions.</p><p>We compared Holmes with Baseline in all three domains. Figure 3 depicts the combined pre­cision/relative recall curves for the nine Geography queries. Holmes yields substantially higher re­call (the shaded region) at modestly lower preci­sion, doubling the area under the precision/recall curve (AuC). The other precision/recall curves also showed a slight drop in precision for substantial gains in recall. Table 1 summarizes the results, along with the total runtime needed for inference. Because relations in the business domain are much larger than in the other domains <i>(i.e., </i>100x ground asser­tions), inference is slower in this domain.</p><p>We note that inference is particularly helpful with rarely mentioned instances. However, inference can lead to errors when the proof tree contains joins on generic terms (e.g., "company") or common extrac­tion errors (e.g., "LLC" as a company name). This is a key area for future work.</p></subsection><subsection number="4.3" title="Prevalence of APF Relations"><p>To determine the prevalence of APF relations in Web text, we examined a sample of 500 binary relations selected randomly from TextRunner's ground as­sertions. The surface forms of the relations and ar­guments may misrepresent the true properties of the underlying concepts, so to better estimate the true properties we merged synonymous values as given by Resolver (Yates and Etzioni, 2007) or the most frequent sense of the word in WordNet. For exam­ple, we would consider BornIn(baby, hospital) and BornAt(infant,   infirmary) to represent the same concept, and so would merge them into one instance of the 'Born In' relation. The largest two re­lations had over 1.25 million unique instances each, and 52% of the relations had more than 10,000 in­stances.</p><p>For each relation R, we first found all instances of R extracted by TextRunner and merged all synonymous instances as described above. Then, for each argument of R we computed the smallest value, <i>K</i><b><i>min, </i></b>such that R is APF with degree Since many interesting assertions can be inferred by simply joining two relations, we also considered the special case of 2-way joins using Corollary 3. We computed the smallest value, <i>K2txl, </i>such that the re­lation is two-way-APF with degree <i>K2txl.</i></p><figure caption="Figure 4 shows the fraction of relations withKminandK2txlof at mostKas a function of varying"></figure><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">85</doubt><table 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>Domain</b></p></td><td class="cell"><p><b>Increase</b></p></td><td class="cell"><p><b>Total Inference</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><b>in AuC</b></p></td><td class="cell"><p><b>Time</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Geography</p></td><td class="cell"><p>+102%</p></td><td class="cell"><p>55 s</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Business</p></td><td class="cell"><p>+2,643%</p></td><td class="cell"><p>145 s</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Nutrition</p></td><td class="cell"><p>+5,595%</p></td><td class="cell"><p>64 s</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><page local="8" global="86"/><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">100%</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">« 80%</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">c</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">o</doubt><doubt alpha="37.5" length="8" tooSmall="False" monospace="0.0">■i 60%or</doubt><doubt alpha="16.7" length="6" tooSmall="False" monospace="0.0">■S 40%</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">CD</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">°- 20%</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">0%</doubt><doubt alpha="41.3" length="92" tooSmall="False" monospace="0.0">0       1000    2000    3000    4000    5000 6000 Degree of Approximate Pseudo-Functionality</doubt><p>Figure 4: Prevalence of APF relations in Web text. The x-axis depicts the <i>degree </i>of pseudo-functionality, e.g., <i>Kmin </i>and K2M, (see definition 2); the y-axis lists the percent of relations that are APF with that degree. Re­sults are averaged over both arguments.</p><p>values of K. The results are averaged over both ar­guments of each binary relation. For arbitrary joins in this KB, 80% of the relations are APF with de­gree less than 496; for 2-way joins (like the ones in our inference rules and test queries), 80% of the rela­tions are APF with degree less than 65. These results indicate that the majority of relations TextRunner extracted from text are APF, and so we can expect Holmes's techniques will allow efficient inference over most relations.</p><p>While Theorem 2 guarantees that joins over those relations will be O(|R|), that notation hides a poten­tially large constant factor of Kminm. Fortunately the constant factor is significantly smaller in prac­tice. To see why, we re-examine the proof: the large factor comes from assuming that <i>all </i>of R's first ar­guments which meet the PF definition are associated with exactly Kmin distinct second arguments. How­ever, in our corpus 83% of first arguments are as­sociated with only <i>one </i>second argument. Clearly, our worst-case analysis substantially over-estimates inference time for most queries. Moreover, in ad­ditional experiments (omitted due to space limita­tions), measured join sizes grew linearly in the size of the corpus, but were on average two to three or­ders of magnitude smaller than the bounds given in the theory. This observation held across relations with different sizes and values of Kmin.</p><p>While the results in Figure 4 may vary for other sets of relations, we believe the general trends hold. This is promising for Question Answering and Textual Inference systems, since if true it implies</p><p>♦ Geography ■ Business <b>i </b>Nutrition</p><doubt alpha="11.1" length="9" tooSmall="False" monospace="0.0">r2=0.9931</doubt><doubt alpha="7.7" length="26" tooSmall="False" monospace="0.0">r2=0.9808...«■■»■r2=0.9881</doubt><doubt alpha="34.8" length="46" tooSmall="False" monospace="0.0">20%       40%       60% 80% Fraction of Corpus</doubt><p>Figure 5: The effects of corpus size on total inference time. We see approximately linear growth in all domains, and display the best fit lines and coefficient of determina­tion (R<footnote anchor="2"/>) of each.</p><p>that combining information from multiple difference source is feasible, and can allow such systems to in­fer answers not explicitly seen in any source.</p></subsection><subsection number="4.4" title="Scalability of Inference Speed"><p>Since the previous subsection showed that most re­lations are APF in their arguments, our theory pre­dicts Holmes's inference will scale linearly. We tested this hypothesis empirically by running infer­ence over the test queries in our three domains, while varying the number of pages in the textual corpus.</p><p>Figure 5 shows how the inference time Holmes used to answer all queries in each domain scales with KB size. For these queries, and several oth­ers we tested (not shown here), inference time grows linearly with the size of the KB. Based on these re­sults we believe that Holmes can provide scalable inference over a wide variety of domains.</p></subsection></section><section number="5" title="Related Work"><p>Textual Entailment systems are given two textual fragments, text <i>T </i>and hypothesis <i>H</i>, and attempt to decide if the meaning of H can be inferred from the meaning of T (Dagan et al., 2005). While many approaches have addressed this problem, our work is most closely related to that of (Raina et al., 2005; MacCartney and Manning, 2007; Tatu and Moldovan, 2006; Braz et al., 2005), which convert the inputs into logical forms and then attempt to 'prove' H from T plus a set of axioms. For in­stance, (Braz et al., 2005) represents T, H, and a set of rewrite rules in a description logic framework, and determines entailment by solving an integer linear program derived from that representation.<page local="9" global="87"/></p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">86</doubt><table 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><b><i>f</i></b><b><i>------</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>s</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>/</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>/</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>1</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>1</i></b><b><i> </i></b><b><i>1</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>— APF</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>—APF for two-way join</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><table class="main" frame="box" rules="all" border="0" 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></p></td><td class="cell"><p>160</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>140</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>S</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>&lt;a</i></b><b><i> </i></b>120</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>E</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>i-</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><b>&lt;D</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Ü</p></td><td class="cell"><p>80</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>c</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>s?</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>_c</p></td><td class="cell"><p>60</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>40</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>o</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>H</b></p></td><td class="cell"><p>20</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>0</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><p>These approaches and related ones <i>(e.g., </i>(Van Durme and Schubert, 2008)) use highly expressive representations, enabling them to ex­press negation, temporal information, and more. Holmes's representation is much simpler— Markov Logic Horn Clauses for inference rules coupled with a massive database of ground asser­tions. However, this simplification allows Holmes to tackle a "text" of enormously larger size: 117 million Web pages versus a single paragraph. A sec­ond, if smaller, difference stems from the fact that instead of determining whether a single hypothesis sentence, H, follows from the text, Holmes tries to find all consequents that match a conjunctive query.</p><p>Holmes is also related to open-domain question-answering systems such as Mulder (Kwok et al., (Harabagiu et al., 2000; Brill et al., 2001). How­ever, these Q/A systems attempt to find individual documents or sentences containing the answer. They often perform deep analysis on promising texts, and back off to shallower, less reliable methods if those fail. In contrast, Holmes utilizes TI and attempts to combine information from multiple different sen­tences in a scalable way.</p><doubt alpha="52.2" length="46" tooSmall="False" monospace="0.0">2001), AskMSR (Brill et al., 2002), and others</doubt><p>While its ability to combine information from multiple sources is promising, Holmes has several limitations these Q/A systems do not have. Since Holmes relies on an information extraction sys­tem to convert sentences into ground predicates, any limitations of the IE system will be propagated to Holmes. Additionally, the logical representa­tion Holmes uses limits the reasoning and types of questions it can answer. Holmes is geared to­wards answering questions which are naturally ex­pressed as properties and relations of entities, and is not well suited to answering more abstract or open ended questions. Although we have demonstrated that Holmes is scalable, further work is needed to make it to run at interactive speeds.</p><p>Finally, research in statistical relational learning such as MLNs (Richardson and Domingos, 2006), RMNs (Taskar et al., 2002), and others (Getoor and Taskar, 2007) have studied techniques for com­bining logical and probabilistic inference. Our in­ference rules are more restrictive than those al­lowed in MLNs, but this trade-off allows us to efficiently scale inference to large, open domain cor­pora. By constructing only cliques for satisfied in­ference rules, Holmes explicitly models the intu­ition behind LazySAT inference (Singla and Domin­gos, 2006) as used in MLNs. <i>I.e., </i>most Horn clause inference rules will be trivially satisfied since their antecedents will be false, so we only need to worry about ones where the antecedent is true.</p></section><section number="6" title="Conclusions"><p>This paper makes three main contributions:</p><p>1. We introduce and evaluate the Holmes sys­tem, which leverages KBMC methods in order to scale a class of TI methods to the Web.</p><p>2. We define the notion of <i>Approximately Pseudo-Functional </i>(APF) relations and prove that, for a APF relations, Holmes's inference time in­creases <i>linearly </i>with the size of the input cor­pus. We show empirically that APF relations appear to be prevalent in our Web corpus (Fig­ure 4), and that Holmes's runtime does scale linearly with the size of its input (Figure 5), tak­ing only a few CPU minutes when run over 183 million distinct ground assertions.</p><p>3. We present experiments demonstrating that, for a set of queries in the domains of geography, business, and nutrition, Holmes substantially improves the quality of answers (measured by AuC) relative to a "no inference" baseline.</p><p>In the future, we plan more extensive tests to char­acterize when Holmes's inference is helpful. We also hope to examine in what cases jointly perform­ing extraction and inference (as opposed to perform­ing them separately) is feasible at scale. Finally, we plan to examine methods for Holmes to learn both rule weights and new inference rules.</p></section><section title="Acknowledgements"><p>We thank the following for helpful comments on previous drafts: Fei Wu, Michele Banko, Mausam, Doug Downey, and Alan Ritter. This research was 0312988, and IIS-0307906, ONR grants N00014-08-1-0431 and N00014-06-1-0147, CALO grant 03­000225, the WRF / TJ Cable Professorship as well as gifts from Google. The work was performed at the University of Washington's Turing Center.</p><doubt alpha="65.3" length="49" tooSmall="False" monospace="0.0">supported in part by NSF grants IIS-0535284, IIS-</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">87</doubt><page local="10" global="88"/></section><references><p>M. Banko, M. Cafarella, S. Soderland, M. Broadhead, and O. Etzioni. 2007. Open information extraction from the Web. In <i>Procs. ofIJCAI. </i>R. Braz, R. Girju, V. Punyakanok, D. Roth, and M. Sam-mons. 2005. An inference model for semantic en-tailment in natural language. In <i>Proceedings ofthe National Conference on Artificial Intelligence (AAAAI), </i>pages 1678-1679. E. Brill, J. Lin, M. Banko, S. T. Dumais, and A. Y. Ng. 2001. Data-intensive question answering. In <i>Procs. of Text REtrieval Conference (TREC-10), </i>pages 393­400.</p><p>Eric Brill, Susan Dumais, and Michele Banko. 2002. An analysis of the AskMSR question-answering system. In <i>EMNLP '02: Proceedings of the ACL-02 conference on Empirical methods in natural language processing, </i>pages 257-264, Morristown, NJ, USA. Association for Computational Linguistics. I. Dagan, O. Glickman, and B. Magnini. 2005. The PASCAL Recognising Textual Entailment Challenge. <i>Proceedings of the PASCAL Challenges Workshop on Recognising Textual Entailment, </i>pages 1-8. O. Etzioni, M. Cafarella, D. Downey, S. Kok, A. Popescu,</p><p>T. Shaked, S. Soderland, D. Weld, and A. Yates.</p><p>2005. Unsupervised named-entity extraction from the web: An experimental study. <i>Artificial Intelligence, </i>165(1):91-134. L. Getoor and B. Taskar. 2007. <i>Introduction to Statistical</i></p><p><i>Relational Learning. </i>MIT Press. S. Harabagiu, M. Pasca, and S. Maiorano. 2000. Exper­iments with open-domain textual question answering. In <i>Procs. of the COLING-2000. </i>M. Hearst. 1992. Automatic Acquisition of Hyponyms from Large Text Corpora. In <i>Procs. of the 14th In­ternational Conference on Computational Linguistics, </i>pages 539-545, Nantes, France. C.C.T. Kwok, O. Etzioni, and D.S. Weld. 2001. Scal­ing question answering to the Web. <i>Proceedings of the 10th international conference on World Wide Web, </i>pages 150-161. B. MacCartney and C.D. Manning. 2007. Natural Logic for Textual Inference. In <i>Workshop on Textual Entail-ment and Paraphrasing. </i>G. Miller, R. Beckwith, C. Fellbaum, D. Gross, and K. Miller. 1990. Introduction to wordnet: An on-line lexical database. <i>International Journal ofLexicogra-</i> <i>phy, </i>3(4):235-312.</p><p>Judea Pearl.   1988.  <i>Probabilistic reasoning in intelli­gent systems: networks of plausible inference. </i>Morgan Kaufmann Publishers Inc. San Francisco, CA, USA. Rajat Raina, Andrew Y. Ng, and Christopher D. Man­ning. 2005. Robust textual inference via learning and abductive reasoning. In <i>Proceedings of AAAAI 2005. </i>AAAI Press.</p><p>M. Richardson and P. Domingos. 2006. Markov Logic Networks. <i>Machine Learning, </i>62(1-2):107-136.</p><p>Parag Singla and Pedro Domingos. 2006. Memory-efficient inference in relational domains. In <i>AAAAI.</i></p><p>B. Taskar, P. Abbeel, and D. Koller. 2002. Discrimi­native probabilistic models for relational data. <i>Eigh­teenth Conference on Uncertainty in Artificial Intelli­gence (UAI02).</i></p><p>Marta Tatu and Dan Moldovan. 2006. A logic-based semantic approach to recognizing textual entailment. In <i>Proceedings of the COLING/ACL on Main confer­ence poster sessions, </i>pages 819-826, Morristown, NJ, USA. Association for Computational Linguistics.</p><p>J. Ullman. 1989. <i>Database and knowledge-base systems. </i>Computer Science Press.</p><p>B. Van Durme and L.K. Schubert. 2008. Open knowl­edge extraction through compositional language pro­cessing. In <i>Symposium on Semantics in Systems for Text Processing.</i></p><p>M. Wellman, J. Breese, and R. Goldman. 1992. From knowledge bases to decision models. <i>The Knowledge Engineering Review, </i>7(1):35-53.</p><p>F. Wu and D. Weld. 2007. Autonomously semantifying Wikipedia. In <i>Proceedings ofthe ACMSixteenth Con­ference on Information and Knowledge Management (CIKM-07), </i>Lisbon, Porgugal.</p><p>A. Yates and O. Etzioni. 2007. Unsupervised resolution of objects and relations on the Web. In <i>Procs. ofHLT.</i></p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">88</doubt></references></body></article>