Thread:Help talk:Subobjects and queries/Integrate Subobject Queries into Ask?

It seems to me that querying for page properties and subobjects simultaneously is needlessly complicated. Having to perform sub-queries inside other templates just obfuscates the code unnecessarily. Couldn't something like below be implemented? Is there some technical reason this wouldn't work? I've written this as a separate parser function from #ask (since I'm considering writing an extension), but it seems this could integrate with #ask.

[1] Implicitly does -Has subobject:: [2] Has ingredient::+ not needed if "Part of recipe" subobjects are the only kind on the page [3] Each subobject will get passed to the template "Part of recipe", and the output of each will be concatenated and set as the value of within the "Recipe" template Is there some reason something like this wouldn't work or wouldn't be a good idea to implement in an extension or future release of SMW?