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.4. AMBER: a SPARQL querying engine

The proposed AMBER (Attributed Multigraph Based Engine for RDF querying) contains two different stages: (1) an offline stage, during which RDF data are transformed into multigraph G and then a set of index structures I are constructed that capture the necessary information contained in G; (2) an online stage, during which a SPARQL query is transformed into a multigraph Q, and then by exploiting the subgraph matching techniques along with the already built index structures I, the homomorphic matches of Q in G are obtained.

Given a multigraph representation Q of a SPARQL query, AMBER decomposes the query vertices U into a set of core vertices Uc and satellite vertices Us. Intuitively, a vertex uU is a core vertex if the degree of the vertex is more than one; on the contrary, a vertex u with degree one is a satellite vertex. For example, in Figure 5.2(c), Uc = {u1, u3, u5} and Us = {u0,u2, u4, u6}. Once decomposed, we run the sub-multigraph...