Template:SPARQL2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{SPARQL2/doc}} | {{SPARQL2/doc}} | ||
<onlyinclude>{{Clear}}{{#ifeq:{{{nohints|}}}|{{{nohints}}}| <!--hidden hints--> | {{TranslateThis<!-- | <onlyinclude>{{Clear}}{{#ifeq:{{{nohints|}}}|{{{nohints}}}| <!--hidden hints--> | {{TranslateThis<!-- | ||
-->|ar=يستخدم الاستعلام التالي هذه:<!-- | |||
-->|de=Die Suchanfrage verwendet:<!-- | |||
-->|en=The following query uses these:<!-- | -->|en=The following query uses these:<!-- | ||
-->|en-gb=The following query uses these:<!-- | -->|en-gb=The following query uses these:<!-- | ||
-->|el=Το ακόλουθο ερώτημα χρησιμοποιεί αυτά:<!-- | |||
-->|es=La siguiente consulta utiliza lo siguiente:<!-- | |||
-->|fr=La requête suivante utilise ces :<!-- | |||
-->|hu=Ez a lekérdezés a következőket használja:<!-- | |||
-->|it=La seguente query utilizza questi:<!-- | |||
-->|nl=Deze query gebruikt:<!-- | |||
-->|pl=To zapytanie używa:<!-- | |||
-->|ru=Этот запрос использует:<!-- | |||
-->|uk=Цей запит використовує:<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->{{ItemOrNot|{{Capitalize|{{int items}}}}|{{#invoke:SPARQLMentions|getItems|{{{query}}} }} }} | -->{{ItemOrNot|{{Capitalize|{{int items}}}}|{{#invoke:SPARQLMentions|getItems|{{{query}}} }} }} | ||
Line 13: | Line 24: | ||
min-width: 20em;"}} | min-width: 20em;"}} | ||
<!-- | <!-- | ||
--><div class="displayonly">https://tdwg-cd.wiki.opencura.com/query/#{{urlencode: {{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }} | PATH }} {{Int try it}}]</div>{{Clear}}</onlyinclude><noinclude> | --><div class="displayonly">[https://tdwg-cd.wiki.opencura.com/query/#{{urlencode: {{SPARQLText|query={{{query}}}|extraprefix={{{extraprefix|}}} }} | PATH }} {{Int try it}}]</div>{{Clear}}</onlyinclude><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 07:26, 13 May 2020
The following query uses these:
{{{query}}}
This template displays SPARQL query with syntax highlighting, used items and link to WDQS query site to run the query. TODO: used items labels are not localized
Parameter | Description | Type | Status | |
---|---|---|---|---|
query | query sparql | SPARQL query
| String | required |
extraprefix | extraprefix | Extra prefixes to be added
| String | optional |