Skip to main content

bool_or

Aggregates boolean values. It returns TRUE if any of the values in the aggregation are true and FALSE if all of them are false, ignoring unbound values.

Returns: boolean

Table 1.

Parameter

Type

Description

value

boolean

The values to combine with OR



Example

Query

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

SELECT (agg:bool_or(?foo > 3) AS ?bool_or)
{
    [ :col-aggregations-foo ?foo ]
}

Try the query

Table 1. Results

bool_or

true