Thread:Extension talk:SemanticFormsSelect/templates in the query?/reply

Not tested this. However, it should work. Verify in a separate page to make sure the query returns a list of string separated by comma.