
xsparql.testcases-dawg-sparql-1.1.functions.coalesce01.xsparql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xsparql-test-suite Show documentation
Show all versions of xsparql-test-suite Show documentation
XSPARQL compliance test suite
The newest version!
prefix :
prefix xsd:
{for
(coalesce($x, -1) as $cx) # error when $x is unbound -> -1
(coalesce($o/$x, -2) as $div) # error when $x is unbound or zero -> -2
(coalesce($z, -3) as $def) # always unbound -> -3
(coalesce($z) as $err) # always an error -> unbound
from where {
$s :p $o .
optional {
$s :q $x
}
}
return
{$def}
{$err}
{$div}
{$cx}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy