parallel processing - How to run PageRank in Blazegraph on a dataset? -
i want run pagerank algorithm in blazegraph on dataset downloaded snap, stanford network analysis project. far can see, there pagerank implementation in blazegraph, cannot find way run it. possible run it? if yes, how?
you can use blazegraph gas api execute graph analytics on data loaded in blazegraph. example below shows running pagerank on of data loaded in namespace. if have particular snap data set converted rdf, you'd see feel free post link.
prefix gas: <http://www.bigdata.com/rdf/gas#> select ?node ?rank { service gas:service { gas:program gas:gasclass "com.bigdata.rdf.graph.analytics.pr" . gas:program gas:out ?node . # once - bound visited vertices. gas:program gas:out1 ?rank . # computed pagerank value node } filter (?rank<100) } order desc(?rank) pagerank example output on connectivity of autonomous system (as) links:
node rank <as:1120> 0.4546700227713777 <as:11492> 0.42358562655858023 <as:12644> 0.41794183515852634 <as:12143> 0.39695587975476715 <as:10217> 0.37759985273202806 <as:13092> 0.3668006144247455 <as:11139> 0.33221277719235737 <as:12722> 0.3256365110406788 <as:10913> 0.32270313230429504
Comments
Post a Comment