SWI-Prolog Did You Know Did you know? test Search Documentation:
Predicate rdf_find_literals/2