Running Swish 3 and GHC 6.12.3. As per instructions here:
Placing the above text into a file called, say, SwishExample.ss.
Start the Hugs or GHCi Haskell system.
Load module SwishMain.hs from the Swish software directory.
Issue the command: runSwish "-s=SwishExample.ss".
Swish returns the following:
*Swish.RDF.SwishMain> runSwish "-s=SwishExample.ss" Script syntax error in file SwishExample.ss:
unexpected " " expecting script command or end of input There was a format or syntax error in the input data.
Swish exit: There was a format or syntax error in the input data. ExitFailure 2 *Swish.RDF.SwishMain>