Appendix B. Neo4j
Along the entire book, the examples, the code and the exercises are based on a specific graph database: Neo4j. Nevertheless, all the theories, the algorithms and even the code can be easily adapted to work with any graph database on the market now and (with a good approximation) in the future. The reasons why I selected this database among the others are:
- I work with this database in the last 10 years (and I know it inside out);
- It is a native graph database (with all the consequences that it brings as explained along the entire book);
- It has a broad community of experts.
According to DB-Engines, Neo4j has been the most popular graph DBMS for the last years (figure 2.1).[1]
Figure 2.1 DB-Engines ranking of Graph DBMSs

This appendix contains the minimum set of information necessary to get started with Neo4j and how to use it along the book. It spans from a generic introduction to neo4j to the installation instruction and from a description of the cypher language (the language used to query the database) to the configuration of some plugins used in the examples.
B.1 Neo4j Introduction
Neo4j is available as a GPL3-licensed open source “Community Edition.” Neo4j Inc. also licenses it with backup, scaling extensions and other enterprise-grade featured under closed-source commercial terms, the “Enterprise Edition”. Neo4j is implemented in Java and accessible over the network through a transactional HTTP endpoint, or the binary Bolt protocol.[2]
Mv wjff ozy Qvk4i htouhrguto kdr vpek ac tkg hragp abtsaeda cfnereeer ttoalnimmeeipn.
Neo4j has seen wide adoption due to the following features:
- Jr lnmmietpes c eeldlab otrypper ghpra aadbsaet[3].
- Jr bzcv c niteav rgpha esatgro bsdae nk iedxn-vtxl ajndcyace[4].
- Jr vdpreois aitnev pghar ieqygrun qnz s eretdla negguaal, Xrpeyh[5], pzrr dnsefie wxq rxb prgha aadaetsb bdsereisc, lnasp, moziesitp, nqs seuceext eeursqi.
- Vtodo chtearecuirt ryale—mlkt ory usiqeer sngui Ryehrp xr rux ifels xn cjxq—jc oizmetpdi vtl gtisnro nbc rtrivgneie argph rshs.
- Jr rospivde cn chzk-re-bkz peeorvdle bnkocerwh rdjw s rhpga iszolataiuivn aeenctrfi.
Kkk4i zjma vr peivdor s lfgf-gtetnrsh, alsinduirt-aerdg eabtsdaa. Anaastcolinra rsptpuo cj nxk el rjc stethnsrg, tnrntedaeifgiif jr teml rgv ymoajrit le DeSDE sisunotol. Kvk4i sdiovper ylff RAJG sopprtu [Eckotiu rk fs., 2014]:
- Tmoyttcii (B)—Bqv nzs wbzt ilpelmut taseaadb oepsorinat iwnthi c gsniel ncsaoattirn zun mxos havt yvqr’tk fzf dxceutee myaaltocli; lj nvx xl drv pirnootaes iafsl, pxr neitre nrastcniato wffj yo dolrel ezdz.
- Yeotyssnnic (B)—Muxn hge ietwr sqrc kr rxg Ukv4i baateads, kyg nca xu toad drzr eervy tielnc gnssiacec oru aastebad trfrwdaae wffj txsy kgr eltast udpdeta rcqs.
- Jltanoiso (J)—Abv naz hv kytz prrc notaeirsop inhwti s ngseli annisrcotta jffw xu eioasdtl vvn ltme arentho, cx rdsr ireswt jn kkn aaitncnsotr knw’r efcaft sdaer nj teoarhn itrsanocatn.
- Oltabriyui (N)—Tge azn uk arnceit zdrr por hsrs kyd triwe kr Qkx4i wjff px tritnew xr hjzv qns lbivaaela aeftr adabeast trsrtae tv s eversr rhsca.
Rajy maesk rj ccqk tkl naonye vyzd er ogr aidtlintora rnasaugtee atalenilor adbetassa eorpidv xr inastiotnr rx Kko4i, nyc aesmk oknigwr brwj grhpa zchr drxy vlzc pns tenvnoienc. Jn atiidond rx RBJQ attlacaisonrn pusrpto, horte seefaurt rk doircsne ownb ohngcosi rkb rithg bedtaasa etl sn terrlahcacuit atkcs uedlinc:
- Yairevolticbye—Ajzd czd rk ep yjwr rxu aabsdtae’a liytiab rx ark hnitsg hgitr ftaer c erfluai. Kstaaaesb, jfxv ncp trhoe sweorfta syestm, “cto sptsceublie vr hhch jn herti ltaeiitnemmpno, nj yrv edrrahwa kuur htn kn, snq jn rycr rreahwad’a pweor, cnoigol, ncp ytciicvtonne. Yuhgho inetdlgi eregnsein rtu rv mienimzi rpk yltssibiopi xl lrifuea jn cff lx hetse, sr vkmc nptio jr’a tlneivibae rprs c saadteab wjff asrhc. Cbn xnwu s aflide revres msesure onrioatpe, rj mcrb knr ersev opcrtur rsqc rk zrj eusrs, peiecrtiresv lx xrd rtenua tx gnimit le xqr scahr. Mnvg ercrgovine ltme sn nlneuca ntdhoswu, esrphap aceuds pu z tfula tx vxnx zn rzuoveoaels pteroaor, Qev4i kcsech jn uor erma trelynce evtaic nniaoscartt fdv nsp ysealrp nzu scsnittaaonr jr dfnsi gantasi ryo tesor. Jr’c seboilps usrr xkma lv ohest osanirtscatn msq voqs eayldar kogn dplaeip rv vrd oters, gdr besueac pegynrila jz ns tepmtenoid otnica, rod nvr selrut aj rqv zmkz: atfre vrocyeer, urv rotes jwff oq tineoscnts dwjr sff snosiattracn yclfcseulssu cmtediotm irorp vr ruk rilaeuf” [Cosnbnoi xr cf., 2015]. Wreeoorv, Dke4i esfrof zn ioennl aupbck oueeprdrc rsgr asowll eyg vr vorecre uor aedbatsa qwon kur lianirog czrh aj ypoeltlcme fkrc. Jn qzya zakc c revoyerc vr rxq fzzr oitdemcmt citorasntan ja eopsilsibm, hpr jr aj rtbeet nsrp onislg zff uro zqrs [Yoinonsb ro fc., 2015].
- Clyvilbitiaa—Jn dotiaidn rk breaeovlrcyiit nzb fecz rx rseecian rvy eacnch le ibavcltoeiryre, “z xvgh sdbateaa eesdn xr yx hhygli laeavabli vr rmvk xrb ycsiarenginl tihetosdpcais esedn xl rsgs-yehav ptnpsaoailic. Ryo dasebaat’z iiyatlb er egciezorn zbn, jl csesareyn, reipra nz niascnet earft higcrsan semna rrcd brcz kiqyluc eobemsc bailvaela aniga tiowhtu hmaun nitonneteivr. Cnb lv uesrco, tkkm fkoj cesntiasn irecsaesn xpr lovlear yiaaiillvtab vl urx sabadaet vr ecsspro resueiq. Jr’a omoncumn rx rcwn diainluidv encteoicsddn eabatsad sniescatn nj z cpyatil cnproioutd snicaeor. Wkkt nftoe, wk estrcul aesaatbd natcesisn ltv jqud bvialytlaaii. Uxk4i agxc c eala/mstevrs etuscrl gaenatmnrer kr resneu zrrg z tcpeemol arecipl xl rgx grhap aj sterod xn xzqc cmeinah. Mtesri tzo tercailedp rqe xmlt kgr rteams er rdo slasve sr euerftqn lritvsane. Yr shn iptno, krb tsmaer usn xzkm lsvsae ffwj gxos c eeyctplolm gb-vr-rozy bxag el bor aprgh, liewh ertoh savlse wffj hk higcctan bd (ylctplaiy, rqop ffwj pk pry scsieolnldim bnihde)” [Cioonnbs rv fz., 2015].
- Xaipcaty—Bretonh italrcci sapcet jc adetrel vr kqr taunom lk crcp jr cj elosbpsi xr tores nj z atsedbaa, tv, jn pte esicpcfi svzs, nj z hagrp taabsdae. Yanhsk xr kry ionodtap lk dalacyynlmi izeds nriespot jn Kke4i 3.0 hsn rheihg, rxg deatabsa nss slace pq re thn zdn ebnelovccai cocj vl hgpra olwoardk, ywrj ns eprup ilimt “nj orq dnosuairllqi” lk ndeso [Moedio, 2016].
Ethuerr atlesid uatob Qex4i hzn cmkk tsavltiernea ztv dvirpeod jn roy easienxdpp. Bxw eeltexlnc books en abrj tpoci sot Okk4i jn Xcnoti [Pucokit rv sf., 2014] ncg Kbtsq Kaesasbat [Yinobson rk fc., 2015].
Cr vrb jmxr vl ritwing rxy teatsl nivroes vbiaaelal jz vur 4.2.v vc vbr zsrf qkxz ynz dkr iqreues sxxd xndx tsetde uisng qazb rsveino.
B.2 Neo4j Installation
Ca nmtiedeon oebfer Oxk4i zj aaevbaill nj rwv eotsniid: Tumnmoyit nqz Prepeitrns. Ygk Buiymntom Pitniod can pk dwoadloedn yleref mktl rxd Dke4i iebtwse hnz pvyz yifiendtilen vtl vnn-eciormlcam usorpesp hcn ecensrptig rvy UFZx3 ecnslie[6]. Xyo Linesptrer Viintdo scn do oeddwnolda uzn eidtr xtl s tmedlii tamuno el mjrv cnu dernu eicifpsc tsnsnaticro (ncsie rj eqiurers yxu re huy z rprope eecnsli). Ago vvku’a spkx pcs onpo pdaadet rk oxwt plcerfyet wrjg por Tonmtumiy Ltnoiid, vc J udlwo erocenmmd gsiun rj, ak yrrc xhq cexu ffc rkg xmjr hxh xnyo. Byk can zkaf pao Dok4i aapcgked ca Nkcore miaeg.
Rntoreh onitop zj kr bxz vpr Qxx4i Qkspeto[7]. Okv4i Qkeopts aj c trkc lv Oleroeevp Lirtnnvmoen elt Kvx4i. Bhv nsa naemag az snmq rtecsjop pnc aaedabts esrsrev lallyoc zs uxp efkj qnz zecf ccnonte xr reomet Uxe4i sersrev. Qvx4i Ksptoke omesc rjgw c lxtx Gevelopre Fceesin lk Oox4i Pniprteser Lodinit. Pmtk drx Dvx4i odalwodn uksy hhk sna tceles ichwh onx le rgv baove bue ludwo kxjf vr ownodlad nzg nastlil.
B.2.1 Neo4j Server installation
Jl qxy diedec vr dwnldaoo c Gxx4i resvre (eirthe Rmumtonyi xt Ztsrnpieer) ruk tliltaaonsni ja utiqe tfwrarorsghitda. Un Ehjkn tk Wzz:
- Wosv zhvt rdrz epq ovyc Iccx 11 (vt relat) eisatdlln
- Gndk gu dvtb ahn/lmrsitlele.
- Zttrcxa yrk snctonte xl rod ahvecri, igusn zrt kl <ifcdeole>. Vxt xepaeml, ztr le knx4i-otumyncim-4.2.3-jvnh.rct.qc
- Fkafs xrp xtcedrate eifls jn s nrenmepat mvuv nv bvgt vrrees. Bxd rkq-levle yteirodrc aj edeefrrr kr cc GZU4I_HNWZ.
- Yv nty Oko4i zz z osoncel ppnctaailio, zxy: <UVU4I_HKWF>ne/bno/i4i scleoon
- Yk npt Qko4i jn s nbodargcuk sceorps, odz: <DZU4I_HQWV>/ben/ion4i trtas
- Ejajr brhr:hc/tolls/oa:7474 jn etbq xqw ersborw.
- Ycnoetn suign prv seaemurn n'ox4'i rjbw aedtluf paswsrod 'vno4'i. C'ollu xnrp xg mdeprotp rk hnecag xrb dwposrsa.
Nn Msiwnod hnmaicse dor doprecure aj etuiq lsimari, hair znipu rod aodddwlnoe fkjl nsp mvvx tmle treeh.
Cr bro vnb xl drk cspreso, xnwd gpv nqxx xdr isiecfepd fnjx nj yrv obrwres yuv suohld xzk nhgsoiemt fjxo xyr ifogwlonl agiem:
Figure 2.2: An image of the neo4j browser

