Special property "Query parameters"

From semantic-mediawiki.org
Query parameters
Holds the parameters a query used to select its output
Further Information
Provided by: extension "Semantic MediaWiki "Allows to store and query data annotated to pages
Added: 2.5.0
Removed: still in use
Alias: has no alias
Optional: yes
Visible: yes
Annotable: no
Declarative: no
Key:
_ASKPA
Setting: not specified
Focus: query information
In this wiki: Property:Query parameters
Table of Contents

The Query parameters property is a special property in Semantic MediaWiki with a built-in meaning: it holds the parameters a query used to select its output. See the help page on how to query for queries for more details on how to use this special property. It is not possible to manually add a value to this special property. It was introduced with Semantic MediaWiki 2.5.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x..1

By default the recording of the query parameters is disabled. See the help page on configuration parameter $smwgQueryProfilerSets whether specific monitorable profile data are recorded for how to enable this.

See the property page Query parameters to see which pages use this special property on this wiki.

Available special properties relating to query profiling[edit]

The following other special properties are available for query profiling:

NameDescriptionHelp pageAdded
Has queryLinks a page to the subobject created by a query recording its profileSpecial property "Has query"1.8.0
Query depthHolds the value of the property depth of a querySpecial property "Query depth"1.8.0
Query formatHolds the name of the result format used in a querySpecial property "Query format"1.8.0
Query sizeHolds the value of the number of conditions in a querySpecial property "Query size"1.8.0
Query stringHolds the conditions of the query as a stringSpecial property "Query string"1.8.0
Query durationHolds the value of the duration a query took to executeSpecial property "Query duration"1.9.0
Query sourceHolds the identifier of an alternative (e.g. remote) query sourceSpecial property "Query source"2.5.0
Query stateHolds the status code a query uses to define its internal stateSpecial property "Query state"3.0.0

See also[edit]

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:2270