Query RelatedRecords sample for debugging

Query RelatedRecords sample for debugging