-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
142 lines (104 loc) · 3.78 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html>
<head>
<title>Social finance with graphs</title>
<meta charset="utf-8">
<link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
<style>
body { font-family: 'Ubuntu', sans-serif; font-weight: 600; }
a { text-decoration: none; color: #4ac084; }
.remark-container { background-color: #2B629C; }
.remark-slide-scaler { box-shadow: none; }
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; font-size: 0.5em; text-align: left; }
.remark-slide-content { font-size: 3em; padding: 1em; background-color: #2B629C; color: #fff; }
.remark-slide-content h1 { font-size: 2em; }
.remark-slide-content img { max-width: 80%; }
.remark-notes p { font-size: 0.9em; }
.remark-slide-number { font-size: 0.5em; }
ul, li { text-align: left; }
.green { color: #4ac084; }
.small { font-size: 0.75em; }
</style>
</head>
<body>
<textarea id="source">
name: inverse
layout: true
class: center, middle
---
#Budapest Neoj4 Meetup
---
#1.
#Neo4j swag
---
#2.
[https://twitter.com/neo4jbp](https://twitter.com/neo4jbp)
[https://neo4jbp.slack.com](https://neo4jbp-slack.herokuapp.com/)
---
#3.
Ha van érdekes tématok, jelentkezzetek előadónak!
---
#4.
[GraphConnect Europe](http://graphconnect.com)
.small[London, 2017. 05. 11.]
.small[(Early bird: €149 - 'til 01. 15.)]
---
#Social finance with graphs
---
#Gábor Döbrei
##[@gabor_dobrei](https://twitter.com/gabor_dobrei)
###[Node.js](https://hu.linkedin.com/in/gábor-döbrei-230a4368) and [graph enthusiast](https://github.com/gabordobrei/) · Husband · co-organizer of [@neo4jbp](https://www.meetup.com/neo4j-budapest-users/)
---
#Building a graph database application
##Develop our graph model in a test-driven fashion
---
#Story time
I left my wallet in the office and we are heading to the restaurant...
---
#Story time
...I need money,<br>or I starve to death 😱...
---
#Story time
...but nobody will borrow me money, if they don't trust me.
---
#Solution
Track the $$<br>
in a transparent way.
---
#The .green[*questions*] drive the modeling process
---
.green[AS A] person who happily give money to my teammates,
.green[I WANT] to know, who can I trust with borrowing money,
.green[SO THAT] I get my money back.
---
Nodes for Things, Relationships for Structure
- Nodes
- Relationships
- Relationship direction
- Node properties
- Relationship properties
???
- Nodes: the things in our domain that are of .green[interest to us], and which .green[can be labeled and grouped].
- Relationships: both to express the connections between entities and to establish semantic context for each entity, thereby .green[structuring the domain].
- Relationship direction: to .green[further clarify] relationship semantics. Many relationships are asymmetrical, which is why relationships in a property graph are always directed. .green[For bidirectional relationships], we should make our queries .green[ignore direction], rather than using two relationships.
- Node properties: to represent entity .green[attributes], plus any necessary entity .green[metadata], such as timestamps, version numbers, etc.
- Relationship properties: to express the .green[strength, weight, or quality] of a relationship, plus any necessary relationship .green[metadata], such as timestamps, version numbers, etc
---
DEMO
---
Fine-Grained versus Generic Relationships
Use well named relationship types to avoid some use of labels
---
DEMO #2
---
Questions?
Comments?
.small[[https://dobrei.com/social-finance-with-graphs](https://dobrei.com/social-finance-with-graphs)]
</textarea>
<script src="./remark-latest.min.js">
</script>
<script>
var slideshow = remark.create({ratio: '16:9'});
</script>
</body>
</html>