Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Christos Tjortjis, (ed.)

Graph databases have gained increasing popularity recently, disrupting areas traditionally dominated by conventional relational, SQL-based databases, as well as domains requiring the extra capabilities afforded by graphs. This book is a timely effort to capture the state of the art of Graph databases and their applications in domains, such as Social Media analysis and Smart Cities. This practical book aims at combining various advanced tools, technologies, and techniques to aid understanding and better utilizing the power of Social Media Analytics, Data Mining, and Graph Databases. The book strives to support students, researchers, developers, and simple users involved with Data Science and Graph Databases to master the notions, concepts, techniques, and tools necessary to extract data from social media or smart cities that facilitate information acquisition, management, and prediction. The contents of the book guide the interested reader into a tour starting with a detailed comparison of relational SQL Databases with NoSQL and Graph Databases, reviewing their popularity, with a focus on Neo4j.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
# Graph Databases: Applications on Social Media Analytics and Smart Cities ## 【One-Line Pitch】 A practical, research-grounded tour of graph database technology—centered on Neo4j—showing how it outperforms relational and NoSQL systems for social media analytics and smart city applications. Ideal for data scientists, researchers, and developers who want to understand when and why to adopt graph databases for connected-data problems. ## 【Book Arc】 - **Opening (~0%–10%)**: Establishes the motivation—frustrations with conventional database systems for handling complex, heterogeneous big data—and introduces the core comparison between relational (ACID), NoSQL (BASE), and graph database models, with a taxonomy of NoSQL types including document stores, key-value stores, and time-series systems. - **Early (~10%–23%)**: Dives into database popularity metrics using DB-Engines rankings, showing relational databases still dominate but graph databases are steadily rising. Focuses heavily on Neo4j's remarkable growth trajectory (over 800% score increase from 2012–2021) and its adoption by major enterprises across retail, banking, automotive, and telecom sectors. - **Early–Middle (~23%–32%)**: Surveys real-world research applications of graph databases, particularly Neo4j, in social media analytics—covering recommendation engines, community discovery algorithms, troll detection via PageRank and Label Propagation, and influence metrics for Twitter. Includes performance benchmarks comparing Neo4j against PostgreSQL and MongoDB. - **Middle (~32%–48%)**: Introduces a taxonomy of graph database approaches for social network analytics, distinguishing between labeled-property graph (LPG) models and RDF triple stores. Examines system categories by storage type, including specialized engines like RedisGraph (using sparse matrix representations and GraphBLAS) and in-memory libraries like igraph, Boost Graph Library, JUNG, and JGraphT. - **Late (~48%–end)**: Extends the discussion to smart city applications, particularly healthcare and medical information systems, demonstrating a methodology for migrating from relational schemas to graph models with Neo4j dashboards for visualization and exploration. ## 【Key Takeaways】 - **Graph databases prioritize relationships as first-class citizens** (Early): Unlike relational or document stores where joins are expensive, graph databases store connections directly, making relationship queries fast and intuitive. This matters because social media and smart city data are inherently interconnected. - **Neo4j dominates the graph database landscape** (Early): With a score of 58.03 in December 2021—more than double its nearest competitor—Neo4j's growth trajectory (809% increase since 2012) reflects its practical advantages in simplicity, robustness, and Cypher query language usability. - **Relational databases still lead overall, but the gap is narrowing** (Early): DB-Engines rankings show Oracle, MySQL, and SQL Server at the top, yet NoSQL and graph systems are steadily climbing. The six-factor popularity metric (web mentions, job posts, professional profiles, etc.) reveals shifting industry interest. - **Graph algorithms unlock hidden patterns in social networks** (Early–Middle): Studies applying PageRank, Union Find, Label Propagation, and Strongly Connected Components on massive datasets (up to 133 million nodes) demonstrate Neo4j's capacity for troll detection and influence analysis at scale. - **Two graph models serve different purposes** (Middle): The labeled-property graph (LPG) model uses key-value properties on nodes and edges, while RDF triple stores use URI-identified entities and ontology-based predicates. Choosing between them depends on whether you need flexible property storage or semantic web interoperability. - **In-memory graph libraries complement full database systems** (Middle): Tools like igraph (C), Boost Graph Library (C++), JUNG (Java), and JGraphT (Java) offer optimized algorithms for network analysis without the overhead of a full DBMS, useful for research and prototyping. - **Migrating from relational to graph requires systematic mapping** (Late): The book presents a methodology for converting relational schemas to graph schemas, demonstrated through a medical information system with a Neo4j dashboard—showing that graph adoption doesn't require abandoning existing data. ## 【Reading Tips】 - **Skim the popularity rankings and tables** (Early): The DB-Engines data and Neo4j customer lists are useful reference material but not essential reading. Focus instead on understanding *why* graph databases are gaining traction. - **Deep-read the social media analytics case studies** (Early–Middle): The research summaries on recommendation systems, community detection, and troll analysis provide concrete patterns you can adapt to your own graph projects. - **Pay attention to the taxonomy chapter** (Middle): The LPG vs. RDF distinction and the survey of storage approaches (native graph, adjacency matrices, in-memory libraries) will help you choose the right tool for your use case. - **Note the performance comparisons** (Early): The benchmark showing Neo4j's query execution times versus PostgreSQL and MongoDB is valuable evidence for justifying graph database adoption to stakeholders. - **The relational-to-graph migration methodology** (Late) is practical but brief—if you're planning a migration, treat it as a starting point rather than a complete playbook. ## 【Coverage Limits】 The excerpts primarily cover the first half of the book (database comparisons, Neo4j popularity, and social media analytics applications). Smart city applications and the detailed migration methodology are only partially represented in the available material. ##
Page 4
e ever-increasing rate of graph database usage, especially in the context of social media and smart cities. Meanwhile, our planet was taken aback by the new...
View in text
Page 20
ational 81.93 16 16 17 Amazon DynamoDB Multi-model 77.63 17 18 41 Snowflake Relational 71.03 18 17 14 Teradata Relational, Multi-model 70.29 19 19 19 Neo4j G...
View in text
Excerpt 3
len et al. [29] tried to understand social media “Trolls”, persons who make a deliberately offensive or provocative online posts, with Efficient Analytics of...
View in text
Excerpt 4
egories with emphasis on the storage type, the models, and structures they use to organize graph data in an efficient manner for handling social network anal...
View in text
Excerpt 5
members can have access to them. 16 http://snap.stanford.edu/index.html 17 http://snap.stanford.edu/data/wiki-Vote.html 18 http://snap.stanford.edu/data/soc-...
View in text
Excerpt 6
ating patient insights from SM allows healthcare providers to have a better understanding of what patients desire and identify as their trouble areas. Health...
View in text
Excerpt 7
sed to predict academic influence on a heterogeneous graph. The results revealed moderate correlations and favorable relationships between the generated grap...
View in text
Excerpt 8
al Media... 77 [20] Mehrotra, A., M. Sarreddy and S. Singh. 2016. Detection of fake Twitter followers using graph centrality measures. In: 2016 2nd Internati...
View in text
Tags
AI categories
DatabaseProgramming LanguageBackend
graph database
ISBN: 1032024798
Publisher: CRC Press
Publish Year: 2024
Language: English
Pages: 19
File Format: PDF
File Size: 12.0 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…