You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.
Daniele Guido edited this page Feb 19, 2016
·
1 revision
(wip)
Queries
Below some queries that help histograph in identifying clone candidates
// name: get_clones// get two people having same specificity, sorted by jaccard and unionMATCH (p1)-[r:appear_in_same_document]-(p2)
WHEREid(p1) <id(p2) ANDr.union>2ANDr.intersections>2ANDp2.specificity=p1.specificityWITHp1, p2, rRETURNp1.name, p2.name, p1.specificity, p2.specificity, r.jaccard, r.union, r.intersectionsORDER BYr.jaccardDESC, r.unionDESCLIMIT500