Did you know? You can get Javadoc style documentation automaticallySearch Documentation:
SWI-Prolog owl logoPredicate flatten/2