Example PSL programs are available at https://github.com/linqs/psl-examples.

Each example contains a script called run.sh which will handle all the building and running.

A detailed walkthrough of an example can he found here.

Edit This Page