Skip to main content

sqrt

The mathematical square root function.

Parameter

Type

x

decimal, double

Returns: decimal

Example

Query:

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

SELECT (fn:sqrt(64) AS ?sqrt)
{
}

Run query

Results:

sqrt

8