Template:SPARQLTest

{ "params": { "query": { "required": true, "label": "query", "description": "SPARQL query", "example": "SELECT * WHERE { ?x wdt:P31 wd:Q5 } LIMIT 1", "type": "string" }, "extraprefix": { "description": "Extra prefixes to be added", "example": "PREFIX wikibase: ", "type": "string" }, "namespace": { "label": "namespace", "description": "Namespace for query", "example": "categories" } }, "description": "This template displays SPARQL query with syntax highlighting, prefixes and link to WDQS beta site to run the query. ", "paramOrder": [ "query", "extraprefix", "namespace" ], "format": "block" }

Try it!