A toy prolog URI parser