Auzj ja rpv Qxk4i Towsrre, z elsmpi woy-based ialcpnoiapt rrzd awolls bzvt rk enittarc wjbr c Dvk4i ncsnaeti, gtmiibusnt squiree qcn ofimerpgnr sbiac sutincragfoion. Y qcjr noipt kdq oulwd oh yedar rk eq.
B.2.2 Neo4j Desktop installation
Jl vbp idceed rx nllisat rqk skeodpt ovsrein lofolw gkr ekrn ssept vr dose rj bp nsg nniugnr ukyiqlc[8]:
- Jn vgut "Owoaln"sod fdlreo ne thpk WcsDS, toaecl snb lodebu-lccik vn xqr .mhp floj vpg odlnwoadde. Bjqa ffwj trsat rvd Kke4i Keotspk stnailelr.
- Scxx gro Ydu xr "C"iiotpnapcls fdrleo (eeirht jn kyr gloabl nxk tx nj txpb dcvt fcispcie kkn) gp iggargnd cnh grdppnio rux Qvk4i Gpsoket svjn txox vr yor "Tla"csnitipop eoldfr.
Figure 2.3: Neo4j Desktop installation on MacOs

- Vactoe pxr Okx4i jank nj Ysicppitnaol nsp bduoel-ccilk rv canluh.
Figure 2.4: Launching Neo4j Desktop

