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



OSZAR »