Counts the solutions in a group, or the bindings of expression when one is supplied. Wrap the argument in
distinct to count distinct values; omit it to count every solution as count(*).
Parameters
Optionalexpression: string
The expression whose bindings are counted, or omitted to count all solutions
Generates a SPARQL
count()aggregate.Counts the solutions in a group, or the bindings of
expressionwhen one is supplied. Wrap the argument in distinct to count distinct values; omit it to count every solution ascount(*).