SWI-Prolog Did You Know Did you know? SWI-Prolog provides general DCG primitives Search Documentation:
Predicate uri_query_components/2