{@link Result} interface to wrap the result of executing a SPARQL ASK query so that it canbe returned from a call to {@link Command#execute()}. An ASK query takes a query pattern and tests whether a solution for the pattern exists in the dataset. It always returns a single boolean result: true if a solution exists for the pattern, or false if no solution is known to exist.
This interface is designed to be returned from the {@link Command#execute()} method forexecuting general SPARQL commands. If you have prior knowledge that a command is an ASK query, then you can access the boolean result directy by calling the {@link Command#executeAsk()}method.
@author Alex Hall @created Aug 9, 2011
|
|