Template:Query/doc

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: CLAIM[31:5]

  • {{Query|{{WDQ/has value|613|{{WDQ/instances|Q5}}}}}}

Query: CLAIM[613613:CLAIM[31:(TREE[5[][279279])]]]

See also edit