| Status: | effective |
| Progress: | 100% |
| Version: | 3.0.0+ |
Special property "Query source"
| Query source | |
|---|---|
Holds the identifier of an alternative (e.g. remote) query source
| |
| 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: | _ASKSC
|
| Setting: | not specified |
| Focus: | query information |
| In this wiki: | Property:Query source |
| Table of Contents | |
The Query source property is a special property in Semantic MediaWiki with a built-in meaning: it holds the identifier of an alternative (e.g. remote) query source used in a query. It is not possible to manually add a value to this special property. It is however indirectly taken from the value added to the source parameter to parser function #ask which is provided by extension "Semantic External Query Lookup"Allows to seamlessly integrate query results from an external query source to a local repository or wiki. It was introduced with Semantic MediaWiki 2.5.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x..1
See the property page Query source to see which pages use this special property on this wiki.
Available special properties relating to query profiling
The following other special properties are available for query profiling:
| Name | Description | Help page | Added |
|---|---|---|---|
| Has query | Links a page to the subobject created by a query recording its profile | Special property "Has query" | 1.8.0 |
| Query depth | Holds the value of the property depth of a query | Special property "Query depth" | 1.8.0 |
| Query format | Holds the name of the result format used in a query | Special property "Query format" | 1.8.0 |
| Query size | Holds the value of the number of conditions in a query | Special property "Query size" | 1.8.0 |
| Query string | Holds the conditions of the query as a string | Special property "Query string" | 1.8.0 |
| Query duration | Holds the value of the duration a query took to execute | Special property "Query duration" | 1.9.0 |
| Query parameters | Holds the parameters a query used to select its output | Special property "Query parameters" | 2.5.0 |
| Query state | Holds the status code a query uses to define its internal state | Special property "Query state" | 3.0.0 |
See also
- Query profiling and querying
- Help page on query profiling
- Help page on querying for queries
- Help page on special property "Has query"Links a page to the subobject created by a query recording its profile
- Remote querying
- Help page on making remote requests
- Help page on configuration parameter
$smwgQuerySourcesSets a list of sources, i.e. query back-ends that can return query results - Help page on configuration parameter
$smwgRemoteReqFeaturesSets the behaviour of the features provided for remote requests - Help page on extension "Semantic External Query Lookup"Allows to seamlessly integrate query results from an external query source to a local repository or wiki
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2146