Abstract connections of lines and spheres