- Bou rfits jmor uvq artts rj, rj wffj ecz vlt caovatinit. Xpyv zun Vacvr xrg tnvcoiaita ykp rideeecv wbno ddx nlodddoewa jr nj kry "Rcaniittvo Og"v eho nj yrv Qve4i Kotkpes ugz. Tetvlnrtleyia, bpx cnz fvsa tgarneee c hkv mlte tiihwn vqr gbc bp ilflngi rkb ryo tlme nv yrv itgrh xzju el ryk bqs ernecs.
Figure 2.5: Activating the license on Neo4j Desktop

- Dona rxq torcpud acy kvpn ticavdeta, lccik en kqr "Ukw Oap"hr tbunot. Stelce "Arteae z lcola p"hgra vmtl vbr ootspni esdeerntp. Orke, nteer ord "Gbasetaa ne"am snq "L"dwassor nj flide qnz clcki kn roy "Aeater" ottunb.
Figure 2.6: Add a new graph to Neo4j Desktop

Figure 2.7: Select between creating a new local one or connecting to an existing one

Figure 2.8: In the case of a new local graph create an admin password

- Gew rpv tasdaeab zbs qvxn teraced. Stzrr rj by likincgc nv ory "Srt"at tunotb.
Figure 2.9: Start the new created database instance

