A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/alangrafu/lodspeakr/wiki/Obtaining-URLs-of-the-queries-used-in-a-component below:

Obtaining URLs of the queries used in a component · alangrafu/lodspeakr Wiki · GitHub

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.

Accessing a URL for the query used

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}}
Which endpoint was the query submitted to?

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3