---
title: "A Semantic Parsing and Reasoning-Based Approach to"
description: "How DTQA connects semantic parsing, knowledge-base linking and logical reasoning to answer questions, with results on QALD-9 and LC-QuAD."
canonical: "https://research.elamur.ai/free/en/papers/abdelaziz-2021-semantic-parsing-reasoning-based-approach/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/abdelaziz-2021-semantic-parsing-reasoning-based-approach/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / A Semantic Parsing and Reasoning-Based Approach to Knowledge Base Question Answering

# A Semantic Parsing and Reasoning-Based Approach to Knowledge Base Question Answering

Paper · 2021 · Ibrahim Abdelaziz, Srinivas Ravishankar, Pavan Kapanipathi et al.

**Authors:** [Ibrahim Abdelaziz](https://md.research.elamur.ai/free/en/authors/ibrahim-abdelaziz/), [Srinivas Ravishankar](https://md.research.elamur.ai/free/en/authors/srinivas-ravishankar/), [Pavan Kapanipathi](https://md.research.elamur.ai/free/en/authors/pavan-kapanipathi/), [Salim Roukos](https://md.research.elamur.ai/free/en/authors/salim-roukos/) and [Alexander Gray](https://md.research.elamur.ai/free/en/authors/alexander-gray/) · **Year:** 2021 · **Venue:** Proceedings of the AAAI Conference on Artificial Intelligence · **Licence:** No open licence stated (free-to-read copy; rights reserved) — text kept private

Proceedings of the AAAI Conference on Artificial Intelligence

- [PDF](https://ojs.aaai.org/index.php/AAAI/article/download/17988/17793)
- [DOI 10.1609/aaai.v35i18.17988](https://doi.org/10.1609/aaai.v35i18.17988)

## What it is about

How DTQA connects semantic parsing, knowledge-base linking and logical reasoning to answer questions, with results on QALD-9 and LC-QuAD. · about 32 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [The problem and its context](#dd-the-problem-and-its-context)
3. [The method, step by step](#dd-the-method-step-by-step)
4. [Experiments and results](#dd-experiments-and-results)
5. [What the ablations show](#dd-what-the-ablations-show)
6. [Limitations](#dd-limitations)
7. [What came after](#dd-what-came-after)

### Summary

A question can be easy to understand and still be difficult to answer from a structured database. The wording may describe a relationship differently from the database, combine several conditions, or leave part of the answer to inference. This paper presents Deep Thinking Question Answering, or DTQA, a system for [question answering](https://md.research.elamur.ai/free/en/concepts/question-answering/) over knowledge bases. Its central proposal is to connect a general representation of sentence meaning to database relations and then to a logical reasoner. The system separates understanding the question, identifying database entities and relations, constructing logical expressions, and obtaining an answer.

DTQA begins with [semantic parsing](https://md.research.elamur.ai/free/en/concepts/semantic-parsing/): it converts a question into an Abstract Meaning Representation, or AMR, graph. This graph describes concepts and their semantic relationships without committing to a particular knowledge base. The system then links relevant entities to database identifiers and extracts paths connecting the unknown answer to those entities. These paths help reconcile a detailed linguistic representation with the simpler relationships stored in the database. A relation-linking component maps the resulting descriptions to database properties. Rules convert the aligned paths into logical expressions, which Logical Neural Networks, abbreviated LNN, use to retrieve facts and perform reasoning.

The architecture addresses a particular training problem. Instead of requiring a collection of questions paired with complete database queries for training the whole pipeline, DTQA combines components trained for their respective jobs. This does not remove the need for learned components or supervision: the semantic parser, entity processing, and relation linking each bring their own training requirements. The distinction is that the complete question-answering system does not depend on end-to-end KBQA training examples. Its intermediate representations also make the route from question to answer more open to inspection.

The evaluation covers QALD-9, with 150 test questions, and LC-QuAD 1.0, whose test set contains 1,000 questions. On QALD-9, DTQA obtains an F-score of 30.88 and a Macro-F1-QALD score of 45.33, compared with 29.81 and 42.96 for gAnswer. On LC-QuAD, DTQA records an F-score of 33.72, compared with 33.00 for QAMP. These are the strongest reported F-scores in their respective comparisons. The table supports a more qualified conclusion than the paper’s claim of superiority on every metric: competing systems have higher recall on both datasets. The paper therefore demonstrates a promising integrated system and favorable aggregate results, while leaving the contribution of individual components, the frequency of useful reasoning, and the causes of remaining errors mostly unmeasured.

### The problem and its context

#### From an ordinary question to a structured answer

[Knowledge bases](https://md.research.elamur.ai/free/en/concepts/knowledge-graph/) store information through identifiable entities and explicit relationships. A question-answering system must connect a person’s wording to that structure. Recognizing familiar words is only part of the task. The system must identify which database objects the words refer to, determine which relationships the question invokes, and preserve the conditions that define an acceptable answer.

The paper uses DBpedia as its working knowledge base and also mentions [Wikidata](https://md.research.elamur.ai/free/en/papers/vrandecic-2014-wikidata-free-collaborative-knowledgebase/) when introducing the broader task. These resources supply structured facts, but a natural-language question does not arrive in their internal vocabulary. A person can describe a film as something an actor starred in, while the database represents the connection through a particular property. The question may also combine this condition with information about a producer or a country.

DTQA’s running example asks for actors associated with Spanish films produced by Benicio del Toro. Answering requires more than finding the named person. The system must retain the connection between the sought actors and the films, the country condition on those films, and the producer condition involving Benicio del Toro. Those conditions jointly determine what the system should retrieve.

This makes the problem structural. A system that finds all the relevant names and words can still connect them incorrectly. It might associate a country with an actor when the question places the country condition on a film, or recognize a production relationship without applying it to the correct object. The paper’s architectural choices are directed at preserving such connections as the question moves towards a database-compatible representation.

Another difficulty is that language and database design need not divide meaning in the same way. A sentence can express an event with several participants and circumstances. A database may distribute the corresponding information across binary relationships. Even when both representations describe the same situation, their graphs can differ in the number of intermediate concepts and in the roles assigned to their edges.

The paper treats this mismatch as a central engineering problem. It does not assume that a semantic parser can directly produce database properties, nor that a database graph can simply substitute for a linguistic meaning representation. DTQA introduces an explicit alignment process between the representations.

#### The approaches the authors position against

The introduction groups earlier KBQA methods into graph-driven systems and systems trained to predict queries directly. Graph-driven methods seek a portion of the knowledge-base graph that best corresponds to the question. In the paper’s account, their central operation is matching the question against a suitable database structure.

The other category learns a mapping from a natural-language question to a query sequence. The paper names SPARQL and SQL as possible query languages in this setting. Such an approach must learn both how the question expresses its meaning and how that meaning should be written in the target query language.

The authors identify the demand for substantial end-to-end training data as a difficulty for direct query prediction. A complete training example must connect an input question with the desired structured output. DTQA instead distributes the work among components whose learning tasks are narrower and reusable.

The paper also argues that both broad categories face problems with complex questions and reasoning. These are related concerns, but they are not interchangeable. Understanding a question establishes what it asks. Reasoning uses available facts and relationships to establish an answer that may require more than a direct match.

DTQA’s response is to give those activities separate places in the architecture. A semantic parser supplies a structured account of the question, linking components adapt that account to the database, and a reasoner works with the resulting logical expressions. This separation is the organizing principle of the system.

The comparison should not be read as a complete survey of every possible KBQA architecture. The paper sketches the approaches needed to motivate its demonstration. It names representative systems and identifies the difficulties its own design is intended to address, rather than developing a comprehensive classification of the field.

#### Why use a general meaning representation?

The authors choose [Abstract Meaning Representation](https://md.research.elamur.ai/free/en/papers/banarescu-2013-abstract-meaning-representation-sembanking/) as the linguistic representation between the question and the knowledge base. AMR describes sentence meaning through a rooted graph whose directed connections do not form cycles. Its concepts and semantic roles are intended to capture important meaning that different grammatical constructions can share.

This matters because the database question-answering task should not depend completely on surface word order. Questions with different syntax can ask about the same relationship. A representation that brings those expressions into a common semantic form gives later components a more consistent input.

The intended benefit is task independence. A general semantic parser is trained to represent meaning, rather than being trained only to produce queries for a particular database. DTQA reuses that ability and handles database-specific interpretation afterwards.

Task independence also creates work. An AMR concept is not automatically a DBpedia entity, and an AMR role is not automatically a DBpedia property. The representation provides a useful starting point precisely because it is not tied to the database, but that independence means alignment cannot be skipped.

The paper therefore places most of its distinctive processing between semantic parsing and logical execution. Entity linking resolves references. Path extraction selects the parts of the meaning graph that connect the answer to known entities. Predicate collapsing reduces differences in granularity. Relation linking identifies database properties.

This sequence gives a concrete meaning to the paper’s emphasis on interpretability. The system exposes several intermediate objects that can be inspected separately: a meaning graph, linked entities, selected paths, candidate relations, and logical expressions. The claim concerns the visibility of the process. The paper does not measure how successfully people use that visibility to explain or correct answers.

### The method, step by step

#### The architecture as a chain of representations

DTQA receives a natural-language question and passes it through a sequence of specialized components. Each stage changes the representation so that the next stage can solve a more focused problem. The overall route moves from language, through a database-aligned graph, to logic and answer retrieval.

From a question to a reasoned answer The steps in order.

The important feature of this sequence is that semantic understanding does not immediately produce an executable query. The parser first describes the question in its own semantic vocabulary. Subsequent components decide how that vocabulary corresponds to the knowledge base.

Likewise, linking a relationship does not by itself complete the task. The system must preserve how the linked relationships fit together, express the resulting constraints logically, and obtain the facts needed to resolve them. DTQA treats those as distinct operations.

The paper does not present mathematical equations for these stages. Its technical explanation consists of component descriptions, graph paths, examples of predicate collapsing, and the roles assigned to logical and query-language constructs. There is consequently no published scoring equation, training objective, or reasoning formula to reproduce.

#### Parsing the question into AMR

The initial component converts the question into an AMR graph. The authors use a neural transition-based parser. Transition-based parsing constructs an analysis through successive parsing decisions; in DTQA, the output of that process is the semantic graph that later components inspect.

The paper describes the parser as trained end to end for its own parsing task. That detail needs to be distinguished from the training of the complete question-answering system. DTQA can reuse an end-to-end-trained parser without training its entire question-to-answer pipeline in the same way.

The graph contains concepts and semantic connections rather than a direct transcription of the question’s word sequence. For the running film question, the discussion includes concepts for starring, a movie, a country, production, and the relevant named entities. It also contains a special unknown-answer node, called `amr-unknown`.

That node is essential to the next stage. It identifies the position whose value the question asks the system to find. Rather than processing every connection in the graph equally, DTQA can start from the requested answer and determine how it is connected to entities already mentioned in the question.

The graph also contains predicate information associated with PropBank. In the paper’s examples, labels such as `star-01` and `produce-01` describe event-related meanings. Their presence gives the system a semantic description of the relationship before any decision about a database property.

AMR is useful here as an intermediate commitment. It requires the parser to determine a semantic structure, while allowing the database-specific choices to remain unresolved. This makes the parser reusable, but also means that parsing quality places a condition on everything downstream.

If the graph does not preserve an important connection in the question, later processing receives an incomplete or incorrect starting point. The paper does not describe a mechanism that revisits the original parsing decision after database alignment fails. The architecture is presented as a pipeline of components with their own tasks.

#### Resolving entities and types

The Entity Extraction and Linking component identifies entities and types and associates them with knowledge-base URIs. A URI is the identifier used to refer to the corresponding item in the database. Linking supplies the concrete anchors needed to move from a semantic description to database access.

DTQA uses a mention detector based on [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/) and uses BLINK to disambiguate named entities. Mention detection determines which parts of the question refer to entities. Disambiguation determines which database entity each detected mention should denote.

These tasks should not be collapsed into simple string matching. A mention in the question and a database identifier occupy different representational levels. The component’s purpose is to establish that correspondence so that later paths terminate at identifiable database objects.

In the running example, Benicio del Toro is associated with `dbr:Benicio del Toro`. The expression Spanish is associated with `dbr:Spain`. The example therefore shows that the pipeline can map a descriptive expression to a country entity, rather than requiring the question to contain the database label in exactly the same form.

The linked entities become destinations for the path-extraction stage. Their role is both referential and structural: they identify database objects, and they determine which portions of the AMR graph the system will retain as constraints connecting known information to the answer.

The paper states that types are also extracted and linked, but provides less detail about type processing than about named entities. It does not give a separate type-linking evaluation, a training-data specification for that part of the component, or a detailed account of how type decisions interact with later reasoning.

The use of BERT concerns the mention-detection component. It should not be interpreted as a claim that BERT directly translates the complete question into a database query. The architecture delegates that broader transformation across several later stages.

#### Selecting the paths that constrain the answer

The central alignment challenge begins after entities have been linked. AMR and the knowledge base may express the same content through different graph structures. The paper’s Path-based Triple Generation component addresses this by selecting paths from the unknown-answer node to the linked entities.

This selection makes the question’s answer position the organizing point. Instead of converting every AMR edge into a database constraint, the system looks for the semantic connections that lead from what is being asked to what is already specified.

For the film example, a retained path connects the answer position through the starring concept, a movie, and a country to Spain. Another connects the answer through the starring concept and a movie to a production concept and Benicio del Toro.

These paths preserve the fact that both conditions concern the films associated with the sought actors. Spain supplies a country constraint, while Benicio del Toro supplies a producer constraint. The intermediate movie concept is important because it carries the connection between these conditions and the answer.

The paper contrasts these retained paths with the `act-01` predicate, which is present in the AMR graph but does not lie along the selected routes to the linked entities. The path procedure excludes it.

That example illustrates a selective conversion policy. An AMR graph may contain semantic material that does not need its own database constraint for the question being asked. Retaining everything would risk producing unnecessary triples. Path extraction attempts to preserve the answer-relevant connections while avoiding that expansion.

The rule is structural instead of a general judgment about the importance of an individual word. The excluded predicate is left out because of its location relative to the answer node and linked entities. The paper does not establish that the same predicate should always be ignored in other questions.

The generated triples are intended to correspond individually to constraints in the eventual SPARQL query. Their purpose is therefore operational: they form an intermediate structure that can be aligned with database relationships and carried forward into executable conditions.

The demonstration does not provide a complete formal algorithm for every possible AMR shape. It explains the main path-selection idea and illustrates why that idea can remove unnecessary material. The behavior for graph structures beyond those examples is not exhaustively specified.

#### Reconciling event predicates with database edges

Path extraction alone does not eliminate differences in representation. AMR predicates can describe events with several arguments, while the knowledge-base relationships discussed in the paper are largely binary. A database edge connects a subject and an object; a richer semantic event can distribute its meaning across more roles.

The system therefore also adjusts granularity. When a selected path contains consecutive predicates that together express a relationship, the Path-based Triple Generation component can collapse them into a single composite edge.

The paper illustrates this with a question about an ancient empire in which cocoa beans could be used as payment. The relevant path includes `location`, `pay-01`, and `instrument`. These predicates jointly connect the unknown empire with cocoa beans.

DTQA combines those predicates into an edge carrying the composite description `location | pay-01 | instrument`. The vertical bars join the retained predicate labels. They are part of the intermediate edge description, instead of a claim that the database itself uses that combined label.

This operation matters because the semantic relationship being sought may be distributed across several linguistic roles. Asking where payment could occur and what served as its instrument introduces distinctions useful for language understanding. The database may encode the relevant fact through a relationship at a different level of detail.

Collapsing the path gives the relation linker a composite description of that connection. It reduces the burden of finding a distinct database property for every intermediate AMR predicate.

The operation also changes what later components see. A sequence of semantic relations becomes a single candidate relationship to align. That can make the representation more compatible with binary database edges, but the paper does not offer a separate experiment measuring the gains or risks of this choice.

Path selection and predicate collapsing thus solve related but different problems. Selection determines which semantic connections should participate in the answer constraints. Collapsing determines how much of a retained connection should be represented by an individual edge.

#### Linking the resulting relationships

The Relation Extraction and Linking component maps the retained semantic descriptions to knowledge-base properties. DTQA uses SLING for this stage. SLING receives the AMR graph together with linked entities and the paths produced upstream.

For the film example, the paper associates `star-01` with `dbo:starring` and `produce-01` with `dbo:producer`. These mappings move the system from general semantic predicates into the vocabulary needed to query DBpedia.

SLING uses several complementary sources of evidence. The paper emphasizes a statistical association between AMR predicates and knowledge-base relations, learned using a distantly supervised dataset. This provides evidence that a particular semantic description commonly corresponds to a particular database property.

The description does not give the size or full construction procedure of that supervision dataset. It establishes the kind of evidence used, rather than providing a complete training recipe within the demonstration paper.

Lexical evidence supplies another source of information. The words in the question and the predicate labels can help distinguish candidate relations. SLING includes a neural component and an unsupervised semantic-similarity component that uses [GloVe word representations](https://md.research.elamur.ai/free/en/papers/pennington-2014-glove-global-vectors-word-representation/).

The lexical and statistical components serve different purposes. A learned association can support a correspondence encountered in supervision, while lexical similarity can indicate that the meanings of a predicate and a relation are related. DTQA relies on SLING to combine these kinds of evidence.

The output is a ranked list of candidate knowledge-base relations for each AMR predicate. The paper calls this a top-k list: k denotes the number of candidates retained, but the demonstration does not state its value.

This candidate output means relation linking need not settle the complete query in a single isolated decision. However, the paper does not specify in detail how DTQA resolves all combinations of candidate relations, how it compares complete alternatives, or how relation uncertainty is passed to the reasoner.

The essential documented role is narrower and clear: SLING provides plausible database relationships for the semantic edges selected and transformed by the preceding components.

#### Converting aligned paths into logic

After entity and relation alignment, the system has a representation that combines the question’s semantic structure with knowledge-base identifiers. The AMR-to-Logic component converts that representation into a logical formalism.

This component is rule based. Its role is not described as learning a new direct question-to-query mapping. Instead, it applies transformation rules to the paths that have already been aligned with the database.

The logical formalism supports binary predicates and higher-order functional predicates. Binary predicates express relationships between arguments. The higher-order part is used for operations involving aggregation and sets, extending the representation beyond a collection of simple relationship assertions.

The paper names `COUNT`, `ORDER BY`, and `FILTER` as SPARQL constructs introduced through the mapping from logic to queries. These indicate the kinds of database operations the formalism can express: counting results, ordering them, and restricting them through conditions.

The mapping to SPARQL is described as deterministic. Once the relevant logical expression has been constructed, the translation into these query constructs follows fixed rules. This is a different claim from saying that the entire natural-language interpretation is deterministic or guaranteed to be correct.

The uncertainty and potential errors lie earlier as well: the semantic graph, linked entities, selected paths, and chosen properties all affect which logical expression is produced. Deterministic execution of that expression cannot establish that it captured the intended question.

The paper does not publish a complete inventory of AMR-to-Logic rules in its demonstration account. It identifies the representational capabilities and query-language connections, but leaves many implementation details unstated.

#### Retrieving facts and reasoning with LNN

The final component is LNN, a neuro-symbolic reasoner. In the paper’s description, its computational units implement weighted fuzzy logic or classical first-order logic. DTQA supplies logical expressions, and LNN uses access to the knowledge base to obtain an answer.

This is where the architecture connects explicit [reasoning](https://md.research.elamur.ai/free/en/topics/reasoning/) with database retrieval. The logical expressions specify predicates and conditions, while the knowledge base supplies the facts needed to instantiate them.

The paper describes retrieval through a granular SPARQL integration. Predicate groundings are concrete instances of the relationships mentioned in a logical expression. Obtaining those instances allows the reasoner to work with database facts relevant to the question.

LNN performs type-based reasoning and geographical reasoning using ontological information in the knowledge base. The authors also state that they manually supplied general axioms for geographical cases.

Those axioms are part of the system’s reasoning resources. Their manual origin matters: the paper does not claim that DTQA learned all geographical knowledge or automatically induced the reasoning rules from question-answer examples.

The separation between retrieval and reasoning gives the architecture a broader intended role than direct query execution alone. A logical expression can request facts and support inferences over their relationships or types. The demonstration, however, does not quantify how frequently an answer depends on such an inference.

No complete worked reasoning trace is given in the text. The account establishes what the reasoner can be connected to and which categories of reasoning the authors used, without documenting a full sequence from a particular axiom through retrieved facts to a final inferred answer.

#### What training the system requires

DTQA’s training strategy follows its modular organization. The components are trained for semantic parsing, mention detection, disambiguation, or relation linking, rather than jointly requiring complete KBQA supervision.

The distinction is about where supervision applies. A semantic parsing example teaches a mapping into a meaning representation. Entity supervision supports recognizing and resolving references. Relation supervision supports associating semantic predicates with database properties.

The pipeline then composes those capabilities through path processing, rule-based logical conversion, and reasoning. The authors present this reuse as a way to avoid needing end-to-end KBQA training data.

It would be inaccurate to turn that into a claim of learning without data. The parser is trained, the mention detector is trained, and the relation linker uses a supervision dataset. The system’s advantage is the reuse of specialized training and representations.

The demonstration does not report a complete inventory of training corpora, optimization settings, or component-specific validation procedures. Its contribution is the assembled architecture and its evaluation, instead of a self-contained specification of every component’s training process.

### Experiments and results

#### The evaluation datasets and their scope

The authors evaluate DTQA on QALD-9 and LC-QuAD 1.0. QALD-9 supplies 150 test questions. The LC-QuAD test set supplies 1,000 questions. These are the test-set sizes stated in the paper.

The datasets provide different settings in which to assess the same broad architecture. The authors use their results to argue that general semantic parsing helps DTQA cope with variation in question structure across datasets.

That interpretation is plausible as an architectural motivation, but the evaluation does not isolate question structure as an experimental variable. The paper does not divide results by syntactic construction, semantic graph pattern, or distance from component training examples.

The test-set descriptions also do not provide a detailed breakdown by question operation. The text does not state how many questions require aggregation, geographical inference, type-based reasoning, or only straightforward relation retrieval.

This means the reported scores characterize complete-system behavior on the named benchmarks. They do not directly establish a separate success rate for the most distinctive capabilities described in the architecture.

#### Which systems are compared

The QALD comparison includes gAnswer and WDAqua. The LC-QuAD comparison includes QAMP and WDAqua. The paper identifies gAnswer and QAMP as strong graph-driven systems for the respective datasets, with QAMP using message passing.

WDAqua provides the shared comparison across datasets. The surrounding discussion refers to the WDAqua-core approach, while the results table uses the shorter WDAqua label.

These comparisons fit the paper’s main argument. DTQA introduces a route through general semantic parsing and explicit logic, while the named competitors provide graph-driven points of reference.

The evaluation does not include a direct query-prediction system in the results table. Though the introduction discusses end-to-end learning as another major approach, the numerical comparison shown here does not measure DTQA against that category.

The demonstration also does not report a uniform retraining procedure for every comparison system. Its results should be understood as the benchmark comparison presented by the authors, without assuming additional controls that the paper does not describe.

#### Understanding the reported metrics

The table reports precision, recall, and an F-score for both datasets. Precision concerns the correctness of returned answers; recall concerns how completely the expected answers are recovered. The F-score combines these aspects.

For QALD, the paper additionally reports Macro-F1-QALD, which it identifies as a recommended metric for that dataset. This appears as a separate result from the ordinary F-score column.

The distinction matters because the QALD F-score and Macro-F1-QALD values are not interchangeable. An account that reports only an undifferentiated “F1” would conceal the fact that the paper presents different aggregate measures.

The demonstration does not define the complete aggregation procedure for these metrics. It is therefore better to retain the paper’s labels than to infer a calculation from the displayed precision and recall entries.

In particular, the reader should not attempt to reconstruct every reported aggregate by applying an assumed formula to the table. The paper supplies results under named evaluation measures, without documenting all the details needed to reproduce their aggregation.

#### QALD-9 results

DTQA has the strongest ordinary F-score in the QALD-9 comparison. The chart places that result beside the graph-driven alternatives under the same reported measure.

QALD-9 systems compared by reported F-score DTQA has the strongest F-score among the compared systems.

**The numbers**

| System or setting | F-score |
| --- | --- |
| WDAqua | 24.99 |
| gAnswer | 29.81 |
| DTQA (this paper) | 30.88 |

The Macro-F1-QALD comparison also favors DTQA. This supports the authors’ claim that the result is favorable under the additional QALD-specific measure they chose to report.

QALD-9 systems compared by Macro-F1-QALD DTQA leads the comparison under the additional QALD evaluation measure.

**The numbers**

| System or setting | Macro-F1-QALD |
| --- | --- |
| WDAqua | 28.87 |
| gAnswer | 42.96 |
| DTQA (this paper) | 45.33 |

The precision and recall entries give a more differentiated picture. DTQA’s precision is 31.41, while gAnswer records 29.34 and WDAqua records 26.09. Under precision, DTQA leads the listed systems.

Recall has a different ordering. gAnswer records 32.68, DTQA records 32.16, and WDAqua records 26.7. DTQA therefore does not have the highest QALD recall.

This is a material qualification to the prose claim in the paper that DTQA leads on all metrics. Its table supports leadership on the reported F-score, Macro-F1-QALD, and precision, while giving the recall lead to gAnswer.

The result is still favorable to DTQA under the combined measures. It shows that the complete architecture can produce a stronger aggregate outcome in this comparison without exceeding the leading baseline on every aspect of answer recovery.

The table does not reveal which questions account for the precision and recall pattern. It does not show whether DTQA abstains more often, returns different answer-set sizes, loses particular relations, or succeeds on questions that other systems miss.

Those explanations would require question-level outputs or an error breakdown. The displayed metrics establish the ordering of systems under the reported measures, rather than the behavioral cause of that ordering.

#### LC-QuAD results

The LC-QuAD F-score comparison again places DTQA first among the listed systems.

LC-QuAD systems compared by reported F-score DTQA has the strongest F-score despite QAMP recovering more expected answers.

**The numbers**

| System or setting | F-score |
| --- | --- |
| WDAqua | 28.00 |
| QAMP | 33.00 |
| DTQA (this paper) | 33.72 |

Precision favors DTQA more clearly in the reported ordering. Its precision is 33.94, compared with 25.00 for QAMP and 22.00 for WDAqua.

Recall favors QAMP. QAMP records 50.00, WDAqua records 38.00, and DTQA records 34.99. DTQA thus has the lowest recall among the systems displayed for LC-QuAD.

The paper’s general claim of superiority across metrics is therefore not supported by this part of the table either. The strongest warranted statement is that DTQA leads the reported LC-QuAD F-score and precision comparisons, while its competitors lead on recall.

This distinction changes the practical interpretation. A reader interested in retrieving as much of the expected answer set as possible would see an advantage for QAMP under the reported recall measure. A reader concerned with the correctness of returned answers would see a favorable precision result for DTQA.

The aggregate F-score places those behaviors under a combined measure and favors DTQA. It does not erase the underlying difference in answer coverage.

No Macro-F1-QALD values are reported for LC-QuAD. The table leaves that measure unreported for this dataset, so it should not be used to create an additional cross-dataset comparison.

#### What the benchmark evidence establishes

Across the evaluations, DTQA demonstrates that the proposed collection of components can function together as a competitive KBQA system. The path from AMR through database alignment and logic is supported by complete-system benchmark results, rather than being presented only as an architectural possibility.

The results also support a qualified state-of-the-art claim relative to the systems and measures shown. DTQA leads the displayed F-score comparisons and the additional QALD measure. The table does not support an unrestricted claim that every reported metric favors DTQA.

The authors attribute the architecture’s effectiveness in part to AMR’s ability to represent varying sentence structures. The benchmark results are consistent with that motivation, but they do not separate the effect of AMR from the effects of entity linking, SLING, path selection, or reasoning.

Similarly, successful evaluation on both datasets supports usefulness across those benchmark settings. It does not on its own establish generalization to an arbitrary knowledge base, to untested question operations, or to a new language.

The paper reports no uncertainty intervals or statistical significance analysis. The displayed rankings are the reported outcomes, with no additional evidence about how sensitive they are to changes in test questions or component choices.

### What the ablations show

The paper reports no component-removal ablations; its supporting analyses consist of architectural examples and complete-system comparisons.

#### What the path examples demonstrate

The running film question provides a concrete explanation of why path selection exists. Starting from the unknown-answer node produces routes toward Spain and Benicio del Toro. Those routes retain the conditions the system needs to connect the sought actors to films with the required properties.

The excluded `act-01` predicate illustrates the intended economy of the transformation. A semantic graph can contain information that does not need to become a separate database constraint. The path rule supplies a structural basis for leaving some material out.

This is useful explanatory evidence. It shows what the component is designed to select and why a direct conversion of every semantic predicate could be undesirable.

It is not a measurement of the component’s average effect. The paper does not compare DTQA with a version that converts all AMR material, nor report how frequently excluded predicates would have produced incorrect or unnecessary constraints.

The example also does not establish whether every useful constraint lies on a retained path in all question types. It demonstrates the rule on a particular question structure. Broader claims about coverage would need a systematic analysis of other structures.

A careful reading therefore separates mechanism from benefit. The mechanism is described: use paths from the answer position to linked entities. The magnitude of its contribution to the benchmark scores remains unmeasured.

#### What the collapsing example demonstrates

The cocoa-bean question illustrates a different source of difficulty. Its meaning connects a location, a payment event, and an instrument. Treating those as separate database relationships could demand a structure that the knowledge base does not use.

Combining `location`, `pay-01`, and `instrument` into an edge description shows how DTQA can preserve their joint meaning while presenting the relation linker with a more compact object.

The example makes the granularity problem intelligible. Semantic distinctions useful for interpreting a sentence need not map individually to properties in the database. A composite description can serve as the bridge.

Again, the demonstration supplies no controlled comparison with predicate collapsing disabled. It does not report how often collapsing is applied, which composite paths are most useful, or whether some combinations create ambiguity.

The evidence therefore supports understanding the intended transformation. It does not quantify its accuracy independently of the rest of the pipeline.

#### What the system comparisons can and cannot explain

The benchmark comparisons establish that DTQA’s complete configuration is effective relative to the listed alternatives. They do not hold all but an individual component fixed.

Changing from gAnswer or QAMP to DTQA changes more than the use of AMR. It also changes entity processing, relation linking, graph transformation, logical conversion, and the availability of LNN. The comparison cannot assign the observed result to a particular stage.

The same issue applies to SLING’s ensemble. The paper describes statistical, neural, and lexical evidence within relation linking, but does not report DTQA results after removing individual evidence sources.

The reasoning contribution is especially difficult to isolate. The architecture makes type and geographical inference available, and the authors describe manually added geographical axioms. There is no reported comparison between otherwise identical DTQA configurations with and without those capabilities.

Accordingly, the results cannot establish how much of DTQA’s benchmark performance depends on inferred answers rather than direct database retrieval. They show a system that includes reasoning, without measuring the additional answers reasoning supplies.

#### The analysis available in the metric pattern

The precision and recall results offer an indirect behavioral comparison even though they are not ablations. DTQA’s precision leads in both dataset comparisons, while recall leads belong to other systems.

That pattern is compatible with a system that returns useful answers while failing to recover some expected answers. It does not identify why those omissions occur.

Possible points of failure are visible in the architecture: mention detection, disambiguation, path selection, relation linking, logical conversion, and retrieval. The paper does not associate the recall results with any of these stages.

It would therefore be speculative to claim that stricter reasoning, more selective paths, or a particular relation-linking threshold caused the observed precision and recall balance. No such controlled analysis is reported.

The strongest analytical conclusion is narrower. DTQA’s aggregate advantage coexists with a coverage limitation in the reported recall comparisons, and further component-level evidence would be needed to explain that combination.

### Limitations

#### The limits explicitly visible in the authors’ account

The authors identify several difficulties that motivate the system: complex interpretation, limited availability of end-to-end training examples, the need for reasoning, and mismatches between semantic graphs and knowledge-base structures. DTQA is designed to address these difficulties, but the demonstration does not claim that they disappear in every case.

The structural mismatch receives the most concrete treatment. AMR can represent predicates with several arguments, whereas the database relations discussed are largely binary. DTQA introduces path generation and collapsing because a direct correspondence cannot be assumed.

Granularity mismatch is another stated issue. A semantic graph can distinguish relationships more finely than the knowledge base. The composite-edge procedure is a practical response, rather than proof that every semantic distinction can be mapped successfully.

The authors also explicitly acknowledge a manual contribution to geographical reasoning. General axioms were added by hand for those scenarios. This limits any interpretation that all reasoning behavior emerged from training or database structure alone.

Beyond these qualifications, the paper does not present an extensive limitations discussion. The remaining limits below are conclusions a careful reader can draw from the reported setup and the absence of particular evaluations.

#### An integrated demonstration does not isolate causes

The most important evaluation limitation is the lack of ablations. DTQA combines several substantial capabilities, and the final scores reflect their interaction.

Without controlled substitutions or component removals, the paper cannot establish that AMR is the main cause of the result. It cannot determine whether a different parser, relation linker, or execution arrangement would retain the same advantage.

The same restriction applies to the novel path procedure. Its examples are convincing explanations of an engineering need, but benchmark success for the whole system does not establish the procedure’s independent value.

This does not make the integrated result uninformative. Building a functioning combination is itself a meaningful contribution. It means that claims about why the combination succeeds require more caution than claims about the scores it obtains.

#### Reasoning is connected to the pipeline but not separately measured

The architecture explicitly provides a reasoner with logical expressions and knowledge-base access. The paper describes type-based and geographical reasoning, giving substance to the claim that reasoning is part of the design.

The evaluation does not identify a subset of questions whose answers require those operations. It reports no reasoning-specific accuracy, no count of questions helped by axioms, and no comparison against retrieval without inference.

As a consequence, the paper cannot show how often reasoning changes an answer in the reported benchmarks. It also cannot show whether the strongest aggregate results would remain without the geographical axioms.

The logical conversion stage supports constructs related to counting, ordering, and filtering, but no separate scores are supplied for questions using those constructs. Representational support should therefore be distinguished from demonstrated reliability on every supported operation.

A complete worked reasoning example would also make the role of LNN easier to assess. The text explains the connection among logical forms, groundings, and ontological information, but does not trace a particular inferred answer through all those steps.

#### The scope of the training claim

Avoiding end-to-end KBQA training is a specific and useful claim. It means the complete pipeline does not require training examples that directly supervise the full mapping from questions to final query behavior.

It does not mean that the system is independent of training resources. The semantic parser has learned parameters, mention detection uses a trained BERT-based component, and relation linking draws on distant supervision and other learned resources.

The demonstration does not give enough training detail to compare the total supervision burden with the alternatives. It reports no complete accounting of annotation requirements, data preparation effort, or component-development cost.

It also does not establish that specialized component training will always transfer to a new database. A parser may remain useful, but entity identifiers, relation vocabulary, and ontological resources still need to be connected to the new setting.

Thus the supported claim is about modular reuse and the absence of a particular end-to-end training requirement. A broader claim of universally low-cost adaptation would go beyond the reported evidence.

#### Generalization is tested within a limited scope

The evaluation uses QALD-9 and LC-QuAD 1.0. Success in these settings is evidence that the architecture is useful beyond an isolated demonstration question.

The authors connect this result to the semantic parser’s handling of differing sentence structures. However, no analysis measures structural novelty or compares familiar and unfamiliar constructions.

The paper therefore does not directly establish that AMR caused generalization across question distributions. That remains the authors’ interpretation of an architecture whose complete-system results are favorable.

The working alignment examples and system description concern DBpedia. Mentioning Wikidata in the introduction does not amount to an evaluation over it. The paper does not report the effort or performance involved in transferring DTQA to that knowledge base.

There is also no reported multilingual evaluation or test over an unstructured information source. The system’s demonstrated scope is question answering through the described knowledge-base pipeline.

#### Intermediate errors and uncertainty remain underexplained

A pipeline creates opportunities to inspect intermediate decisions, but it also creates dependencies. A mistake in an early component can change the input to every later component.

For instance, an incorrect entity link changes the database anchor used for path alignment. A missing semantic connection can remove a required condition. A mistaken relation choice can produce a well-formed logical expression that asks the wrong question.

These are risks implied by the architecture, rather than measured error categories in the paper. The demonstration provides no stage-by-stage failure analysis showing which problems dominate.

The ranked relation candidates introduce another open question. SLING supplies alternatives, but the demonstration does not fully specify how DTQA selects among complete combinations or handles conflicting evidence.

Nor does the text establish how uncertainty in parsing or linking is represented in the final logical expressions. LNN supports weighted logical computation, but that fact alone does not demonstrate that every upstream confidence value is incorporated or calibrated.

The available account therefore explains the main route through the system more fully than it explains recovery from uncertain or incorrect intermediate choices.

#### Interpretability is an architectural property here

DTQA exposes a series of meaningful intermediate representations. That is a practical basis for describing the methodology as interpretable: an investigator can identify the semantic graph, the linked database objects, the chosen paths, and the logical expression.

The paper does not evaluate interpretability through a user study or a measured debugging task. It does not show how often an explanation helps someone locate the responsible component or correct a wrong answer.

There is also a distinction between inspecting a symbolic intermediate result and understanding every computation that produced it. Some stages use learned components, and the visibility of their outputs does not automatically explain their internal decisions.

The supported claim is therefore about the structure of the reasoning and translation process being available for inspection. Stronger claims about human understanding or ease of maintenance are not established by the evaluation.

#### The result table requires a qualified reading

The paper states that DTQA surpasses the alternatives across all metrics. Its own numbers require that statement to be narrowed.

On QALD, gAnswer has higher recall than DTQA. On LC-QuAD, both listed alternatives have higher recall. DTQA leads the F-score and precision comparisons, and it leads Macro-F1-QALD where that measure is reported.

This is not a reason to dismiss the aggregate outcome. It is a reason to describe the outcome accurately. The architecture’s favorable combined scores coexist with incomplete recovery of expected answers.

The absence of uncertainty estimates also limits how much should be inferred from the ordering alone. The paper reports point results, without an analysis of variability or statistical significance.

Finally, no runtime, memory, or throughput results are supplied. The demonstration does not establish the operational cost of combining parsing, linking, logical conversion, database access, and reasoning. Its evidence concerns answer quality and architectural feasibility.

### What came after

The identified citing work is [Leveraging Abstract Meaning Representation for Knowledge Base Question Answering](https://md.research.elamur.ai/free/en/papers/kapanipathi-2021-leveraging-abstract-meaning-representation-knowledge/), listed with the year 2021. Its title places it in the same research direction: using AMR to connect natural-language questions with a knowledge base.

That connection is meaningful because AMR is the organizing intermediate representation in DTQA. The demonstration shows how a task-general semantic graph can be adapted through entity linking, answer-centered paths, relation linking, and logical conversion. The citing work’s stated subject returns to the role of that representation in KBQA.

The available bibliographic information does not describe the citing work’s method or results. It therefore does not establish whether that work retained DTQA’s path generation, used the same relation linker, included LNN, or changed the logical conversion process. Its title supports a thematic connection, while its citation establishes that it refers to the DTQA paper.

The shared year also does not establish a precise sequence of development. It would be unwarranted to describe the citing work as a later technical revision merely because it appears in the citing-work record.

Consequently, the traceable continuation is limited but clear: a citing study addresses AMR-based knowledge-base question answering. No supported account is available here of which DTQA components it extended, what it changed, or whether it improved the reported results. DTQA’s demonstrated contribution remains the integrated route from general semantic parsing through database alignment to logical retrieval and reasoning, together with the benchmark evidence and qualifications described above.

## Cite

Cite as Ibrahim Abdelaziz, Srinivas Ravishankar, Pavan Kapanipathi, Salim Roukos and Alexander Gray. 2021. A Semantic Parsing and Reasoning-Based Approach to Knowledge Base Question Answering. Proceedings of the AAAI Conference on Artificial Intelligence.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1609/aaai.v35i18.17988](https://doi.org/10.1609/aaai.v35i18.17988)

```bibtex
@inproceedings{abdelaziz2021semantic,
  title = {{A Semantic Parsing and Reasoning-Based Approach to Knowledge Base Question Answering}},
  author = {Ibrahim Abdelaziz, Srinivas Ravishankar, Pavan Kapanipathi, Salim Roukos and Alexander Gray},
  booktitle = {Proceedings of the AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i18.17988},
  url = {https://doi.org/10.1609/aaai.v35i18.17988}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
