How do I execute a command relative to an entity in 1.15?

You're probably looking for "local coordinates". /execute positioned ^ ^ ^-.5 moves the execution position half a block back.