0

Normally you would query like this

{{#ask:
 [[Category:City]]
 [[Located in::Germany]] 
 |format=list
}}

How can you make the following work (as a List format)?

{{#ask:
 [[Category:City]]
 [[Located in::Germany]] 
 [[Located in::England]]
 format=list
}}

For this it only puts out: Berlin

Goal is that it would put out: Berlin, London

Bergi
  • 630,263
  • 148
  • 957
  • 1,375

1 Answers1

0

You can try

{{#ask:
 [[Category:City]]
 [[Located in::Germany||England]] 
 |format=list
}}

see: https://www.semantic-mediawiki.org/wiki/Help:Unions_of_results

Robis Koopmans
  • 363
  • 1
  • 5
  • Thanks but I actually postet the wrong question. It was meant to say: ```{{#ask: [[Category:City]] [[Germany::]] [[England::]] | format=list }}``` - that is what I am failing at – IngmarH Apr 20 '23 at 10:28