SWI-Prolog Did You Know Did you know? SWI-Prolog has extensive GIS Support Search Documentation:
Singleton variable checking