Label Propagation
The Label Propagation algorithm detects structures in a graph by propagating labels throughout the graph and forming groups based on the label propagation.
Label Propagation Syntax
Graph algorithms are accessed from an internal SPARQL service endpoint. To incorporate the Label Propagation algorithm in a query, include a SERVICE statement in the WHERE clause. The service call specifies the name of the algorithm and defines the required and optional property values for that algorithm.
Use the following syntax in the SERVICE clause to find the groups in a graph. The table below describes each property.
SERVICE <csi:label_propagation> { [] <csi:binding-vertex> ?vertex_variable_name ; <csi:binding-label> ?label_variable_name ; <csi:edge-label> <edge_uri> ; [ <csi:max-iterations> number_of_iterations ] . }