Detect communities in the knowledge graph using graph clustering algorithms
Parameters
Output
Encoding
application/jsonalgorithm
string
Required
Algorithm used
Known values:
louvain, label-propagationcommunities
array
Required
Detected communities
generatedAt
stringdatetime
Required
Timestamp when generated
total
integer
Required
Total communities found
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"communities",
"algorithm",
"total",
"generatedAt"
],
"properties": {
"total": {
"type": "integer",
"description": "Total communities found"
},
"algorithm": {
"type": "string",
"description": "Algorithm used",
"knownValues": [
"louvain",
"label-propagation"
]
},
"communities": {
"type": "array",
"items": {
"ref": "#communityResult",
"type": "ref"
},
"description": "Detected communities"
},
"generatedAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when generated"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum communities to return"
},
"minSize": {
"type": "integer",
"default": 2,
"minimum": 1,
"description": "Minimum community size"
},
"algorithm": {
"type": "string",
"default": "louvain",
"description": "Community detection algorithm",
"knownValues": [
"louvain",
"label-propagation"
]
}
}
},
"description": "Detect communities in the knowledge graph using graph clustering algorithms"
}