2017 · 53 citations · 31 references
ComputingComputer ScienceAlgorithmsKnowledge RepresentationNatural Language ProcessingQuery ProcessingSearch SystemsSearching AlgorithmsStructured Query LanguageAlgorithmic Lower BoundsGraph QueryingGraph SearchLower BoundsNp-complete ProblemsNp-completenessPolynomial Time ComplexityScalability
Keyword search provides ordinary users an easy-to-use interface for querying RDF data. Given the input keywords, in this paper, we study how to assemble a query graph that is to represent user's query intention accurately and efficiently. Based on the input keywords, we first obtain the elementary query graph building blocks, such as entity/class vertices and predicate edges. Then, we formally define the query graph assembly (QGA) problem. Unfortunately, we prove theoretically that QGA is a NP-complete problem. In order to solve that, we design some heuristic lower bounds and propose a bipartite graph matching-based best-first search algorithm. The algorithm's time complexity is O(k2l ... l3l), where l is the number of the keywords and k is a tunable parameter, i.e., the maximum number of candidate entity/class vertices and predicate edges allowed to match each keyword. Although QGA is intractable, both l and k are small in practice. Furthermore, the algorithm's time complexity does not depend on the RDF graph size, which guarantees the good scalability of our system in large RDF graphs. Experiments on DBpedia and Freebase confirm the superiority of our system on both effectiveness and efficiency.
31
The Hungarian method for the assignment problem
Harold W. Kuhn · Naval Research Logistics Quarterly · 1955 · 12.6K citations
Kurt Bollacker, Colin Evans, Praveen Paritosh et al. · 2008 · 5K citations
DBpedia – A large-scale, multilingual knowledge base extracted from Wikipedia
Jens Lehmann, Robert Isele, Max Jakob et al. · Semantic Web · 2015 · 3.2K citations · Full text
Algorithm 457: finding all cliques of an undirected graph
Coen Bron, Joep Kerbosch · Communications of the ACM · 1973 · 2.5K citations · Full text