Difference between revisions of "Template:SPARQL"
Jump to navigation
Jump to search
(use translation aware transclusion) |
(Created page with "<noinclude> <languages/> </noinclude><!-- -->{{#tag:syntaxhighlight|{{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }}|lang="sparql"}} [{{{endpoint|http://query....") |
(No difference)
|
Revision as of 19:24, 22 September 2021
<languages/>
{{{query}}}
<translate> Try it!</translate>
Template documentation
This template displays SPARQL query with syntax highlighting, prefixes and link to WDQS beta site to run the query.
Parameter | Description | Type | Status | |
---|---|---|---|---|
query | query | SPARQL query
| String | required |
extraprefix | extraprefix | Extra prefixes to be added
| String | optional |
namespace | namespace | Namespace for query
| Unknown | optional |
endpoint | endpoint | Endpoint for query, if different from the default wikidata one
| URL | optional |
[[Category:Template documentation pages{{#translation:}}]]