Skip to main content

checksum

Creates an order-independent checksum of a set of values. This function can be used to compare two sets of values for equivalence, or to validate that a set of values has not changed as it's dataset evolves.

Parameter

Type

Description

value

any

The values to form a checksum of.

Returns:

Example

Query:

PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-aggregation-sample-queries/>
PREFIX agg: <http://data.world/function/aggregate#>

SELECT (agg:checksum(?foo) AS ?checksum)
{
    [ :col-aggregations-foo ?foo ]
}

Run query

Result:

checksum

4cbc92c38272733