Querying Contact Criteria in a Segment