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.
Baden-Württemberg|Baden-Württemberg]]:Template:Semantic-invertBerlin:Template:Semantic-invertCologne:Template:Semantic-invertExternsteine:Template:Semantic-invertFrankfurt:Template:Semantic-invertHamburg:Template:Semantic-invertMichaelZ70:Template:Semantic-invertMunich:Template:Semantic-invertStuttgart:Template:Semantic-invertWürzburgProperty "Location of" (as page type) with input value "Baden-Württemberg|Baden-Württemberg]]Template:Semantic-invertBerlinTemplate:Semantic-invertCologneTemplate:Semantic-invertExternsteineTemplate:Semantic-invertFrankfurtTemplate:Semantic-invertHamburgTemplate:Semantic-invertMichaelZ70Template:Semantic-invertMunichTemplate:Semantic-invertStuttgartTemplate:Semantic-invert[[:Demo:Würzburg|Würzburg" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.