The following example demonstrates usage of the sql:log-enable pragma.
sql:log-enable
DEFINE sql:log-enable 2 SELECT * WHERE { ?s ?p ?o } LIMIT 100