SemGraphQA@QALD5: LIMSI participation at QALD5@CLEF

Romain Beaumont, Brigitte Grau, Anne-Laure LigozatClef (working Notes) 2015

Abstract

SemGraphQA is an unsupervised system designed to answer natural language questions by querying large knowledge bases like DBpedia. By employing a two-step graph transformation process, it maintains semantic ambiguities until the final validation stage, allowing for the resolution of complex queries without pre-defined schema mappings. This paper details the LIMSI participation in the QALD-5 competition, highlighting the system's approach to overcoming lexical and structural gaps in question answering over linked data.

Introduction

The Semantic Web contains vast amounts of structured data, such as DBpedia or Freebase. However, querying this data typically requires proficiency in formal languages like SPARQL and an intimate understanding of the underlying database schema. This creates a significant barrier for average users. SemGraphQA addresses this by tackling two primary challenges:

  1. The Lexical Gap: Users often use natural language terms (e.g., "married") that differ from the specific properties used in a database (e.g., dbo:spouse).
  2. The Structural Gap: A simple natural language question might require a complex graph of multiple triples to answer, and determining how entities and relations connect is non-trivial.

Existing systems often make rigid structural choices early in the processing pipeline. SemGraphQA proposes a "delay the decision" philosophy, keeping multiple interpretations alive until they can be validated against the actual knowledge base (KB) data.

The SemGraphQA Pipeline

The system processes questions through several distinct stages, transforming natural language into executable SPARQL queries.

Overview of the SemGraphQA pipeline, illustrating the transformation from a natural language question to a final answer via syntactic and semantic graphs.

Semantic Mapping

The first stage involves identifying potential entities, classes, and relations within the question. The system uses DBpedia Spotlight for entity recognition. To bridge the lexical gap for relations, it utilizes WordNet to expand terms into synonyms and hyponyms. For instance, the word "daughter" might be mapped to the property dbo:child or dbp:daughter.

The mapping stage identifies potential KB candidates for words in the question, using tools like WordNet to find synonyms.

Syntactic and Syntactico-Semantic Analysis

Using the Stanford Parser, the question is converted into a simplified syntactic graph ($G^{Sy}_Q$). From this, the system generates a Syntactico-Semantic Graph ($G^{SS}_Q$). This is a pivotal step where words can be treated as either entities or relations.

The system applies "well-formedness" rules; for example, if two "relation-words" are linked directly, it automatically inserts an "implicit entity" node between them to ensure the graph remains valid for a triple-based database. This recognizes that natural language often skips intermediate steps—in the question "Who is the daughter of Bill Clinton married to?", the system identifies an unnamed intermediate node (the daughter) connecting Bill Clinton to the final answer.

Semantic Graph Generation and Scoring

Finally, these abstract structures are populated with actual candidates from the knowledge base to form Semantic Graphs ($G^S_Q$). Each candidate graph is scored based on:

  • Entity/Relation Relevance: How well the words match the KB candidates.
  • Compatibility: Checking if the KB schema allows a certain relation between two entity types (e.g., ensuring a "developer" is a person or organization, not a fruit).

The highest-ranked valid SPARQL query is then executed to provide the final answer.

Evaluation and Results

The system was evaluated using the QALD-5 (Question Answering over Linked Data) benchmark, specifically focusing on the 50 DBpedia-specific questions. SemGraphQA achieved a recall of 0.32, precision of 0.31, and an F1-score of 0.31. While it trailed the top-performing Xser system (which achieved an F1 of 0.73), SemGraphQA demonstrated that an unsupervised, graph-transformation approach is a viable framework for handling structural ambiguity.

Limitations and Future Work

The primary hurdle remains relation identification; in 25 of the 39 failed questions, the system could not locate the correct relation in the KB. Additionally, the current version struggles with complex operators like superlatives ("Who is the oldest...") and "hybrid" questions requiring unstructured text. Future work will focus on refining the scoring formula for triple compatibility and adapting the system to handle textual corpora alongside knowledge bases, moving toward a truly hybrid QA system.

Summary updated

BibTeX
@inproceedings{beaumont2015semgraphqa,
  author = {Romain Beaumont and Brigitte Grau and Anne-Laure Ligozat},
  title = {{SemGraphQA@QALD5: LIMSI participation at QALD5@CLEF}},
  booktitle = {Clef (working Notes)},
  year = {2015},
}
Figure