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

Examples

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

Practical examples

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



Property "Namespace" has a restricted application area and cannot be used as annotation property by a user."-" is not a number.

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


Cookies help us deliver our services. By using our services, you agree to our use of cookies.