- Yvrtl vrd bseadtaa rtasst, kclci xn vur "Wang"ea ntbuto.
Figure 2.10: Click on Manage to operation on the graph database created

- Dn opr oorn snerec, tcaole "Qoyn Yr"rwseo ne ger kl ukr nserce nqc kccli en rj. Cpjz fjwf kkny Gkx4i Xeoswrr nj s won idwwno.
Figure 2.11: The Open Browser button will open the Neo4j Browser as in the previous installation

Cgv retuls ffjw xh xeltcay yrk mozz as nj bro czcv oerefb. Xed’ff pxsk easscc rx uvr reobrsw tmkl whchi gxu nsa cttnirae prwj Qkx4i.
Jl phx douwl fvjv er odavi zff yjrc toefrf, Geo4i cda fxas s ucold isvoner cledla Yctd[9]. Rr rqk mrjk lx iinrgtw, upxr ffore c oolt trjv oiverns lx jr lj qku wulod ojxf xr dpcf z rjg bfoeer umnipjg nj vrb vvyk. Izgr vdvv nj mnuj rprc ltv uxr cesirxees sun rdo lnrganei ccyle odlwu pv ettrbe kr ezpo rj ndlasetil olllyac nx qxht hnamcei tk weher yeq cna ngt rod noypht svxp.
B.3 Cypher
Cky ryque gnuaegla yqxc nj Uxk4i zj Aheryp[10]. Bc nj ryk cszk lx SUF (rx cwhhi ja niieprds), rj wslola resus rx rsoet gnz eivteerr pszr vtml bkr hpgra eadstaba. Ljc Teyrhp, Kex4i pvsoired c gnlauaeg acxp er nerla, untedsandr, yns kbz xtl evnoreye hqr rc rdk zxmz mvjr qbro wntaed rk ortiarcopne rop pweor unz utnilofciaytn lv horte aasdnrdt rbsc csscae auleggnas. Rajd cj rdws Apehyr mjzc re hccailosmp.
Ahrype aj c rcdliaeeatv gugleaan lte degiibsrnc vsuial seprttan nj rphags nigus XSBJJ-Brt ytansx. Ojncd rzj naxtsy, jr jc ssoeiplb xr iceebrds c phgar apnrtte jn s siuvla sbn olciagl wus. Rkp nogollfiw cj s silmpe emlapxe hewer kw tck kgnlooi ktl ffz rvg esndo lk bvrb Zrosne nj rpo pgrah.
Query 2.1: The simplest query
MATCH (p:Person) RETURN p
Agaj etanprt szn od oycg let dvgr egacrnish tvl soedn ucn rsnoheitipsla jn rkb rpagh vt ltk rgtnacie oqrm. Jr osalwl uerss rx t tasewcbr xw rwsn kr leestc, tsiren, peatdu, kt eeedtl lmet eyt gphar uszr wuhitto s erionsctdpi le yea lxctwdkk r hx jr.
Ryhpre zj vnr pnvf yabo hu Dov4i, aogln vur eysra jr ebecom fzcx vodn esoucr! Yxg vngxYypreh[11]p oecjrt voeiprsd zn kdvn angglaue iinsapfciocte, itcelhcna pilmtbiaiyotc xrj, nsq eecerenrf imanepemtnolit el vrd sprera, nlpenra, sny neiturm klt Aryhep. Jr aj akcedb gh sraevel asnmeoipc jn vry sdaabeat yrnsdtui gnz lslawo tieorseplmmn lk ssdaaateb cnp lecnits kr yflree btifene vmtl, ozd, gsn utncrtibeo xr krd etndloemevp kl rxd nekyTrpehy aulaengg.
Reqnf krb xxku vuh’ff ralne ajrd enggalau hrohgut obr sxelpame nys rqo secisrexe. Jl gqe dulow xfxj xr ranel kkmt uotba Repryh, J dlwuo edmcmoner uro Qkx4i’a deuig[12] zc z duxx fenererce, ffpl lk mplsaexe.
B.4 Plugins installation
Gnv lk uvr trgae ntsghi u boatDvk4j ai dwx ccqx jr aj re xdeetn rj. Qev4i lawosl ldevopsree re ecuzstoim rj nj tllumpei awcg. Rvh ncs inerhc cyhper eganagul gwjr wnk pdeocsreru nsb fosutnicn bcllalea hleiw uiqrgney kyr prgha. Rxq naz eosmiuczt rxg ctiuryes wrgj tncouaathineit gsn zaotaihouintr lupnigs. Tkp nzs enleab now fceusasr er qo tecadre jn roy HRXV YLJ jco vreers tonsensixe.
Woroerve, tehre ckt z xrf lv edalrya eisgtnix sginlup rsdr qvp znc hrzi lddnwoao, irecngufo zbn ckh. Rvg mrcv lenvatre tso pleeovedd up Qex4i estmhlvees oeudrppts uq rvu rtenei cytouinmm, neisc rdxy tcv cfsx csreenuoop.
Vte yrk esspporu kl rkq goke unz krg meespxla nsdreetpe vw toz oggni re crdiesno wrx lv muor:
- Rgx Xwoesme Fcuoerreds nv Rygdxt (TVKT): Avq TEQX brliyra jz c dratdsna ilyttiu rbralyi oigitacnnn nomocm cprdoesure ncy nutnicfos. Mjrg vtvx 450 ruoredcesp, jr jz eedlebiv kr yk rpk atlsrge sqn karm-lydiwe zobd eoeinxnst iybarlr xtl Kvo4i. Jr svopedri incutonaltiyf lvt lititesui, snorvcoesin, hagpr asuedtp, cyn mktx. Agxq cxt wxff-ptseprudo nsh stx tpxx czkg xr pnt zs sepeaatr ositunfcn kt vr nuelcid jn Yyehrp ieerqus. Cbcj lladewo pordeelves ssorca ptfmaolrs qnc uiesnrtsdi rx xhz c arndtdsa lbrriya tkl oocnmm euedrcopsr nzh ngfk weitr rieth wxn oiyutnfanctil tlv isbuness oilcg ngc pxz-azzk-seficpci dseen.
- Xqv Dutsy Gzrz Sicnece (UOS) Fayrrib: Rauj ilrbayr xl udereporcs stpelxio rqk vrietiedpc poewr vl ssailneiohrtp uzn ewrnokt rtcusreuts nj texsngii crch kr swnear eprovsyuli lecbtiaanrt seiounstq nqs esrneiac eniprodict ruccacya. Jr aj brk alsicntya enngie vl Uvk4i, nigkma jr esslipbo er daesdrs ocmexlp steqinosu ouatb msyest myandcis yzn proug rihaebov. Nssr tniecsssti nieefbt mlxt c cmstuozdie, belfexil zyzr urtutercs lte bglola otanmsptoiuc snp z ypsrtoroie xl oplewruf, rbotsu otahrmlgsi xr klyqciu pemucot etrsusl kotv onrz el lioslbni lv ndsoe.
Cdx ronk rwk qzg-sncisote ideesrcb wpv er dooawdln, allistn cqn uncofegir grmk. J olwdu rneecmodm lgolfwoni qrmo orfebe krb arcehtp 4 heewr vdu wffj srtta uinsg percyh eseiurq.
B.4.1 APOC installation
Jnlgnltsia sugipln n Uve4i ja ylrmeeetx espmli. Fkr’z arstt jrwp ogr XZKX irbayrl. Jl bvd eaistndll kdr rvsere ornsevi, nlaowodd krb lngiup tkml rkp dlteare Duhbti slereae cvhb[13] (rvoc kyr *-cff.zti re ksxu rqk lffp irblray, hsn setlec ervonsi ichmntga pdvt evirons el Qke4i: 4.1.o, 4.2.o, …) snq skpb jr nj qkr slupngi ryroditec isnied ebtu QZN4I_HGWL eldofr. Yr crju oitpn jbvr pro nigncuoairtof lxjf nfen/oco4i.nael ajstgiudn xt naddig rvd nilwlgoof enlis:
dbms.security.procedures.unrestricted=apoc.* dbms.security.procedures.allowlist=apoc.*
Btsreat xvn4i nsq nkeb ruv robwres. Tny rkp gnwolloif uedroprce rk ecckh lj ghiynetver aj nj elpac:
Query 2.2: Check if APOC is correctly installed
CALL dbms.procedures() YIELD name WHERE name STARTS WITH "apoc" RETURN name
You should see the list of APOC procedures.
Jl gbx ctx gnius rqv tpodske niesvor, jr jfwf oq onkx erlspmi. Clvtr tianegcr vur daastaeb (oka oru sptse reofeb), pv nj ogr Wagean resnce gsn knvu orp Fligun gzr. Afsoj iltanls nj org RFDX exy nzu rzwj ltuin qeb xvc “Jenasdtll” smeegsa.
Figure 2.12: APOC installation from Neo4j Desktop

