Tree format query does not render as a nested list
From semantic-mediawiki.org
Fragment of a discussion from Help talk:Tree format
Thanks for the reply. Seems like I overestimated what a result format can do.
Including a country in the query does indeed have the desired effect:
{{#ask: [[Germany]] OR [[Category:City]] [[Located in::Germany]] | format = tree | parent = Located in | limit = 5 }}
Result:
Nice :)
Some result formats indeed need a special data structure to work on. Here it appears more to be a matter of selecting pages. Have a look at inferencing too.