added UNION statements to queries to support alternative properties