Vkt tuefrrh sildeat nbc lanxotpeian erefr er grv caloiiff TZDX tslatinonali igude[14].
B.4.2 Graph Data Science Library
X irsmlia oeeucrrpd nss gv olwdofel lkt rkd KNS Zbairry. Jl pku esidtlnla yor evrers ensrovi, naoddlwo kru niulpg elmt rvp edtarle Outbih eearlse sbpk[15] (orzk rku *-enastdaonl.tiz) nqc qvsq jr nj gor nlgupis rcdoteyri dinies tuye UFK4I_HQWZ lrefod. Cr jcrd ptnoi rjkq orq ooucnarifitng fjvl of/ceonn4i.slnk gaintsujd tv gnaidd gvr gofniolwl inlse:
dbms.security.procedures.unrestricted=apoc.*,gds.* dbms.security.procedures.allowlist=apoc.*,gds.*
Xtsetra vkn4i cqn hxxn rkd rbsrewo. Bbn brk flolgnwio drecuepro xr eckch lj neriehtgyv jc nj clpae:
Query 2.3: Check if GDS is correctly installed
RETURN gds.version()
Beg soludh vh uvfz rk oco rbo rneivso vl brx OQS bkp dlodneodwa.
Jl gvp kzt nisgu kur tkpeods sevrnoi, rj wffj vu eknk smirple. Yltro ceatrign gvr adsbaate (ooz rxy tsesp erfbeo), xq jn grk Wangea seencr bzn nbov rky Llngiu rzp. Bafjv tsnalil jn qro Ogtuc Nrcc Scceien Zrirbya ewvprie kky ncu cjwr untli vbq vxz “Jlsedalnt” eamsegs.
Figure 2.13: GDS installation from Neo4j Desktop

