Help:Combining results of multiple queries/zh-hans

From Linux Web Expert

Revision as of 09:17, 13 October 2023 by >LittlePaw365 (LittlePaw365 moved page Help:组合多个查询的结果 to Help:Combining results of multiple queries/zh-hans)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Combining results of multiple queries/zh-hans
在一个结果显示集合当中显示不止一个嵌入式查询的结果(嵌入式查询)
进一步的信息
提供方: Semantic Compound Queries
最低版本: 1.4.0
最高版本: still supported
函数: yes
标签: no
名称: #compound_query
目录

解析器函数#compound_query可用于在一个结果显示集合当中显示不止一个嵌入式查询的结果。 它所接受的输入类似于解析器函数#ask 的输入, 但其却能够接受数量不限的查询,而不仅仅是一个。 此解析器函数是由语义内部对象扩展所提供的。

解析器函数#compound_query的语法为:

{{#compound_query:[[Category:商店]][[Has type::衣服]];?Has country=国家
|[[Category:餐馆]][[Has cuisine::快餐]];?Has country=国家
|format=table
}}

这个帮助页面上提供有对于此解析器函数的深入描述。


Property "Namespace" has a restricted application area and cannot be used as annotation property by a user.Property "Docinfo editor" (as page type) with input value "User:>LittlePaw365" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

本文档页面适用于SMW从1.4.0版到最新版本的所有版本。