Jump to content

Template:SPARQL2

Revision as of 10:37, 31 May 2023 by Admin (talk | contribs) (replace with MediaWiki version)

<languages/> {{#if: | Items used: | }}

{{#if: | Properties used: | }}

{{#if:|
{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX p: <https://graphit.ur.de/prop/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX p: <https://graphit.ur.de/prop/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX v: <https://graphit.ur.de/prop/statement/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX v: <https://graphit.ur.de/prop/statement/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
|}}}}
}}{{{query}}}

<translate> Try it!</translate> Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.{{#if:Template:Lua <templatedata> { "params": { "query": { "required": true, "label": "query", "description": { "en": "SPARQL query", "fr": "Requête SPARQL" }, "example": "SELECT * WHERE { ?x wdt:P31 wd:Q5 } LIMIT 1", "type": "string" }, "extraprefix": { "description": { "en": "Extra prefixes to be added", "fr": "Préfixes supplémentaires à ajouter" }, "example": "PREFIX wikibase: <http://wikiba.se/ontology#>", "type": "string" } }, "description": { "en": "This template displays SPARQL query with syntax highlighting, used items and link to WDQS query site to run the query. \nTODO: used items labels are not localized", "fr": "Ce modèle affiche la requête SPARQL en mettant en valeur la syntaxe, les éléments utilisés ainsi que le lien vers les site WDQS pour exécuter la commande." }, "paramOrder": [ "query", "extraprefix" ], "format": "block" } </templatedata>| [[Category:Template documentation pages{{#translation:}}]] }}