Project

General

Profile

Actions

set

Sets a property in the interpreter. The general syntax is:

set option [on | off];

Where option is one of the following:

   Prints the time a command takes to execute (in seconds). For example:
<pre>
set time on ;
Command timing on
Command execution time - 0.019 seconds
alias <http://www.w3.org/1999/02/22-rdf-syntax-ns#> as rdfns ;
Successfully aliased http://www.w3.org/1999/02/22-rdf-syntax-ns# as rdfns
Command execution time - 0.0050 seconds
set time off ;
Command timing off
alias <http://www.w3.org/1999/02/22-rdf-syntax-ns#> as rdfns ;
Successfully aliased http://www.w3.org/1999/02/22-rdf-syntax-ns# as rdfns
</pre>
<pre>
<pre>
<pre>
set autocommit off ;
insert <ns:subject> <ns:predicate1> 'object' into <rmi://mysite.com/server1#model> ;
insert <ns:subject> <ns:predicate2> 'object2' into <rmi://mysite.com/server1#model> ;
set autocommit on ;
</pre>
<pre>

Updated by Paula Gearon over 15 years ago ยท 2 revisions