Difference between revisions of "Template:SPARQL"

From matvoc.nims.go.jp
Jump to navigation Jump to search
(Copied from https://www.mediawiki.org/wiki/Template:SPARQL)
 
Line 1: Line 1:
 
{{#tag:syntaxhighlight|{{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }}|lang="sparql"}}
 
{{#tag:syntaxhighlight|{{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }}|lang="sparql"}}
[{{{endpoint|http://query.wikidata.org/}}}#{{urlencode: {{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }}|PATH}}{{#if:{{{namespace|}}}|%20#namespace={{{namespace}}}|}} Try it!]
+
[{{{endpoint|{{SERVER}}}}}#{{urlencode: {{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }}|PATH}}{{#if:{{{namespace|}}}|%20#namespace={{{namespace}}}|}} Try it!]

Revision as of 08:07, 21 November 2019

{{{query}}}

Try it!