I certainly cannot disagree with either Hol or Louis about the locomotive's identity, because I can't see very much of the engine or read its number. However, there were six steam locomotives that were deeded over to the CB&Q when the South Sioux City to O'Neill line (the GN portion of the Sioux City & Western) was sold to them by the GN. This line was leased to the CB&Q on November 1, 1907, and formally sold to them on December 1, 1908. All six of these locomotives (four 4-6-0's, a 4-4-0 and a 2-6-0) had been built by Rhode Island, so were probably orphans on the CB&Q as they had been on the GN.
I wrote to Bernard Corbin many years ago about the fate of these engines on the CB&Q, and he apparently asked the question of Joe Douda, who sent a letter back to Mr. Corbin dated February 1, 1977 (I got a copy from Mr. Corbin). Mr. Douda believed that the 4-6-0's (GN 994, 995, 996 and 997) became part of Burlington's Class K-9, which I think was sort of a "catch-all" of older 4-6-0's, and he thought they may have been numbered as CB&Q 942-945. The 4-4-0 he felt was assigned to Class A-2 and numbered 373. He thought the 2-6-0 had been rebuilt to an H-1C as 1115(2nd), possibly using parts from 1115(1st). I guess the point is that these ex-GN locomotives could have been operated on the Burlington line through Homer -- I have no idea where they were really assigned on the CB&Q during their relatively short service lives there. The last to be retired was the 4-4-0, which was retired in July 1918.
The line from Ashland to Dakota City was completed by the CB&Q in 1905 and 1906 according to a History of Dodge and Washington Counties, Nebraska, edited by William H. Buss and Thomas T. Osterman (1921). The July 19, 1906, issue of the North Nebraska Eagle (Dakota City, NE) contained a short note stated to have been taken from the Sioux CIty Daily Journal of July 16 saying that the "first regular train of the CB&Q to enter Sioux City came up from Lincoln last night. A mixed train will be used until August 1 when the first exclusively passenger service will be instituted. The locomotve and cars all bear the name of the CB&Q but operate over GN tracks by GN arrangements with the Combination Bridge Company as far as the SC&W junction 1 1/2 miles south of Sioux City. The equipment is taken care of at the GN roundhouse and yards."
This doesn't really answer the question about the locomotive's identity, but I hope may be of some interest.