Conditional Functions and Negation
This topics in this section describe the built-in SPARQL functions that evaluate conditions and return different answers depending on whether the conditions are met.
For information about IF/THEN conditional expressions, see Conditional Expressions.
- COALESCE: Evaluates a number of expressions and returns the results for the first expression that does not raise an error.
- EXISTS: Tests to see if the specified graph pattern exists in the data.
- IF: Evaluates an expression and returns a second expression depending on the answer.
- MINUS: Subtracts matches from the result based on the evaluation of the pattern that you specify.
- NOT EXISTS: Tests to see if a graph pattern does not exist in the data.