Template:GetCommonsValue: Difference between revisions
From Bodhicitta
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:MySPARQL|showFirstValue| | <includeonly>{{#invoke:MySPARQL|showFirstValue| | ||
PREFIX property: <http://commons.tsadra.org/index.php/Special:URIResolver/Property-3A> | PREFIX property: <http://commons.tsadra.org/index.php/Special:URIResolver/Property-3A> | ||
PREFIX object: <http://commons.tsadra.org/index.php/Special:URIResolver/{{#replace:{{urlencode:{{SUBPAGENAMEE}}}}|%|-}}> | PREFIX object: <http://commons.tsadra.org/index.php/Special:URIResolver/{{#replace:{{urlencode:{{SUBPAGENAMEE}}|PATH}}|%|-}}> | ||
SELECT ?value | SELECT ?value | ||
WHERE { object: property:{{{ 1 | }}} ?value . } | WHERE { object: property:{{{ 1 | }}} ?value . } | ||