Abstract
Exploring massive Knowledge Graphs (KGs) is a daunting task for users who lack deep knowledge of the underlying schema. This paper introduces an interactive system that provides graph-query suggestions, helping users expand simple initial queries into complex structures by recommending the most relevant "next edges." By adapting classic information retrieval (IR) techniques—such as KL-divergence and pseudo-relevance feedback—to a "Bag-of-Labels" graph model, the proposed system significantly reduces the manual effort required for data exploration.
Introduction: The Data Wilderness Problem
Knowledge Graphs like Freebase or Wikidata contain millions of entities and billions of facts. However, for a human user, these are often "data wilderness." For instance, a user looking for "scientists and their academic advisors" might know Albert Einstein was advised by Alfred Kleiner but may not know the exact property name (e.g., academic_advisor vs. supervised_by) used in the database.
Traditional search methods require users to either possess perfect schema knowledge or manually sift through hundreds of irrelevant properties. While "entity-list completion" tools exist, they do not assist in building the structure of a query. This paper addresses exploratory graph search: intelligently suggesting the next piece of a query structure to help a novice user navigate the KG.
Methodology: Bridging Graph Theory and IR
The authors bridge the gap between graph theory and IR by introducing the Bag-of-Labels model. Similar to how a document is treated as a "bag of words," a graph query and its neighborhood are treated as a "bag of edge labels." This allows for the application of several scoring functions to rank potential query expansions:
- Maximum Likelihood Estimation (MLE): Ranks edges based on their global frequency in the graph.
- KL-Divergence (KL): Favors "distinctive" labels that appear frequently near the query but are rare elsewhere in the graph.
- Pseudo-Relevance Feedback (PRF): The system identifies "answers" (similar subgraphs) in the KG and suggests edges common among those answers.
- KL-rel: The top-performing model, which combines KL-divergence with PRF to find expansions that are both relevant to the results and unique to the user's intent.
Crucially, this approach is unsupervised, requiring no manual labeling or historical query logs, making it highly portable across different knowledge bases.
Experimental Results
The models were evaluated using Freebase (76M nodes, 314M edges) across two query sets: QALD-7 (65 exploratory queries) and a KG Contextualization Dataset (325 facts).
Key Findings
- Superior Ranking: The KL-rel model consistently outperformed baselines like Personalized PageRank (PPR). It achieved an NDCG (Normalized Discounted Cumulative Gain) score between 0.5 and 0.6 for top-10 suggestions.
- Human Efficiency: User studies showed a 60% reduction in "inspection effort." Users typically found their desired expansion within the first 5 to 11 suggestions, rather than browsing 50+ properties.
- Scalability: The "Bag-of-Labels" approach allows the system to generate suggestions in milliseconds, even on massive graphs, by avoiding complex graph isomorphisms.
Discussion and Future Work
A notable insight is that as a query grows, suggestions improve because the "context" becomes clearer. However, the system faces a "cold start" problem with single-entity queries where context is minimal. Future work may involve integrating complex structural features or minimal supervised "hints" to improve performance for these initial steps. By focusing on simplicity and IR-based ranking, this work provides a scalable path toward making massive knowledge graphs accessible to non-experts.
Summary updated