Germany (inverse example)
We want a query that finds everything located in Germany to output wiki text that has the markup for several location of semantic annotations.
The difficulty is specifying additional wiki markup in the sep parameter to an inline query. So we create a template Template:Semantic-invert to provide it.
[[Location of::Baden-WürttembergTemplate:Semantic-invertBerlinTemplate:Semantic-invertCologneTemplate:Semantic-invertExternsteineTemplate:Semantic-invertFrankfurtTemplate:Semantic-invertHamburgTemplate:Semantic-invertMichaelZ70Template:Semantic-invertMunichTemplate:Semantic-invertStuttgartTemplate:Semantic-invertWürzburg ]]