Previous topic  Top  Next topic  Print this Topic
 

Skip Sending Answers: skipSendingAnswers

 

This option is useful if you want to measure the pure query time without I/O overhead of sending the results or if you just want to check if a specific query is evaluable.

Example

Ontology:

p(a).

p(b).

If you execute the following query:

?- p(?X).

You get the result

a

b

But if you use "skipSendingAnswers":

@{q1, options[skipSendingAnswers]} ?- p(?X).

the query will return no result.