There were a couple of John William Longstaffs in Workington at the time of that vaccination hearing.
One is John Walter's father, and his children would seem to be too old. The other was born in Illinois circa 1868/9 and had a child Thomas Studholm Longstaff born in September 1898. That's probably the applicant for exemption.