[Paper Review] Broccoli: Semantic Full-Text Search at your Fingertips
Broccoli is a semantic full-text search engine that combines keyword-based text retrieval with ontology-based structured queries using a tree-structured query language. It enables fast, interactive search by decomposing sentences into semantic contexts, supporting efficient query suggestion and processing, and achieving high-quality results on Wikipedia and YAGO data, with F1 scores up to 0.86 after error correction.
We present Broccoli, a fast and easy-to-use search engine for what we call semantic full-text search. Semantic full-text search combines the capabilities of standard full-text search and ontology search. The search operates on four kinds of objects: ordinary words (e.g., edible), classes (e.g., plants), instances (e.g., Broccoli), and relations (e.g., occurs-with or native-to). Queries are trees, where nodes are arbitrary bags of these objects, and arcs are relations. The user interface guides the user in incrementally constructing such trees by instant (search-as-you-type) suggestions of words, classes, instances, or relations that lead to good hits. Both standard full-text search and pure ontology search are included as special cases. In this paper, we describe the query language of Broccoli, the main idea behind a new kind of index that enables fast processing of queries from that language as well as fast query suggestion, the natural language processing required, and the user interface. We evaluated query times and result quality on the full version of the English Wikipedia (40 GB XML dump) combined with the YAGO ontology (26 million facts). We have implemented a fully functional prototype based on our ideas and provide a web application to reproduce our quality experiments. Both are accessible via http://broccoli.informatik.uni-freiburg.de/repro-corr/ .
Motivation & Objective
- To address the limitations of traditional full-text and ontology search by combining them into a unified, interactive search system.
- To enable users to construct complex semantic queries incrementally through intelligent, context-sensitive suggestions without learning a query language.
- To improve result quality by accurately identifying co-occurrences of words and entities within semantically coherent sentence contexts.
- To develop a novel indexing and processing pipeline that supports fast query evaluation and real-time query suggestions.
- To evaluate the system on a large-scale corpus (English Wikipedia) with a knowledge base (YAGO), demonstrating both performance and result quality.
Proposed method
- The query language is based on tree-structured queries with nodes representing words, classes, instances, or relations, and arcs representing relationships.
- A novel sentence context decomposition technique splits sentences into semantically coherent subparts (e.g., clauses, enumerations), ensuring co-occurrence is checked only within relevant units.
- A specialized index structure enables fast processing of tree-queries and efficient query suggestion using precomputed co-occurrence patterns.
- Entity recognition and anaphora resolution are applied to link words in text to ontology entities, with heuristics tailored to Wikipedia’s structure.
- The system uses a hybrid approach: full-text search for keyword evidence and ontology lookup for structured facts, with results fused based on relevance and context.
- The prototype is implemented and publicly available for reproducibility, with evaluation on TREC 2009 queries using sentence- and context-level metrics.
Experimental results
Research questions
- RQ1Can a unified search interface effectively combine full-text and ontology search while remaining interactive and user-friendly?
- RQ2How can sentence-level co-occurrence be modeled more accurately than by proximity or paragraph-level matching?
- RQ3To what extent does context decomposition improve result quality in semantic full-text search?
- RQ4What performance and quality trade-offs arise when using imperfect NLP components like entity recognition and parsing?
- RQ5Can the system achieve high precision and recall on real-world data without requiring full syntactic parsing?
Key findings
- The system achieves an F1 score of 0.37 on original TREC 2009 sentence-level evaluation, rising to 0.86 after correcting errors in the ground truth and ontology.
- After adding missing entities to the ground truth, F1 increased to 0.55, indicating that ontology incompleteness is a major source of error.
- The number of false positives and false negatives due to context decomposition (FP6+FN6) is low, showing the robustness of the context decomposition method.
- The system’s query processing is fast enough for interactive use, with real-time suggestions and low-latency response times.
- The results suggest that switching from YAGO to Freebase could significantly improve coverage and result quality, especially for relations like 'acted-in'.
- Error categories FP4 and FN4 (due to entity recognition and anaphora resolution) are reducible by integrating more advanced NLP techniques.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.