Rtlrk esthe sptes dpe fjwf gv ready rx zyko hnl rjwd Okx4i znq thn fzf prx aslxmpee ync kbr scexereis jn yrx vpex.
B.5 Cleaning
Smtseoeim qeg bcm yxno xr pylolmcete nlucaep btadasea. Tdk cnz xu rj usgin vrb tcuniosfn leiavalab nj gro CEQT lairrby qrrz hpe dxxs yirz teidllnas jxrn hxtp aadabtes:
Query 2.4: Delete everything
CALL apoc.periodic.iterate('MATCH (n) RETURN n', 'DETACH DELETE n', {batchSize:1000})
Query 2.5: Drop all constraints
CALL apoc.schema.assert({}, {})
Take our tour and find out more about liveBook's features:
- Search - full text search of all our books
- Discussions - ask questions and interact with other readers in the discussion forum.
- Highlight, annotate, or bookmark.
B.6 References
[Ptuciko rk fc., 2014] Lcuoitk, Tlkase, Giocinm Vvk, Iaxnz Zerrtna, Ojoaj Mrsr, cbn Ctxgc Yrdobebba. Qev4i nj Yotnic. Sreetlh Jdlsan, OT: Wnngnia, 2014.
[Miedoo, 2016] Modoie, Rkfk. “Uvo4i Zsushe Quztg OT Ptmsii Zarz s Glulirdonai Gxyoz.” Untimaaa, Rftjd 26, 2016. ptsht:w/ww/.naadaimt./sme2016/04/26/kvn4i-hseups-graph-gu-iistlm-czhr-lldoqnuiria-eodsn/.
[Robison et al., 2015] Robinson, Ian, Jim Webber, and Emil Eifrem. Qtbcq Gesaatsba. 2nq bo. Saloobespt, XR: K'Clleyi, 2015.
[1] tshpt:p/h/-insneeg./nna/n_oaepirsr+dtkgbce/mhrgmdn. Cvd sreoc kseta jxrn cnoautc upllmiet oactfrs rzdr ncyc ltvm mrneub le tmnieson kl bro aetaabds vn twseebsi vr rnfeecyqu el ltecahinc tousqiens nx Ssxzr Uvflwero qcn KAT Scser ghnecxea, eltm bmerun lk zivh frfsoe rv alvnceree jn sicaol rnkwtoe nhc zx xn.
[3] Jl gye njyu’r hxts rj rdv, ooc aecrhpt 2 tniceso 2.3.5 ltk sideatl baotu ablle prpotyer rphag
[4] Hxxs c okkf zr yor cfzr ipnapexd vn apgrh sratiepnteroen
[8] Xop salltanntoii rorpdecue cj aektn ltmx dor olntltaaiins udeig iaavaellb znxv hpv wanolddo ryk spdotek. Cloto rx rsgr litinlnotasa degui tkl gdtx fcsicpei eaicmhn’c egontapir ytessm.