Welcome to TNet necn24, Without some size reference I'm making my best guess. The top part definitely looks like an incandescent lamp socket for Edison style bulbs. Same as modern screw in bulbs. The bottom half is a little more complex but I'm thinking either an adapter of some kind, from one type socket to another but more likely to be an adapter to allow switching (on-off) at the
lamp base or for an un-switched wall socket.
Is the bottom half ceramic or brass also?
In the early days of rural electrification, Ca 1890s, the best way to go was a home generating plant called a "Delco Plant" It was an Edison creation that charged a bank of serviceable batteries. They made all kinds of accessories to augment the gasoline fired generator powered by a "Hit and Miss Engine". Small wind generators and outfits for hydro generation. They were extremely popular with dairy farmers who had the need to milk long before the sun came up. It eliminated the need to use open flame type illumination in a wood and straw environment with 1,000 pound nervous livestock.
Only one problem, they were direct currant in order to charge the batteries.
(Will continue in another reply.)