Did you know? SWI-Prolog can parse SGML/XMLSearch Documentation:
SWI-Prolog owl logoPredicate bagof/3