Synthesizing Linked Data and Detecting Per-Query Gaps Under Differential Privacy