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

7.3. A Publish/Subscribe data model

Our Pub/Sub data model relies on the fact that published items are mainly text oriented. Hence, subscriptions are long lasting (continuous) queries under the form of keyword-based subscriptions. Whenever a news item is published, it gets evaluated against the set of subscriptions submitted to the system and, for every matching subscription, the corresponding subscriber is notified.

7.3.1. Data model

The set of stored subscriptions is denoted by S and their total number by |S|. Each subscription sS includes a set of distinct terms from a vocabulary VS = {t1, …, tn} . I = [I1, …Im] denotes the feed of incoming items. Items II are also formed by a set of terms (IVI, with VI the vocabulary of items). In this context, a match occurs if and only if all of the terms of a subscription s are also present in a news item I (i.e. broad match semantics).

Table 7.1. Example of keyword based subscriptions

Subscription...