There's a little poem that goes something like this:
Here lies the body of Thomas Grey,
Who died defending his right of way.
He was perfectly right as he sped along,
But he's just as dead as if he'd been wrong".
Looking up this poem reveals many versions, with any number of variations on the name of the dead man (Edward Gray, Mike O'Day, and even Captain May who sailed along) and sometimes variations on the rest, too. For instance, "He was right, dead right, the whole way along", and "John's light was green, the other red, John was right but now he's dead".
Where's the earliest version of this that can be found, what was it then, and is it known who wrote it?