@@ -424,7 +424,7 @@ <h3>Search for Officer nodes by name</h3>
424424 < div class ="listingblock ">
425425 < div class ="content ">
426426< pre mode ="cypher " class ="highlight pre-scrollable code runnable standalone-example ng-binding "> < code
427- class ="cypher language-cypher "> :param officer: "< span value-key ="officer "> A Name</ span > "</ code > </ pre >
427+ class ="cypher language-cypher "> :param officer= > "< span value-key ="officer "> A Name</ span > "</ code > </ pre >
428428 </ div >
429429 </ div >
430430 < div class ="listingblock ">
@@ -494,7 +494,7 @@ <h3>Find who is behind an Entity and the roles that they play</h3>
494494 < div class ="listingblock ">
495495 < div class ="content ">
496496< pre mode ="cypher " class ="highlight pre-scrollable code runnable standalone-example ng-binding ">
497- < code class ="cypher language-cypher "> :param entity: "< span value-key ="entity "> An Entity</ span > "</ code > </ pre >
497+ < code class ="cypher language-cypher "> :param entity= > "< span value-key ="entity "> An Entity</ span > "</ code > </ pre >
498498 </ div >
499499 </ div >
500500 < div class ="listingblock ">
@@ -720,7 +720,7 @@ <h3>Most popular offshore jurisdictions for people with addresses in a certain c
720720 < form >
721721 < div class ="node ">
722722 < div class ="form-group ">
723- < label > City:</ label > < input value-for ="state " value ="London " class ="form-control ">
723+ < label > City:</ label > < input value-for ="city " value ="London " class ="form-control ">
724724 < label > State/country:</ label > < input value-for ="state " value ="United Kingdom " class ="form-control ">
725725 </ div >
726726 </ div >
@@ -983,6 +983,17 @@ <h3>Full text search with graph patterns</h3>
983983 < h3 > Graph Analytics</ h3 >
984984 < br />
985985 < div >
986+ < div class ="paragraph ">
987+ < p > We start by projecting the graph into an in-memory represenation suitable for heavy computation</ p >
988+ </ div >
989+ < div class ="listingblock ">
990+ < div class ="content ">
991+ < pre mode ="cypher " class ="highlight pre-scrollable code runnable standalone-example ng-binding "> < code
992+ class ="cypher language-cypher "> call gds.graph.project("offshoreleaks","*","*");
993+ </ code > </ pre >
994+ </ div >
995+ </ div >
996+
986997 < div class ="paragraph ">
987998 < p > PageRank is an algorithm used for instance by Google to rank websites in their search engine
988999 results.
@@ -996,7 +1007,7 @@ <h3>Graph Analytics</h3>
9961007 < div class ="listingblock ">
9971008 < div class ="content ">
9981009< pre mode ="cypher " class ="highlight pre-scrollable code runnable standalone-example ng-binding "> < code
999- class ="cypher language-cypher "> CALL gds.pageRank.stream({nodeProjection:'*',relationshipProjection:'*'} ) YIELD nodeId, score
1010+ class ="cypher language-cypher "> CALL gds.pageRank.stream("offshoreleaks" ) YIELD nodeId, score
10001011 WITH gds.util.asNode(nodeId) as node, score
10011012 WHERE node:Entity AND node.sourceID = "Panama Papers"
10021013 RETURN node.name AS entity, score
@@ -1014,7 +1025,7 @@ <h3>Graph Analytics</h3>
10141025 < div class ="listingblock ">
10151026 < div class ="content ">
10161027< pre mode ="cypher " class ="highlight pre-scrollable code runnable standalone-example ng-binding "> < code
1017- class ="cypher language-cypher "> CALL gds.pageRank.stream({nodeProjection:'*',relationshipProjection:'*'} ) YIELD nodeId, score
1028+ class ="cypher language-cypher "> CALL gds.pageRank.stream("offshoreleaks" ) YIELD nodeId, score
10181029 WITH gds.util.asNode(nodeId) as node, score
10191030 WHERE node:Address AND node.sourceID = "Panama Papers"
10201031WITH * ORDER BY score DESC LIMIT 10
0 commit comments