-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathimport-resume.cypher
37 lines (37 loc) · 1.43 KB
/
import-resume.cypher
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
// Importing Base Schema
// Run this in Neo4j Browser
CREATE
(`0` :Person {firstName:"Jordan",lastName:"Wagner",preferredName:"Tyler"}) ,
(`1` :Intermediate {start:"05-2017"}) ,
(`2` :Email {address:"[email protected]"}) ,
(`3` :Phone {number:"1234567891"}) ,
(`4` :Company {name:"the boeing company"}) ,
(`5` :Position {name:"software engineer"}) ,
(`6` :Skill {name:"containers"}) ,
(`7` :Tool {name:"neo4j"}) ,
(`8` :Intermediate {start:"05-2017",end:"10-2017"}) ,
(`9` :Intermediate {start:"05-2016",end:"08-2016"}) ,
(`10` :Intermediate {start:"05-2015",end:"08-2015"}) ,
(`13` :Position {name:"database administrator"}) ,
(`14` :`LANGUAGE:PROGRAMMING` {name:"react"}) ,
(`15` :LANGUAGE {name:"english"}) ,
(`16` :`LANGUAGE:PROGRAMMING` {name:"c#"}) ,
(`0`)-[:`WORKED` ]->(`1`),
(`0`)-[:`CONTACT` {type:"email"}]->(`2`),
(`0`)-[:`CONTACT` {type:"phone"}]->(`3`),
(`1`)-[:`AT` ]->(`4`),
(`1`)-[:`POSITION_OF` ]->(`5`),
(`0`)-[:`KNOWS` {proficiency:'3'}]->(`6`),
(`0`)-[:`KNOWS` {proficiency:'1'}]->(`7`),
(`1`)-[:`PREVIOUS` ]->(`8`),
(`8`)-[:`PREVIOUS` ]->(`9`),
(`9`)-[:`PREVIOUS` ]->(`10`),
(`8`)-[:`AT` ]->(`4`),
(`9`)-[:`AT` ]->(`4`),
(`10`)-[:`AT` ]->(`4`),
(`8`)-[:`POSITION_OF` ]->(`5`),
(`9`)-[:`POSITION_OF` ]->(`5`),
(`10`)-[:`POSITION_OF` ]->(`13`),
(`0`)-[:`KNOWS` {proficiency:'8'}]->(`14`),
(`0`)-[:`KNOWS` {proficiency:'8'}]->(`15`),
(`0`)-[:`KNOWS` {proficiency:'7'}]->(`16`)