Add connected sources query