Difference between revisions of "Template:SPARQLText"

From Wikibase Personal data
Jump to navigation Jump to search
Line 1: Line 1:
{{#if:{{{p|}}}{{{v|}}}{{{q|}}}{{{extraprefix|}}}|
+
PREFIX pdio: <http://wiki.personaldata.io/entity/>
{{If||{{{p|}}}|
+
PREFIX pdiot: <http://wiki.personaldata.io/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>|}}{{If||{{{q|}}}|
+
PREFIX pdiop: <http://wiki.personaldata.io/prop/>
PREFIX q: <http://www.wikidata.org/prop/qualifier/>|}}{{If||{{{v|}}}|
+
PREFIX pdiops: <http://wiki.personaldata.io/prop/statement/>
PREFIX v: <http://www.wikidata.org/prop/statement/>|}}{{If||{{{extraprefix|}}}|
+
PREFIX pdiopq: <http://wiki.personaldata.io/prop/qualifier/>
{{{extraprefix}}}|}}
 
}}
 
 
{{{query}}}<noinclude>{{doc}}</noinclude>
 
{{{query}}}<noinclude>{{doc}}</noinclude>

Revision as of 11:51, 13 May 2019

PREFIX pdio: <http://wiki.personaldata.io/entity/> PREFIX pdiot: <http://wiki.personaldata.io/prop/direct/> PREFIX pdiop: <http://wiki.personaldata.io/prop/> PREFIX pdiops: <http://wiki.personaldata.io/prop/statement/> PREFIX pdiopq: <http://wiki.personaldata.io/prop/qualifier/>

{{{query}}}

Documentation icon Template documentation[create]