SWI-Prolog Did You Know Did you know? SWI-Prolog has powerful Semantic Web tools Search Documentation:
Predicate prolog_cut_to/1