AnalysisStructureSetup method: Query