Template:Query
Jump to navigation
Jump to search
Template:Query is deprecated. Please use Template:Wdquery instead. |
Similar to {{WDQ}}
, but optimized for entering the query as a plain text string.
Usage[edit]
Parameters[edit]
- 1 (optional): The query string
- 2 (optional): Link caption
- props (optional): A comma-separated list of property numbers to get the values for
- output (optional): If set to
json
resp.jsonp
, the linked result will be in the JSON resp. JSONP format. Otherwise the AutoList GUI will be used - lang (optional): AutoList GUI language code. Defaults to user's language
examples[edit]
{{Query|CLAIM[31:5]}}
{{Query|{{WDQ/has value|613|{{WDQ/instances|Q5}}}}}}
Query: CLAIM[613613:CLAIM[31:(TREE[5[][279279])]]]
See also[edit]
{{WDQ2}}
{{WDQ}}
- Wikidata:SPARQL query service
The above documentation is transcluded from Template:Query/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) page. Please add categories to the /doc subpage. Subpages of this template. |