Interactive Query Answering on Knowledge Graphs with Soft Entity Constraints
By: Daniel Daza , Alberto Bernardi , Luca Costabello and more
Potential Business Impact:
Helps computers find better answers with vague rules.
Methods for query answering over incomplete knowledge graphs retrieve entities that are likely to be answers, which is particularly useful when such answers cannot be reached by direct graph traversal due to missing edges. However, existing approaches have focused on queries formalized using first-order-logic. In practice, many real-world queries involve constraints that are inherently vague or context-dependent, such as preferences for attributes or related categories. Addressing this gap, we introduce the problem of query answering with soft constraints. We propose a Neural Query Reranker (NQR) designed to adjust query answer scores by incorporating soft constraints without disrupting the original answers to a query. NQR operates interactively, refining answers based on incremental examples of preferred and non-preferred entities. We extend existing QA benchmarks by generating datasets with soft constraints. Our experiments demonstrate that NQR can capture soft constraints while maintaining robust query answering performance.
Similar Papers
Graph Queries from Natural Language using Constrained Language Models and Visual Editing
Human-Computer Interaction
Lets anyone ask computers questions about facts.
Interpretable Question Answering with Knowledge Graphs
Computation and Language
Answers questions using a smart map of facts.
UniRel-R1: RL-tuned LLM Reasoning for Knowledge Graph Relational Question Answering
Artificial Intelligence
Finds hidden connections between things in data.