Skip to content

Commit

Permalink
use sib-swiss.github.io/sparql-editor instead of YASGUI for query red…
Browse files Browse the repository at this point in the history
…irect
  • Loading branch information
vemonet committed Sep 30, 2024
1 parent 1d0dc09 commit ecbaa7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparql_llm/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ <h2 class="text-xl font-semibold flex">
const {endpointUrl, lastQuery} = extractSparqlInfo(mdResp);
let queryBtn = "";
if (endpointUrl && lastQuery) {
queryBtn = `<a class="my-3 px-3 py-1 text-sm text-black dark:text-white bg-gray-300 hover:bg-gray-400 dark:bg-gray-700 dark:hover:bg-gray-800 rounded-lg" href="https://yasgui.triply.cc/?endpoint=${endpointUrl}&query=${encodeURIComponent(lastQuery)}" target="_blank">Run and edit the query</a>&nbsp;&nbsp;`
queryBtn = `<a class="my-3 px-3 py-1 text-sm text-black dark:text-white bg-gray-300 hover:bg-gray-400 dark:bg-gray-700 dark:hover:bg-gray-800 rounded-lg" href="https://sib-swiss.github.io/sparql-editor/?endpoint=${endpointUrl}&query=${encodeURIComponent(lastQuery)}" target="_blank">Run and edit the query</a>&nbsp;&nbsp;`
}
let sourcesBtnHtml = ""
let sourcesMd = ""
Expand Down

0 comments on commit ecbaa7a

Please sign in to comment.