Help:Combining results of multiple queries

From semantic-mediawiki.org
Jump to: navigation, search
Combining results of multiple queries
Displaying the results of more than one inline query in one results display set (inline query)
Further Information
Provided by: Semantic Compound Queries
Minimum version: 1.4.0
Maximum version: still supported
Function: yes
Tag: no
Name: #compound_query
Table of Contents

The parser function #compound_query lets you display the results of more than one inline query within one results display set. It takes inputs similar to that of #ask but can take in an unlimited number of queries, instead of just one. The Semantic Compound Queries extension provides this parser function.

The syntax for #compound_query is:

{{#compound_query:
 [[Category:Stores]]
 [[Has type::Clothing]]
 ;?Has country=Country
 |
 [[Category:Restaurants]]
 [[Has cuisine::Fast food]]
 ;?Has country=Country
 |format=table
}}

An in-depth description of this parser function is available on this page.


This documentation page applies to all SMW versions from 1.4.0 to the most current version.
      Other languages: zh-hans

Help:Combining results of multiple queries en 1.4.0