cplint on
SWI
SH
is a web application for probabilistic logic programming
About
Help
LIFTCOVER-Help
PHIL-Help
PASCAL-Help
Credits
Dismiss
Latest:
Threads and Python in LIFTCOVER
,
course
,
PHIL examples
,
book
Toggle navigation
?
users online
Logout
Open hangout
Open chat for current file
% This example is added to demonstrate that you can ask queries % against a script and get the result back as CSV. Using the % `swish-ask.sh` client, the following call downloads a CSV % file: % % $ bash swish.ask.sh --server=http://swish.swi-prolog.org \ % X,Y "sin_table(X,Y)" sin_table(X,Y) :- between(0,90,X), Y is sin(X*pi/180). /** <examples> ?- sin_table(X,Y). */