Since probably SMW 1.7.0 the behaviour of #ask changed when querying for one page, e.g.
{{#ask: [[Berlin]]
| ? | ?Population | ?Area#km² | format=template | template=Query output demo
}}
produced "3,391,409 people squeeze into the 891.85 km² of Berlin." in SMW <1.7+, now it produces "Berlin people squeeze into the 3,391,409 of Berlin." SMW >1.7+
As you do this with #show
{{#show: Berlin
| ? | ?Population | ?Area#km² | format=template | template=Query output demo
}}
nothing changed: "3,391,409 people squeeze into the 891.85 km² of Berlin."
A work-around would be
{{#ask: [[Berlin]]
| ?Population | ?Area#km² | format=template | template=Query output demo
}}
or
{{#ask: [[Berlin]]
| mainlabel=- | ?Population | ?Area#km² | format=template | template=Query output demo
}}
This may be inspected on [1].
I do not know if this is a bug since there are other ways to get the intended results. However I do not know if this was done intentionally since it breaks consistency between #ask and #show.
[1] http://semantic-mediawiki.org/wiki/Help:Template_format
Version: unspecified
Severity: minor