The calculated distance (air line) between Baguim do Monte and Queluz is approximately 172 miles respectively 278 kilometers.
By car or train, the actual journey to Queluz is certainly longer, as only the direct route (as the crow flies) between Baguim do Monte and Queluz has been calculated here.
Air line (approximately)
278 kilometers
150 nautical miles