Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Neo4j & fby presentation
1. NEO 4J -GRAPH DATABASE
MANAGEMENT
BY PHONE HTET PAING
2. ABOUT ME
Phone Htet Paing
IT-Manager @ Yangon-Press
Email me: phonetetpaing1221@gmail.com
Github: https://github.com/phonehtetpaing
3. WHAT IS NOSQL &
WHY?
What is NOSQL?
- acronymfor Not Only SQL or more
confrontationally – No to SQL.
- relational datamodel can’t meet every data
need.
Why?
• Data volume
• Data velocity
• Data variety
• Data valence
4. WHAT ARE GRAPH
DATABASE?
• NoSQL Database
• Treat the relationshipsbetween data
as equallyimportant to the data itself.
• Flexibility
• Search
• Indexing
6. SOME USE CASES OF
GRAPH DATABASES
• Social Network
• (Network) Impact Analysis
• Route Finding
• Recommendation
• Logistics
• Access Control
• Fraud Analysis
7. NEO4J
A Graph Database:
• a schema-free labeledProperty Graph
• perfect for complex, highly connected data
A Graph Database:
• reliable with real ACID Transactions
• scalable:Billionsof Nodes and Relationships,Scale out
with highly availableNeo4j-Cluster
• fast with more than 2M traversals/ second
• Server with HTTP API, or Embeddableon the JVM
• DeclarativeQuery Language
8. HOW TO USE NEO4J
Terminal
Type – 'cypher-shell'
Neo4j Data Browser Console.neo4j.org
10. CYPHER QUERY
COMMANDS
Create
CREATE (p:Person{name:"Phone"})
Match
MATCH (a:Person)
Return
RETURN a
Merge
MERGE(p:Person{name:"Phone"})
Make a relationship
MATCH (a:Person),(b:Person)
WHERE a.name= "Phone" AND b.name= "Htet"
CREATE (a)-[r:FRIEND_WITH]->(b)
RETURN r
Where - filters
WHERE a.name= "Phone" AND b.name= "Htet"
MATCH (p:Person {name: 'Phone'})
Set, Remove, Delete
SET p.birthdate = date('1980-01-01')
RETURN p
11. FIND BUS YANGON -
BUS ROUTE FINDING
MESSENGER BOT
Purpose
• to find the bus routes easily in Yangon.
Messenger Bot
• People in Myanmar are using Facebook more than other
application
Technologies
• Neo4j
• Ruby on Rails
• Messenger Bot
• A* algorithm
• Yen’s K-shortest paths Algorithm