Book Image

NoSQL Data Models

By : Olivier Pivert
Book Image

NoSQL Data Models

By: Olivier Pivert

Overview of this book

Big Data environments are now to be handled in most current applications, this book addresses the latest issues and hurdles that are encountered in such environments. The book begins by presenting an overview of NoSQL languages and systems. Then, you’ll evaluate SPARQL queries over large RDF datasets and devise a solution that will use the MapReduce framework to process SPARQL graph patterns. Next, you’ll handle the production of web data, generate a set of links between two different datasets and overcome different heterogeneity problems. Moving ahead, you’ll take the multi-graph based approach to overcome challenges faced by the RDF data management community. Finally, you’ll deal with the flexible querying of graph databases and textual data management. By the end of this book, you’ll have gathered essential information on big data challenges faced by NoSQL databases.
Table of Contents (11 chapters)
Preface
8
List of Authors
9
Index
10
End User License Agreement

5.6. Query matching procedure

In order to follow the working of the proposed query matching procedure, we formalize the notion of core and satellite vertices. Given a query graph Q, we decompose the set of query vertices U into a set of core vertices Uc and a set of satellite vertices Us. Formally, when the degree of the query graph Δ(Q) > 1, Uc = {u|uUdeg(u) > 1}; however, when Δ(Q) = 1, i.e. when the query graph is either a vertex or a multi-edge, we choose one query vertex at random as a core vertex and hence |Uc| = 1. The remaining vertices are classified as satellite vertices, whose degree is always 1. Formally, Us = {U\Uc}, where for every uUs, deg(u) = 1. The decomposition of the query multigraph Q is depicted in Figure 5.4, where the satellite vertices are separated (vertices under the shaded region in Figure 5.4(a)), in order to obtain the query graph that is spanned only by the core vertices (Figure 5.4(b)). Thus, during query...