This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sampl
60 lines (51 loc) · 2.69 KB
/
sampl
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
CREATE (TaMysqlCars:Table {title: 'cars', id: 'in.c-ex-mysql.cars'})
CREATE (TaMysqlPop:Table {title: 'population', id: 'in.c-ex-mysql.population'})
CREATE (TaMysqlIris:Table {title: 'iris', id: 'in.c-ex-mysql.iris'})
CREATE (TaMysqlVisits:Table {title: 'visits', id: 'in.c-ga.visits'})
CREATE (TaImporter1:Table {title: 'ratios', id: 'in.c-importer.ratios'})
CREATE (TaSomeTable:Table {title: 'some-wtf', id: 'in.c-wtf.table'})
CREATE (TaProcessed:Table {title: 'processed', id: 'out.c-main.processed'})
CREATE (TaOutTable1:Table {title: 'out-table-1', id: 'out.c-main.table1'})
CREATE (TaOutTable2:Table {title: 'out-table-2', id: 'out.c-main.table2'})
CREATE (TaOutTable3:Table {title: 'out-table-3', id: 'out.c-main.table3'})
CREATE (ExMysql:Source {title: 'Tutorial Database', id: 'ex-mysql-12345', type: 'ex'})
CREATE (ExGa:Source {title: 'Tutorial Google Analytics', id: 'ex-ga-12345', type: 'ex'})
CREATE (Importer:Source {title: 'Importer configuration', id: 'importer-1234', type: 'ex'})
CREATE (Tr1:Configuration {title: 'First Transformation', id: 'tr-first'})
CREATE (Tr2:Configuration {title: 'Second Transformation', id: 'tr-second'})
CREATE (WrTableau:Target {title: 'Tableau', id: 'wr-tableau-1'})
CREATE (WrTableau2:Target {title: 'Talbeau 2', id: 'wr-tableau-2'})
CREATE (TaMysqlCars)-[:PRODUCEDBY]->(ExMysql)
CREATE (TaMysqlPop)-[:PRODUCEDBY]->(ExMysql)
CREATE (TaMysqlIris)-[:PRODUCEDBY]->(ExMysql)
CREATE (TaMysqlVisits)-[:PRODUCEDBY]->(ExGa)
CREATE (TaImporter1)-[:PRODUCEDBY]->(Importer)
CREATE (ExMysql)-[:WRITES]->(TaMysqlCars)
CREATE (ExMysql)-[:WRITES]->(TaMysqlPop)
CREATE (ExMysql)-[:WRITES]->(TaMysqlIris)
CREATE (ExGa)-[:WRITES]->(TaMysqlVisits)
CREATE (Importer)-[:WRITES]->(TaImporter1)
CREATE (Tr1)-[:WRITES]->(TaOutTable3)
CREATE (Tr1)-[:WRITES]->(TaOutTable1)
CREATE (Tr2)-[:WRITES]->(TaProcessed)
CREATE (Tr2)-[:WRITES]->(TaOutTable2)
CREATE (TaOutTable3)-[:PRODUCEDBY]->(Tr1)
CREATE (TaOutTable1)-[:PRODUCEDBY]->(Tr1)
CREATE (TaProcessed)-[:PRODUCEDBY]->(Tr2)
CREATE (TaOutTable2)-[:PRODUCEDBY]->(Tr2)
CREATE (Tr1)-[:READS]->(TaMysqlCars)
CREATE (Tr1)-[:READS]->(TaMysqlPop)
CREATE (Tr1)-[:READS]->(TaMysqlVisits)
CREATE (Tr2)-[:READS]->(TaImporter1)
CREATE (Tr2)-[:READS]->(TaOutTable1)
CREATE (WrTableau)-[:READS]->(TaOutTable1)
CREATE (WrTableau)-[:READS]->(TaOutTable2)
CREATE (WrTableau2)-[:READS]->(TaOutTable3)
CREATE (TaMysqlCars)-[:READBY]->(Tr1)
CREATE (TaMysqlPop)-[:READBY]->(Tr1)
CREATE (TaMysqlVisits)-[:READBY]->(Tr1)
CREATE (TaImporter1)-[:READBY]->(Tr2)
CREATE (TaOutTable1)-[:READBY]->(Tr2)
CREATE (TaOutTable1)-[:READBY]->(WrTableau)
CREATE (TaOutTable2)-[:READBY]->(WrTableau)
CREATE (TaOutTable3)-[:READBY]->(WrTableau2)