Difference between revisions of "Template:SPARQL"
Jump to navigation
Jump to search
m (1 revision imported) |
|||
Line 3: | Line 3: | ||
</noinclude><!-- | </noinclude><!-- | ||
-->{{#tag:syntaxhighlight|{{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }}|lang="sparql"}} | -->{{#tag:syntaxhighlight|{{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }}|lang="sparql"}} | ||
[{{{endpoint|http:// | [{{{endpoint|http://sportsdamkg.slis.ua.edu/}}}#{{urlencode: {{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }}|PATH}}{{#if:{{{namespace|}}}|%20#namespace={{{namespace}}}|}} <!--T:1--> Try it!<!-- | ||
--><noinclude> | --><noinclude> | ||
{{documentation|content= | {{documentation|content= |
Revision as of 16:44, 23 September 2021
<languages/>
{{{query}}}
[http://sportsdamkg.slis.ua.edu/#%7B%7B%7Bquery%7D%7D%7D Try it!
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:}}]]