Help:Arrayfunctions format

From semantic-mediawiki.org
Arrayfunctions format
Provides a result format to put results of an ask query to be operated with array functions
Further Information
Provided by: ArrayFunctions
Added: 4.0.0
Removed: still supported
Requirements: none
Format name: arrayfunctions
Enabled? Indicates whether the result format is enabled by default upon installation of the respective extension. yes
Authors: Marijn van Wezel
Categories: misc
Table of Contents

The result format array functions, part of the Extension "ArrayFunctions" extension, is used to format query results in a way suitable for further processing by Extension "ArrayFunctions". Not to be confused with the array format. For further reference, see https://www.mediawiki.org/wiki/Extension:ArrayFunctions#Semantic_MediaWiki

Parameters[edit]

Examples[edit]

{{#ask: query 
|format=arrayfunctions }}

Practical examples[edit]

{{#af_print: {{#ask:
 [[Category:City]]
 [[Located in::Germany]] 
 |?Population
 |?Area#km²=Size
 |mainlabel=City
 |sort=Population
 |order=descending
 |headers=plain
 |format=arrayfunctions
}} }}



This documentation page applies to all SMW versions from 4.0.0 to the most current version.