The pump looks to me to be a shallow well pump, perhaps an abandoned well? Maybe intended for irrigation? It is possible to hook it up as a sump, it would need a reservoir underground. Totally unsure of what the other thing is.
The pipe with the handle has a slide valve in it. crack the handle and it allows water from the floor drains to be pulled through the pipe that’s marked dry basement. for those of you who think the pump side is a well, all I can say is don’t drink the water… it’s hooked up to the sanitary line. This was used in homes that had no sump pump set up and put in operation in the event the basement flooded. The line between the valve and pump has been removed for what ever reason.