Special property "Has query"
Has query | |
---|---|
Links a page to the subobject created by a query recording its profile
| |
Further Information | |
Provided by: | extension "Semantic MediaWiki "Allows to store and query data annotated to pages |
Added: | 1.8.0 |
Removed: | still in use |
Alias: | has no alias |
Optional: | yes |
Visible: | no |
Annotable: | no |
Declarative: | no |
Key: | _ASK
|
Setting: | not specified |
Focus: | query information |
In this wiki: | Property:Has query |
Table of Contents | |
The Has query property is a special property in Semantic MediaWiki with a built-in meaning: it links a page to the subobject of a query which records its profile. This subobject holds information about the respective query which itself may be queried. This information includes the depth, the format, the size and the string of the respective query. Starting with with Semantic MediaWiki 1.9.0 the duration1 was added and Semantic MediaWiki 2.5.0 brought information about its parameters2.
This special property should never be set manually, since Semantic MediaWiki will take care of setting its value dynamically. Starting with Semantic MediaWiki 2.2.0 it is no longer possible to manually add values for this special property.3
See the property page Has query 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:
Name | Description | Help page | Added |
---|---|---|---|
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 source | Holds the identifier of an alternative (e.g. remote) query source | Special property "Query source" | 2.5.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[edit]
- Help page on query profiling
- Help page on querying for queries
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:30
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2270
- ^ Semantic MediaWiki: GitHub pull request gh:smw:914