Template:Documented queries skeleton

From Wikidata
Jump to navigation Jump to search
Documentation icon Template documentation[view · edit · history · purge ]

{{Documented queries skeleton}} provides a basic skeleton for documented queries pages. It should not be confused with {{Querydoc}} which provides a simple message box.

Usage[edit]

Create a new page and insert the template as a first edit if the page using substitution.

{{subst:Documented queries skeleton}}

See also[edit]

This page is a documented query. All documented queries can be found in Category:Documented query.

Context[edit]

The context section provides details of why the query has been created (is it relative to a wikiproject? a request for comments ?).

Query[edit]

The query section provides the query in a standardized fashion (e.g. using the {{SPARQL}} template) and a precise description in one or more natural languages (preferably including English).

Tests and checks[edit]

The tests and checks section includes checks and tests about the results of the query. For instance, check the number of results, check that this item is in the query, check that the gender distribution is balanced, etc. Each check or test can be accompanied by a SPARQL query if relevant using {{SPARQL Inline}}.

Insights[edit]

References[edit]

See also[edit]