-
Notifications
You must be signed in to change notification settings - Fork 15
Obtaining URLs of the queries used in a component
timrdf edited this page Oct 29, 2012
·
5 revisions
This page describes the template variables that can be used to determine the query URL and the endpoint to which the query was submitted. This can be useful to convey provenance results rendered in the response.
To obtain the URLs of the queries used, the form is similar to obtaining data using models
(refer to How to use results).
In this case, the format is
{{lodspk.queries[.<endpoint>]*.query}}
Thus, to get the URL of the query named details.query
that runs agains the local endpoint, we write
{{lodspk.queries.details}}
To obtain the URL of the query named dbpediaLabels.query
that runs agains dbpedia sparql endpoint after all the local queries has been executed, we write
{{lodspk.queries.dbpedia.dbpediaLabels}}
-
models.blah
your endpoint was{{conf.ns.local}}
-
models.dbpedia.blah
your endpoint was{{conf.ns.dbpedia}}
-
models.logd.blah
your endpoint was{{conf.ns.logd}}