Query for additional properties?

32 views Asked by At

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

1

There are 1 answers

1
Robis Koopmans On

You can try

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

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