Did you know? docstore is a document oriented DB in SWI-PrologSearch Documentation:
SWI-Prolog owl logoPredicate forall/2