ACL-OCL / Base_JSON /prefixE /json /emnlp /2020.emnlp-demos.10.json
Benjamin Aw
Add updated pkl file v3
6fa4bc9
{
"paper_id": "2020",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T11:08:42.697786Z"
},
"title": "COSATA: A Constraint Satisfaction Solver and Interpreted Language for Semi-Structured Tables of Sentences",
"authors": [
{
"first": "Peter",
"middle": [
"A"
],
"last": "Jansen",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "University of Arizona",
"location": {
"settlement": "Tucson",
"region": "AZ",
"country": "USA"
}
},
"email": "[email protected]"
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "This work presents COSATA, an intuitive constraint satisfaction solver and interpreted language for knowledge bases of semi-structured tables expressed as text. The stand-alone COSATA solver allows easily expressing complex compositional \"inference patterns\" for how knowledge from different tables tends to connect to support inference and explanation construction in question answering and other downstream tasks, while including advanced declarative features and the ability to operate over multiple representations of text (words, lemmas, or part-of-speech tags). COSATA also includes a hybrid imperative/declarative interpreted language for expressing simple models through minimally-specified simulations grounded in constraint patterns, helping bridge the gap between question answering, question explanation, and model simulation. The solver and interpreter are released as open source. 1",
"pdf_parse": {
"paper_id": "2020",
"_pdf_hash": "",
"abstract": [
{
"text": "This work presents COSATA, an intuitive constraint satisfaction solver and interpreted language for knowledge bases of semi-structured tables expressed as text. The stand-alone COSATA solver allows easily expressing complex compositional \"inference patterns\" for how knowledge from different tables tends to connect to support inference and explanation construction in question answering and other downstream tasks, while including advanced declarative features and the ability to operate over multiple representations of text (words, lemmas, or part-of-speech tags). COSATA also includes a hybrid imperative/declarative interpreted language for expressing simple models through minimally-specified simulations grounded in constraint patterns, helping bridge the gap between question answering, question explanation, and model simulation. The solver and interpreter are released as open source. 1",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "Performing inference for complex question answering typically requires combining multiple facts from a knowledge base to arrive at a correct answer, where this set of facts can then be used to generate detailed human-readable explanations for the reasoning behind those answers. Combining multiple facts to perform natural language inference is extremely challenging, with contemporary methods generally unable to reliably combine more than two facts together. This is a significant limitation, as even elementary science questions require an average of six (and, as many as 16) atomic facts to answer and explain Xie et al., 2020) -particularly when those explanations include detailed world knowledge. For example, 1 Demo: https://youtu.be/t93Acsz7LyE explaining the common process of an ice cube melting in sunlight (see Figure 1 ) can require a large number of facts, especially when those facts are expressed at a fine level of granularity. Compositional (or \"multi-hop\") inference solving methods tend to exist on a formality continuum. At one end of the continuum, logical or declarative methods (e.g. Lenat et al., 1990; Forbus, 2019) model a knowledge base as a set of assertions, and inference as sets of axioms and combinatorial rules acting on those assertions. While logical methods provide provably correct inference and detailed explanations, these methods tend to be brittle in practice (MacCartney and Manning, 2007) . At the other end of the formality continuum are inference methods that use unstructured text as knowledge (modeled at the level of the word (Fried et al., 2015) , sentence (Valentino et al., 2020) , or paragraph (Yang et al., 2018) ), which is typically combined using connectivity (e.g. Jansen et al., 2017) , embedding (e.g. Tu et al., 2020) , or other features. Due to the difficulty of combining free text (Jansen, 2018) , these methods typically reach peak performance when combining only a small number of facts together -typically two or three.",
"cite_spans": [
{
"start": 614,
"end": 631,
"text": "Xie et al., 2020)",
"ref_id": "BIBREF16"
},
{
"start": 1109,
"end": 1128,
"text": "Lenat et al., 1990;",
"ref_id": "BIBREF10"
},
{
"start": 1129,
"end": 1142,
"text": "Forbus, 2019)",
"ref_id": "BIBREF3"
},
{
"start": 1403,
"end": 1433,
"text": "(MacCartney and Manning, 2007)",
"ref_id": "BIBREF11"
},
{
"start": 1576,
"end": 1596,
"text": "(Fried et al., 2015)",
"ref_id": "BIBREF4"
},
{
"start": 1608,
"end": 1632,
"text": "(Valentino et al., 2020)",
"ref_id": "BIBREF15"
},
{
"start": 1648,
"end": 1667,
"text": "(Yang et al., 2018)",
"ref_id": "BIBREF17"
},
{
"start": 1724,
"end": 1744,
"text": "Jansen et al., 2017)",
"ref_id": "BIBREF6"
},
{
"start": 1763,
"end": 1779,
"text": "Tu et al., 2020)",
"ref_id": "BIBREF14"
},
{
"start": 1846,
"end": 1860,
"text": "(Jansen, 2018)",
"ref_id": "BIBREF5"
}
],
"ref_spans": [
{
"start": 824,
"end": 832,
"text": "Figure 1",
"ref_id": null
}
],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "A middle-ground exists between these two extremes, where semi-structured knowledge bases of text (such as tables) are used to support multi-hop inference (e.g. Sun et al., 2016) . This approach offers many practical benefits, such as ease of knowledge base creation (over logical decomposition methods), and providing structure to help infer when combining facts is appropriate (versus free text methods). In spite of these benefits, it is often still challenging to implement inference models that compose (or \"hop\" between) facts expressed in tables of language data in practice, and practitioners tend to resort to using complex models (such as integer linear programming (e.g. TableILP; Khashabi et al., 2016) ) that significantly increase development time and limit interpretability, maintainability, and reuse.",
"cite_spans": [
{
"start": 160,
"end": 177,
"text": "Sun et al., 2016)",
"ref_id": "BIBREF13"
},
{
"start": 691,
"end": 713,
"text": "Khashabi et al., 2016)",
"ref_id": "BIBREF9"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "This work presents an easy-to-use scripting language paired with an open source solver and interpreter designed to make compositional inference over semi-structured knowledge bases of tables easy, particularly when those tables express knowledge as lightly structured sentences. The contributions of this work are: The language also supports a suite of imperative features for expressing and executing models. In this paradigm, each pattern is considered a process that, if executed, imparts some change upon a small model of the world (such as an object warming from heat transfer) by executing a pattern code block. Agents, physical objects, and environments in the model are represented as objects, here sets of property-value pairs. A control script imports a library of patterns, initializes objects, and executes a small subset of patterns in a particular order to create a simulation. A state space keeps a log of each object, it's properties, the patterns executed, and their resulting changes, to form a detailed and human-readable record of a simulation performed to arrive at a particular inference. Row Name Table Row som1 a <solid> is a kind of \"state of matter\" som2 a <liquid> is a kind of \"state of matter\" cos <melting> is a kind of \"change of state\" somprop \"state of matter\" is a property of a <substance> point a <melting point> is a kind of \"phase transition point\" change <melting> means the \"state of matter\" of <substance> changes from a <solid> into a <liquid> by <increasing> \"heat energy\" thresh <melting> occurs when the temperature of a <substance> is <increased> <above> the substance 's <melting point> heatcool <heating> means the \"heat energy\" of a substance is <increased> (b) An example enumerated solution of the above constraint pattern. strings (words, lemmas, or part-of-speech tags) and variables. Elements can be combined with simple boolean operations, as well as advanced booleans (e.g. optional elements, enumerative ANDs that automatically determine variable spans). Example constraint expressions are shown in Table 1 .",
"cite_spans": [],
"ref_spans": [
{
"start": 1120,
"end": 1135,
"text": "Table Row som1",
"ref_id": "TABREF3"
},
{
"start": 2057,
"end": 2064,
"text": "Table 1",
"ref_id": "TABREF5"
}
],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Inheritance and Composite Patterns: Similar to object oriented programming, patterns can contain their own table row constraints, and/or inherit their table row constraints from one or more other patterns. This enables software engineering practices like problem decomposition into objects to be applied to constraint patterns. For example, the ChangeOfStateWithSubstanceFromTo pattern in Table 4 inherits table row constraints from three other patterns: one that describes the general concept of changes of state, another that describes the idea of a substance having a particular melting or boiling point, and a final pattern describing the substance being in it's changed state. Because of this decomposition, these smaller generic patterns are available for reuse in other patterns.",
"cite_spans": [],
"ref_spans": [
{
"start": 389,
"end": 415,
"text": "Table 4 inherits table row",
"ref_id": "TABREF3"
}
],
"eq_spans": [],
"section": "Declarative: Constraints over tables",
"sec_num": "2.1"
},
{
"text": "Objects: Objects are expressed as lists of propertyvalue pairs that can be added, modified, or executed against. For example, an object named ice cube might have properties location:fridge and temperature:-4C.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Imperative: Executable Micro-Models",
"sec_num": "2.2"
},
{
"text": "Pattern Code Block: Each pattern can contain an imperative code block that, if executed, typically imparts changes to the objects or knowledge base suggestive of a particular process having taken place. For example, a heatTransfer pattern might have rows that match on any two objects that are touching, while its code block could decrease the temperature of the warmer object, and increase the temperature of the cooler object. Similarly, the code block in Figure 4 changes the state of matter of an object (for example from a solid to a liquid).",
"cite_spans": [],
"ref_spans": [
{
"start": 458,
"end": 466,
"text": "Figure 4",
"ref_id": null
}
],
"eq_spans": [],
"section": "Imperative: Executable Micro-Models",
"sec_num": "2.2"
},
{
"text": "Example 1: Single variable assignment Expression: ORGANISM: <organismName> Cell Text: \"large green plants\" Variables: <organismName> = \"large green plants\"",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Imperative: Executable Micro-Models",
"sec_num": "2.2"
},
{
"text": "Example 2: Boolean AND with variables and strings Expression: LOCATION: \"in\" + <northSouth> + \"hemisphere\" Cell Text: \"in the northern hemisphere\" Variables: <northSouth> = \"northern\"",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Imperative: Executable Micro-Models",
"sec_num": "2.2"
},
{
"text": "Example 3: Matching part-of-speech tags Expression: TIME: <month> + \"POS:CD\" Cell Text: \"June 21st\" Variables: <month> = \"June\"",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Imperative: Executable Micro-Models",
"sec_num": "2.2"
},
{
"text": "Example 4: Enumerative AND (multiple adjacent variables) Expression: BY_THROUGH: <incDec> + <energy> Cell Text: \"increasing heat energy\" Variables: Two possible enumerations provided for constraint satisfaction: <incDec> = \"increasing\", <energy> = \"heat energy\", or <incDec> = \"increasing heat\", <energy> = \"energy\"",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Imperative: Executable Micro-Models",
"sec_num": "2.2"
},
{
"text": "Example 5: Optional elements Expression: DURATION: <dur1> + * \"to\" + < * dur2> + \"hour\" Cell Text: \"two to four hours\" Variables: Two possible enumerations provided for constraint satisfaction: <dur1> = \"two\", <dur2> = \"four\", or <dur1> = \"two to four\", <dur2> = <unpopulated opt> Requirements Specification: Code typically requires certain preconditions to be satisfied for execution to be valid, such as heatTransfer requiring two objects that have non-empty temperature properties. Patterns have specific functions for verifying that preconditions are met, as well as levels of preconditions (required, or recommended).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Imperative: Executable Micro-Models",
"sec_num": "2.2"
},
{
"text": "Model Control Script: Models take the form of small, easily-composed control scripts that import a library of patterns, initialize the objects required for a model, then sequentially execute a series of patterns that impart changes on those objects. For example, the control script in Figure 3 initializes three objects: an ice cube, freezer, and outside environment. The ice cube begins in the freezer, and is then moved to the outside environment. Heat transfer happens between the ice cube and outside environment until the ice cube meets the conditions for a Change of State. The Change of State then happens, in this case melting, changing the ice cube's state of matter property from solid to liquid.",
"cite_spans": [],
"ref_spans": [
{
"start": 285,
"end": 293,
"text": "Figure 3",
"ref_id": null
}
],
"eq_spans": [],
"section": "Imperative: Executable Micro-Models",
"sec_num": "2.2"
},
{
"text": "Both the constraint satisfaction solver and interpreter are implemented in Scala, with Stanford CoreNLP (Manning et al., 2014) used to provide tokenization, lemmatization, and part-of-speech tags for the knowledge base of tables. The solver pipeline first creates shortlists of rows that may potentially satisfy individual table row constraints for Figure 3 : An example micro-model control script (numbered states and instructions) with three objects (ice cube, outside environment, freezer), and the resulting state space changes (red highlights). This control script simulates the result of leaving an ice cube outside of a freezer. The full script and COSATA interpreter output is provided in the distribution.",
"cite_spans": [],
"ref_spans": [
{
"start": 349,
"end": 357,
"text": "Figure 3",
"ref_id": null
}
],
"eq_spans": [],
"section": "Solver and Interpreter",
"sec_num": "3"
},
{
"text": "each pattern, then implements a backtrack search (e.g. Davis et al., 1962) to exhaustively find all combinations of table rows that meet the constraints for a given pattern (each unique collection of table rows that satisfies a given pattern is termed a solution of that pattern). 2 While some powerful declarative features (such as enumerative ANDs with automatic variable span detection) are expensive to evaluate, nearly all stages of evaluation are multi-threaded for speed, and rely heavily on precomputed look-up tables for evaluating constraint expressions. In practice, the patterns presented in Section 4 below are typically evaluated in between several seconds to a few minutes each.",
"cite_spans": [
{
"start": 55,
"end": 74,
"text": "Davis et al., 1962)",
"ref_id": "BIBREF2"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Solver and Interpreter",
"sec_num": "3"
},
{
"text": "inferencepattern ChangeOfStateWithSubstanceFromTo patterndescription = \"Change the state of a substance from \" + COS.<SOM1> + \" to \" + COS.<SOM2> // Requirements: This pattern acts on a single object (sub1), that is a kind of substance, and should have a state of matter. require instance sub1 = [KINDOF:\"substance\"] shouldhave (sub1.\"state of matter\" != \"\") // Composite requirements: This pattern inherits rows from 3 other patterns infpat COS = changeStateOfMatter // Change of state (fundamentals, requirements, etc.) infpat fromSOM = substanceInSOMWithPhaseTransitionPoint // A substance, and its melting/boiling/freezing point infpat toSOM = substanceInSOM // A substance, in a particular state of matter rowequiv COS.som1 = fromSOM.subSOM.som // To be valid, COS.som1 and fromSOM.subSOM.som should be the same fact. rowequiv COS.som2 = toSOM.som // To be valid, COS.som2 and toSOM.som should be the same fact.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Solver and Interpreter",
"sec_num": "3"
},
{
"text": "instmap sub1 = COS.substance1 // The substance in this pattern refers to the same substance in the instmap sub1 = fromSOM.substance // changeStateOfMatter (COS), substanceInSOMWithPhaseTransitionPoint (fromSOM), instmap sub1 = toSOM.substance // and substanceInSom (toSOM) patterns.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Solver and Interpreter",
"sec_num": "3"
},
{
"text": "// Additional constraints // Combined patterns must be talking about the same (melting/boiling/freezing) point, and same material, to be valid. musthaveoromit(COS.<PhaseTransitionPoint> == fromSOM.<PhaseTransitionPoint>) musthaveoromit(fromSOM.<materialName> == toSOM.<materialName>) // The substance object (sub1) should be in state of matter <SOM1>, and have changed temperature above/below <pointTemp>. musthave(sub1.\"state of matter\" == COS.<SOM1>) musthave(sub1.\"temperature\" CHANGE [direction:COS.<tempDir> threshold:fromSOM.<pointTemp>])",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Solver and Interpreter",
"sec_num": "3"
},
{
"text": "// Row definitions: All rows in this pattern are inherited from COS, fromSOM, and toSOM. // Code: Run the imperative code below if a given enumeration of this pattern is executed. // If the object (sub1) recently changed temperature above/below <pointTemp>, and is in state of matter <SOM1> if ((sub1.\"temperature\" CHANGE [direction:COS.<tempDir> threshold:fromSOM.<pointTemp>]) && (sub1.\"state of matter\" == COS. <SOM1>)) then // Set the object (sub1)'s new state of matter to be <SOM2> sub1.\"state of matter\" = COS.<SOM2> // Add a human-readable explanation to the state space describing what this inference pattern did. addExplanationText(\"Substance (\" + sub1.\"name\" + \") made of (\" + sub1.\"material\" + \") is within the temperature range to change from a (\" + COS.<SOM1> + \") to a (\" + COS.<SOM2> + \").\") endif endinferencepattern Inference Pattern: ChangeOfStateWithSubstanceFromTo Inherited Pattern 1: COS:changeStateOfMatter Row Name Table Row som1 a <solid> is a kind of \"state of matter\" som2 a <liquid> is a kind of \"state of matter\" cos <melting> is a kind of \"change of state\" somprop \"state of matter\" is a property of a <substance> point a <melting point> is a kind of \"phase transition point\" change <melting> means the \"state of matter\" of <substance> changes from a <solid> into a <liquid> by <increasing> \"heat energy\" thresh <melting> occurs when the temperature of a <substance> is <increased> <above> the substance 's <melting point> heatcool <heating> means the \"heat energy\" of a substance is <increased> Inherited Pattern 2: fromSOM:substanceInSOMWithPhaseTransitionPoint Row Name Table Row somHasPoint a <solid> has a <melting point> point1 the <melting point> of <water> is <0.0> <C> fromSOM.subSOM:substanceInSOM (nested) Row Name Table Row som a <solid> is a kind of \"state of matter\" propSomTemp the <water> is in the <solid> state, called <ice>, for temperatures below 0.0 C Inherited Pattern 3: toSOM:substanceInSOM Row Name Table Row som a <liquid> is a kind of \"state of matter\" propSomTemp the <water> is in the <liquid> state, called <water>, for temperatures between 0.0 C and 100.0 C Figure 4 : (Top) An example composite pattern that (i) inherits row constraints from three other simpler patterns, and (ii)",
"cite_spans": [],
"ref_spans": [
{
"start": 940,
"end": 955,
"text": "Table Row som1",
"ref_id": "TABREF3"
},
{
"start": 1605,
"end": 1627,
"text": "Table Row somHasPoint",
"ref_id": "TABREF3"
},
{
"start": 1759,
"end": 1773,
"text": "Table Row som",
"ref_id": "TABREF3"
},
{
"start": 1958,
"end": 1972,
"text": "Table Row som",
"ref_id": "TABREF3"
},
{
"start": 2124,
"end": 2132,
"text": "Figure 4",
"ref_id": null
}
],
"eq_spans": [],
"section": "Solver and Interpreter",
"sec_num": "3"
},
{
"text": "includes imperative code that effects the change described by the constraint satisfaction pattern. (Bottom) One example solution of this pattern, melting ice into liquid water. All other combinations of state changes (e.g. freezing, boiling) for all substances described in the knowledge base of semi-structured tables are also enumerated, but not shown here for space.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Solver and Interpreter",
"sec_num": "3"
},
{
"text": "Here the feasibility of generating constraint patterns (for downstream processing) or executable patterns (for modeling) is empirically demonstrated in the context of generating detailed multi-hop explanations to standardized elementary and middle school science exam questions drawn from the AI2 Aristo Reasoning Challenge (Clark et al., 2018) .",
"cite_spans": [
{
"start": 324,
"end": 344,
"text": "(Clark et al., 2018)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Example Solutions",
"sec_num": "4"
},
{
"text": "The explanation regeneration task (Jansen and Ustalov, 2019) requires models to reconstruct large multi-fact gold explanations by selecting a set of interconnected facts from a knowledge base that match gold explanations provided in an explanation corpus. The task is very challenging, and current state-of-the-art models (e.g. Das et al., 2019) achieve nearly all of their performance by evaluat- Table 2 : Ceiling performance of the converted explanatory patterns from the WorldTree V2 corpus evaluated using COSATA on the explanation regeneration task.",
"cite_spans": [
{
"start": 34,
"end": 60,
"text": "(Jansen and Ustalov, 2019)",
"ref_id": "BIBREF7"
},
{
"start": 328,
"end": 345,
"text": "Das et al., 2019)",
"ref_id": "BIBREF1"
}
],
"ref_spans": [
{
"start": 398,
"end": 405,
"text": "Table 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "Explanation Regeneration",
"sec_num": "4.1"
},
{
"text": "ing facts independently rather than jointly. The Worldtree V2 corpus (Xie et al., 2020) includes detailed multi-fact explanations for 4,400 standardized science exam questions grounded in a knowledge base of 63 tables and approximately 10k table rows, as well as a set of 353 semi-automatically authored collections of facts surrounding specific subtopics, such as changes of state, inherited characteristics, or seasonal changes in daylight. Here, those 353 inference patterns were converted to the COSATA constraint language using a prototype automatic converter, and all solutions to each pattern were enumerated with the COSATA solver. 42 of the automatically converted patterns were selected based on frequency of use for manual curation, where they were further abstracted, decomposed, and debugged. Ceiling performance on the explanation regeneration task was calculated for a shortlist of ranked solutions, in terms of both single solutions, and combinations of up to 3 solutions, with results shown in Table 2 . Performance is evaluated in terms of accuracy (proportion of gold rows included in the explanation) and the average number of \"extra\" facts included in the solutions but not included in the gold explanation. The results show that the pattern solutions enumerated by COSATA have a ceiling performance of regenerating up to 58% of gold explanations when using a single solution, and up to 78% when combining up to three solutions. This empirically demonstrates the potential utility of using COSATA patterns as input to downstream inference models that are able to accurately select which patterns to combine to generate an explanation. The inference patterns in this experiment and their solutions are included as examples in the distribution.",
"cite_spans": [
{
"start": 69,
"end": 87,
"text": "(Xie et al., 2020)",
"ref_id": "BIBREF16"
}
],
"ref_spans": [
{
"start": 1011,
"end": 1018,
"text": "Table 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "Explanation Regeneration",
"sec_num": "4.1"
},
{
"text": "Constructing micro-models from scratch requires (i) authoring a knowledge base of semi-structured tables, (ii) authoring patterns that reference those tables (such as those in Figures 2 and 4) , and (iii) constructing micro-model control scripts (such as the example in Figure 3 ) that describe, in a short series of steps, how processes interact with objects and agents to reach a given outcome.",
"cite_spans": [],
"ref_spans": [
{
"start": 176,
"end": 192,
"text": "Figures 2 and 4)",
"ref_id": "FIGREF1"
},
{
"start": 270,
"end": 278,
"text": "Figure 3",
"ref_id": null
}
],
"eq_spans": [],
"section": "Micro-models and Interpreter",
"sec_num": "4.2"
},
{
"text": "To demonstrate this workflow, a series of 23 patterns including imperative code were authored for topics in heat transfer and changes of state, as well as a supporting semi-structured knowledge base containing several hundred facts across 21 tables including taxonomic relations, locations of common objects, processes causing discrete changes, and physical properties of substances. To support this effort, a prototype IDE called Procession (shown in Figure 5 ) was implemented using ELECTRON that integrates a table-editor (including D3-based visual taxonomy editor), MONACO-based code editor, and side-to-side debugger/editor for micro-model control scripts that enables fast debug cycles. These example imperative patterns and the resulting interpreter output of the control scripts are included as examples in the distribution.",
"cite_spans": [],
"ref_spans": [
{
"start": 452,
"end": 460,
"text": "Figure 5",
"ref_id": "FIGREF3"
}
],
"eq_spans": [],
"section": "Micro-models and Interpreter",
"sec_num": "4.2"
},
{
"text": "COSATA is an open-source constraint satisfaction solver for easily expressing and evaluating multifact compositional patterns in semi-structured tables of text, paired with an interpreted language that allows expressing micro-models. The tool, source, examples, and documentation are available at http://www.github.com/clulab/cosata/ .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "5"
},
{
"text": "Constraint satisfaction solvers are typically formulated to efficiently find a single solution that satisfies the constraints. In contrast, the solver presented in this work finds all possible solutions that can then be used for downstream processing.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
}
],
"back_matter": [
{
"text": "Thanks to Sebastian Thiem, who assisted in conducting the ceiling test of the WorldTree V2 patterns, and to Peter Clark for thoughtful discussions. The prototype IDE was developed in part under contract by Soft Design SRL. This work supported in part by the National Science Foundation (NSF Award #1815948, \"Explainable Natural Language Inference\", to PJ).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Acknowledgments",
"sec_num": null
}
],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "Think you have solved question answering? try arc, the ai2 reasoning challenge",
"authors": [
{
"first": "Peter",
"middle": [],
"last": "Clark",
"suffix": ""
},
{
"first": "Isaac",
"middle": [],
"last": "Cowhey",
"suffix": ""
},
{
"first": "Oren",
"middle": [],
"last": "Etzioni",
"suffix": ""
},
{
"first": "Tushar",
"middle": [],
"last": "Khot",
"suffix": ""
},
{
"first": "Ashish",
"middle": [],
"last": "Sabharwal",
"suffix": ""
},
{
"first": "Carissa",
"middle": [],
"last": "Schoenick",
"suffix": ""
},
{
"first": "Oyvind",
"middle": [],
"last": "Tafjord",
"suffix": ""
}
],
"year": 2018,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {
"arXiv": [
"arXiv:1803.05457"
]
},
"num": null,
"urls": [],
"raw_text": "Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. 2018. Think you have solved question an- swering? try arc, the ai2 reasoning challenge. arXiv preprint arXiv:1803.05457.",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "Chains-of-reasoning at textgraphs 2019 shared task: Reasoning over chains of facts for explainable multihop inference",
"authors": [
{
"first": "Rajarshi",
"middle": [],
"last": "Das",
"suffix": ""
},
{
"first": "Ameya",
"middle": [],
"last": "Godbole",
"suffix": ""
},
{
"first": "Manzil",
"middle": [],
"last": "Zaheer",
"suffix": ""
},
{
"first": "Shehzaad",
"middle": [],
"last": "Dhuliawala",
"suffix": ""
},
{
"first": "Andrew",
"middle": [],
"last": "Mccallum",
"suffix": ""
}
],
"year": 2019,
"venue": "Proceedings of the Thirteenth Workshop on Graph-Based Methods for Natural Language Processing (TextGraphs-13)",
"volume": "",
"issue": "",
"pages": "101--117",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Rajarshi Das, Ameya Godbole, Manzil Zaheer, She- hzaad Dhuliawala, and Andrew McCallum. 2019. Chains-of-reasoning at textgraphs 2019 shared task: Reasoning over chains of facts for explainable multi- hop inference. In Proceedings of the Thirteenth Workshop on Graph-Based Methods for Natural Language Processing (TextGraphs-13), pages 101- 117.",
"links": null
},
"BIBREF2": {
"ref_id": "b2",
"title": "A machine program for theoremproving",
"authors": [
{
"first": "Martin",
"middle": [],
"last": "Davis",
"suffix": ""
},
{
"first": "George",
"middle": [],
"last": "Logemann",
"suffix": ""
},
{
"first": "Donald",
"middle": [],
"last": "Loveland",
"suffix": ""
}
],
"year": 1962,
"venue": "Communications of the ACM",
"volume": "5",
"issue": "7",
"pages": "394--397",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Martin Davis, George Logemann, and Donald Love- land. 1962. A machine program for theorem- proving. Communications of the ACM, 5(7):394- 397.",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "Qualitative representations: How people reason and learn about the continuous world",
"authors": [
{
"first": "D",
"middle": [],
"last": "Kenneth",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Forbus",
"suffix": ""
}
],
"year": 2019,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Kenneth D Forbus. 2019. Qualitative representations: How people reason and learn about the continuous world.",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "Higherorder lexical semantic models for non-factoid answer reranking",
"authors": [
{
"first": "Daniel",
"middle": [],
"last": "Fried",
"suffix": ""
},
{
"first": "Peter",
"middle": [],
"last": "Jansen",
"suffix": ""
},
{
"first": "Gustave",
"middle": [],
"last": "Hahn-Powell",
"suffix": ""
},
{
"first": "Mihai",
"middle": [],
"last": "Surdeanu",
"suffix": ""
},
{
"first": "Peter",
"middle": [],
"last": "Clark",
"suffix": ""
}
],
"year": 2015,
"venue": "Transactions of the Association for Computational Linguistics",
"volume": "3",
"issue": "",
"pages": "197--210",
"other_ids": {
"DOI": [
"10.1162/tacl_a_00133"
]
},
"num": null,
"urls": [],
"raw_text": "Daniel Fried, Peter Jansen, Gustave Hahn-Powell, Mi- hai Surdeanu, and Peter Clark. 2015. Higher- order lexical semantic models for non-factoid an- swer reranking. Transactions of the Association for Computational Linguistics, 3:197-210.",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Multi-hop inference for sentencelevel textgraphs: How challenging is meaningfully combining information for science question answering?",
"authors": [
{
"first": "Peter",
"middle": [],
"last": "Jansen",
"suffix": ""
}
],
"year": 2018,
"venue": "Proceedings of the Twelfth Workshop on Graph-Based Methods for Natural Language Processing",
"volume": "",
"issue": "",
"pages": "12--17",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Peter Jansen. 2018. Multi-hop inference for sentence- level textgraphs: How challenging is meaningfully combining information for science question answer- ing? In Proceedings of the Twelfth Workshop on Graph-Based Methods for Natural Language Pro- cessing (TextGraphs-12), pages 12-17.",
"links": null
},
"BIBREF6": {
"ref_id": "b6",
"title": "Framing QA as building and ranking intersentence answer justifications",
"authors": [
{
"first": "Peter",
"middle": [],
"last": "Jansen",
"suffix": ""
},
{
"first": "Rebecca",
"middle": [],
"last": "Sharp",
"suffix": ""
},
{
"first": "Mihai",
"middle": [],
"last": "Surdeanu",
"suffix": ""
},
{
"first": "Peter",
"middle": [],
"last": "Clark",
"suffix": ""
}
],
"year": 2017,
"venue": "Computational Linguistics",
"volume": "43",
"issue": "2",
"pages": "407--449",
"other_ids": {
"DOI": [
"10.1162/COLI_a_00287"
]
},
"num": null,
"urls": [],
"raw_text": "Peter Jansen, Rebecca Sharp, Mihai Surdeanu, and Pe- ter Clark. 2017. Framing QA as building and rank- ing intersentence answer justifications. Computa- tional Linguistics, 43(2):407-449.",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Textgraphs 2019 shared task on multi-hop inference for explanation regeneration",
"authors": [
{
"first": "Peter",
"middle": [],
"last": "Jansen",
"suffix": ""
},
{
"first": "Dmitry",
"middle": [],
"last": "Ustalov",
"suffix": ""
}
],
"year": 2019,
"venue": "Proceedings of the Thirteenth Workshop on Graph-Based Methods for Natural Language Processing (TextGraphs-13)",
"volume": "",
"issue": "",
"pages": "63--77",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Peter Jansen and Dmitry Ustalov. 2019. Textgraphs 2019 shared task on multi-hop inference for expla- nation regeneration. In Proceedings of the Thir- teenth Workshop on Graph-Based Methods for Nat- ural Language Processing (TextGraphs-13), pages 63-77.",
"links": null
},
"BIBREF8": {
"ref_id": "b8",
"title": "WorldTree: A corpus of explanation graphs for elementary science questions supporting multi-hop inference",
"authors": [
{
"first": "Peter",
"middle": [],
"last": "Jansen",
"suffix": ""
},
{
"first": "Elizabeth",
"middle": [],
"last": "Wainwright",
"suffix": ""
},
{
"first": "Steven",
"middle": [],
"last": "Marmorstein",
"suffix": ""
},
{
"first": "Clayton",
"middle": [],
"last": "Morrison",
"suffix": ""
}
],
"year": 2018,
"venue": "Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC-2018)",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Peter Jansen, Elizabeth Wainwright, Steven Mar- morstein, and Clayton Morrison. 2018. WorldTree: A corpus of explanation graphs for elementary science questions supporting multi-hop inference. In Proceedings of the Eleventh International Con- ference on Language Resources and Evaluation (LREC-2018), Miyazaki, Japan. European Lan- guages Resources Association (ELRA).",
"links": null
},
"BIBREF9": {
"ref_id": "b9",
"title": "Question answering via integer programming over semistructured knowledge",
"authors": [
{
"first": "Daniel",
"middle": [],
"last": "Khashabi",
"suffix": ""
},
{
"first": "Tushar",
"middle": [],
"last": "Khot",
"suffix": ""
},
{
"first": "Ashish",
"middle": [],
"last": "Sabharwal",
"suffix": ""
},
{
"first": "Peter",
"middle": [],
"last": "Clark",
"suffix": ""
},
{
"first": "Oren",
"middle": [],
"last": "Etzioni",
"suffix": ""
},
{
"first": "Dan",
"middle": [],
"last": "Roth",
"suffix": ""
}
],
"year": 2016,
"venue": "Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence",
"volume": "",
"issue": "",
"pages": "1145--1152",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Daniel Khashabi, Tushar Khot, Ashish Sabharwal, Pe- ter Clark, Oren Etzioni, and Dan Roth. 2016. Ques- tion answering via integer programming over semi- structured knowledge. In Proceedings of the Twenty- Fifth International Joint Conference on Artificial In- telligence, pages 1145-1152.",
"links": null
},
"BIBREF10": {
"ref_id": "b10",
"title": "Cyc: toward programs with common sense",
"authors": [
{
"first": "B",
"middle": [],
"last": "Douglas",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Lenat",
"suffix": ""
},
{
"first": "V",
"middle": [],
"last": "Ramanathan",
"suffix": ""
},
{
"first": "Karen",
"middle": [],
"last": "Guha",
"suffix": ""
},
{
"first": "Dexter",
"middle": [],
"last": "Pittman",
"suffix": ""
},
{
"first": "Mary",
"middle": [],
"last": "Pratt",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Shepherd",
"suffix": ""
}
],
"year": 1990,
"venue": "Communications of the ACM",
"volume": "33",
"issue": "8",
"pages": "30--49",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Douglas B Lenat, Ramanathan V. Guha, Karen Pittman, Dexter Pratt, and Mary Shepherd. 1990. Cyc: to- ward programs with common sense. Communica- tions of the ACM, 33(8):30-49.",
"links": null
},
"BIBREF11": {
"ref_id": "b11",
"title": "Natural logic for textual inference",
"authors": [
{
"first": "Bill",
"middle": [],
"last": "Maccartney",
"suffix": ""
},
{
"first": "D",
"middle": [],
"last": "Christopher",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Manning",
"suffix": ""
}
],
"year": 2007,
"venue": "Proceedings of the ACL-PASCAL Workshop on Textual Entailment and Paraphrasing",
"volume": "",
"issue": "",
"pages": "193--200",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Bill MacCartney and Christopher D Manning. 2007. Natural logic for textual inference. In Proceedings of the ACL-PASCAL Workshop on Textual Entail- ment and Paraphrasing, pages 193-200.",
"links": null
},
"BIBREF12": {
"ref_id": "b12",
"title": "The stanford corenlp natural language processing toolkit",
"authors": [
{
"first": "D",
"middle": [],
"last": "Christopher",
"suffix": ""
},
{
"first": "Mihai",
"middle": [],
"last": "Manning",
"suffix": ""
},
{
"first": "John",
"middle": [],
"last": "Surdeanu",
"suffix": ""
},
{
"first": "Jenny",
"middle": [
"Rose"
],
"last": "Bauer",
"suffix": ""
},
{
"first": "Steven",
"middle": [],
"last": "Finkel",
"suffix": ""
},
{
"first": "David",
"middle": [],
"last": "Bethard",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Mc-Closky",
"suffix": ""
}
],
"year": 2014,
"venue": "Proceedings of 52nd annual meeting of the association for computational linguistics: system demonstrations",
"volume": "",
"issue": "",
"pages": "55--60",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Christopher D Manning, Mihai Surdeanu, John Bauer, Jenny Rose Finkel, Steven Bethard, and David Mc- Closky. 2014. The stanford corenlp natural language processing toolkit. In Proceedings of 52nd annual meeting of the association for computational linguis- tics: system demonstrations, pages 55-60.",
"links": null
},
"BIBREF13": {
"ref_id": "b13",
"title": "Table cell search for question answering",
"authors": [
{
"first": "Huan",
"middle": [],
"last": "Sun",
"suffix": ""
},
{
"first": "Hao",
"middle": [],
"last": "Ma",
"suffix": ""
},
{
"first": "Xiaodong",
"middle": [],
"last": "He",
"suffix": ""
},
{
"first": "Wen-Tau",
"middle": [],
"last": "Yih",
"suffix": ""
},
{
"first": "Yu",
"middle": [],
"last": "Su",
"suffix": ""
},
{
"first": "Xifeng",
"middle": [],
"last": "Yan",
"suffix": ""
}
],
"year": 2016,
"venue": "Proceedings of the 25th International Conference on World Wide Web",
"volume": "",
"issue": "",
"pages": "771--782",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Huan Sun, Hao Ma, Xiaodong He, Wen-tau Yih, Yu Su, and Xifeng Yan. 2016. Table cell search for question answering. In Proceedings of the 25th International Conference on World Wide Web, pages 771-782.",
"links": null
},
"BIBREF14": {
"ref_id": "b14",
"title": "Select, answer and explain: Interpretable multi-hop reading comprehension over multiple documents",
"authors": [
{
"first": "Ming",
"middle": [],
"last": "Tu",
"suffix": ""
},
{
"first": "Kevin",
"middle": [],
"last": "Huang",
"suffix": ""
},
{
"first": "Guangtao",
"middle": [],
"last": "Wang",
"suffix": ""
}
],
"year": 2020,
"venue": "Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Ming Tu, Kevin Huang, and Guangtao Wang. 2020. Select, answer and explain: Interpretable multi-hop reading comprehension over multiple documents. In Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence.",
"links": null
},
"BIBREF15": {
"ref_id": "b15",
"title": "Unification-based reconstruction of explanations for science questions",
"authors": [
{
"first": "Marco",
"middle": [],
"last": "Valentino",
"suffix": ""
},
{
"first": "Mokanarangan",
"middle": [],
"last": "Thayaparan",
"suffix": ""
},
{
"first": "Andr\u00e9",
"middle": [],
"last": "Freitas",
"suffix": ""
}
],
"year": 2020,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {
"arXiv": [
"arXiv:2004.00061"
]
},
"num": null,
"urls": [],
"raw_text": "Marco Valentino, Mokanarangan Thayaparan, and An- dr\u00e9 Freitas. 2020. Unification-based reconstruction of explanations for science questions. arXiv preprint arXiv:2004.00061.",
"links": null
},
"BIBREF16": {
"ref_id": "b16",
"title": "Worldtree v2: A corpus of sciencedomain structured explanations and inference patterns supporting multi-hop inference",
"authors": [
{
"first": "Zhengnan",
"middle": [],
"last": "Xie",
"suffix": ""
},
{
"first": "Sebastian",
"middle": [],
"last": "Thiem",
"suffix": ""
},
{
"first": "Jaycie",
"middle": [],
"last": "Martin",
"suffix": ""
},
{
"first": "Elizabeth",
"middle": [],
"last": "Wainwright",
"suffix": ""
},
{
"first": "Steven",
"middle": [],
"last": "Marmorstein",
"suffix": ""
},
{
"first": "Peter",
"middle": [],
"last": "Jansen",
"suffix": ""
}
],
"year": 2020,
"venue": "Proceedings of The 12th Language Resources and Evaluation Conference",
"volume": "",
"issue": "",
"pages": "5456--5473",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Zhengnan Xie, Sebastian Thiem, Jaycie Martin, Eliz- abeth Wainwright, Steven Marmorstein, and Peter Jansen. 2020. Worldtree v2: A corpus of science- domain structured explanations and inference pat- terns supporting multi-hop inference. In Proceed- ings of The 12th Language Resources and Evalua- tion Conference, pages 5456-5473.",
"links": null
},
"BIBREF17": {
"ref_id": "b17",
"title": "Hotpotqa: A dataset for diverse, explainable multi-hop question answering",
"authors": [
{
"first": "Zhilin",
"middle": [],
"last": "Yang",
"suffix": ""
},
{
"first": "Peng",
"middle": [],
"last": "Qi",
"suffix": ""
},
{
"first": "Saizheng",
"middle": [],
"last": "Zhang",
"suffix": ""
},
{
"first": "Yoshua",
"middle": [],
"last": "Bengio",
"suffix": ""
},
{
"first": "William",
"middle": [],
"last": "Cohen",
"suffix": ""
},
{
"first": "Ruslan",
"middle": [],
"last": "Salakhutdinov",
"suffix": ""
},
{
"first": "Christopher D",
"middle": [],
"last": "Manning",
"suffix": ""
}
],
"year": 2018,
"venue": "Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing",
"volume": "",
"issue": "",
"pages": "2369--2380",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christo- pher D Manning. 2018. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 Conference on Empiri- cal Methods in Natural Language Processing, pages 2369-2380.",
"links": null
}
},
"ref_entries": {
"FIGREF1": {
"text": "(Top) An example constraint satisfaction pattern expressed in the COSATA. (Bottom) One of several solutions provided by the COSATA solver when evaluating this pattern with a semi-structured knowledge base of tables.",
"uris": null,
"type_str": "figure",
"num": null
},
"FIGREF2": {
"text": "might happen to an ice cube left outside a freezer? A: become liquid execPat( giveCommonProperties, iceCube1, \"ice cube\" ) execPat( giveCommonProperties, outside1, \"outside\" ) execPat( giveCommonProperties, freezer1, \"freezer\" ) execPat( moveObjectEnvironment, obj->iceCube1, fromEnv->freezer1, toEnv->outside1) while(not meetsRequirements(ChangeOfStateSubstanceFromTo, substance->iceCube1)) execPat( heatTransferEnvironmentObject, obj->iceCube1, env->outside1 ) endwhile execPat( ChangeOfStateSubstanceFromTo, substance-> iceCube1) execPat( setInitialEnvironment, obj->iceCube1, env->freezer1 ) ice cube freezer outside environment",
"uris": null,
"type_str": "figure",
"num": null
},
"FIGREF3": {
"text": "Screenshots of the prototype IDE. (Top) The debugger/editor for micro-model control scripts. (Bottom) The visual taxonomy editor, a component of the table editor.",
"uris": null,
"type_str": "figure",
"num": null
},
"TABREF0": {
"text": "",
"type_str": "table",
"html": null,
"content": "<table><tr><td/><td/><td>SUB_STATES TABLE</td><td/><td/><td>STATE_PROP</td></tr><tr><td>STATE</td><td colspan=\"2\">SUBSTANCE</td><td/><td>STATE</td><td>DEFVAR PROP</td></tr><tr><td/><td/><td/><td>ice</td><td/></tr><tr><td/><td/><td/><td>liquid water</td><td/></tr><tr><td/><td/><td/><td>steam</td><td/></tr><tr><td/><td/><td colspan=\"2\">liquid nitrogen</td><td/></tr><tr><td colspan=\"2\">PROCESS</td><td>FROM</td><td>TO</td><td colspan=\"2\">PROCESS</td><td>HEATCOOL</td></tr><tr><td colspan=\"3\">endinferencepattern</td><td/><td/></tr><tr><td/><td/><td/><td/><td colspan=\"2\">liquid water is called liquid water</td></tr><tr><td/><td/><td/><td/><td colspan=\"2\">gaseous water is called steam</td></tr><tr><td/><td/><td/><td/><td colspan=\"2\">boiling changes from liquid to gas</td></tr><tr><td/><td/><td/><td/><td colspan=\"2\">boiling requires heating</td></tr><tr><td/><td/><td/><td/><td colspan=\"2\">gasses have variable shape</td></tr><tr><td colspan=\"5\">Q: What might happen to an ice cube left in the sunlight?</td><td>A: become liquid</td></tr><tr><td>ice cube</td><td/><td/><td/><td/><td>liquid water</td></tr><tr><td colspan=\"2\">Substance</td><td>water</td><td>sunlight</td><td colspan=\"2\">Substance</td><td>water</td></tr><tr><td colspan=\"2\">Form Temperature</td><td>ice -4 C</td><td>melting</td><td colspan=\"2\">Form Temperature</td><td>liquid water + 2 C</td></tr><tr><td colspan=\"2\">State</td><td>solid</td><td/><td/><td>State</td><td>liquid</td></tr></table>",
"num": null
},
"TABREF1": {
"text": "",
"type_str": "table",
"html": null,
"content": "<table/>",
"num": null
},
"TABREF3": {
"text": ": Each pattern contains one or more table row constraints, which collect interconnected sets of facts (table rows) from one or more tables based on satisfying constraints on the content of those facts. Each table row constraint requires: (a) a name for the row, (b) a table where rows are drawn from, and (c) a list of variabalized constraint expressions that specific cells (columns) in a given row must satisfy in order for the entire constraint pattern to be valid.An example pattern with 8 table row constraints surrounding Changes of State of Matter is shown in Figure 2. Constraint expressions for table cells can be expressed as mixtures of // Constraint Pattern: Changing States of Matter inferencepattern changeStateOfMatter // Plain text description description = \"A substance changing its state of matter\" // Row definitions // e.g. solid/liquid/gas is a kind of state of matter row som1 = [TABLE:\"KINDOF\", HYPONYM:<SOM1>, HYPERNYM:\"state of matter\"] row som2 = [TABLE:\"KINDOF\", HYPONYM:<SOM2>, HYPERNYM:\"state of matter\"] // e.g. melting/boiling/freezing is a kind of change of state row cos = [TABLE:\"KINDOF\", HYPONYM:<ChangeOfState>, HYPERNYM:\"change of state\"] // e.g. state of matter is a property of a substance row somprop = [TABLE:\"PROP-GENERIC\", PROPERTY:\"state of matter\", OBJECT:<obj>] // e.g. a boiling point is a kind of phase transition point row point = [TABLE:\"KINDOF\", HYPONYM:<PhaseTransitionPoint>, HYPERNYM:\"phase transition point\"]",
"type_str": "table",
"html": null,
"content": "<table><tr><td>BY_THROUGH_HOW:&lt;incDec&gt; + \"heat energy\"] // e.g. melting occurs when the temperature of a substance is increased above the substance's melting point, and below it's boiling point row thresh = [TABLE:\"CONDITION-VEC\", EVENT:&lt;ChangeOfState&gt;, OBJECT:&lt;obj&gt;, INCREASE_DECREASE:&lt;tempDir&gt;, ABOVE_BELOW1: &lt;aboveBelow&gt;, VALUE1:&lt;PhaseTransitionPoint&gt;, ABOVE_BELOW2:&lt;*aboveBelow2&gt;, VALUE2:&lt;*PhaseTransitionPoint2&gt;] // e.g. heating means the (temperature; heat energy) of an (object; substance) is increased Constraint Expressions: :&lt;SOM2&gt;, row heatcool = [TABLE:\"CHANGE-VEC-PROP\", PROCESS_NAME:&lt;heatingOrCooling&gt;, PROPERTY:\"heat energy\", INCREASE_DECREASE:&lt;incDec&gt;]</td></tr></table>",
"num": null
},
"TABREF5": {
"text": "",
"type_str": "table",
"html": null,
"content": "<table/>",
"num": null
}
}
}
}