It would be great if we could use a Cargo query with either 'function' or 'query'. I've tried both options but haven't had any luck so far.
Topic on Extension talk:Semantic Forms Select/Flow
It would be even easier if we could pass @@@@ to a template, which can then contain any kind of query (Cargo, SMW).