Commit 5e042092 authored by Fabien Amarger's avatar Fabien Amarger
Browse files

feat(endpoint): Add the prod sparql endpoint

parent ac260cbaa1c2
......@@ -78,8 +78,8 @@
<div class="col-md-12">
<span style="font-size: 90%;">
Les requêtes sont envoyées à
<a id="endpoint" href="http://localhost:3030/rcf/sparql"
>http://localhost:3030/rcf/sparql</a
<a id="endpoint" href="https://rcf.demo.logilab.fr/sparql"
>https://rcf.demo.logilab.fr/sparql</a
>
</span>
</div>
......@@ -238,7 +238,7 @@
);
return queryString;
};
semanticPostProcess = function (queryString, queryJson) {
queryString = sparnatural.expandSparql(queryString);
queryString = prefixesPostProcess(queryString, queryJson);
......@@ -274,9 +274,8 @@
backgroundBaseColor: "2,184,117",
autocomplete: null,
list: rangeBasedHandler,
defaultEndpoint: "http://localhost:3030/rcf/sparql",
sparqlPrefixes: {
},
defaultEndpoint: "https://rcf.demo.logilab.fr/sparql",
sparqlPrefixes: {},
onQueryUpdated: function (queryString, queryJson) {
queryString = semanticPostProcess(queryString, queryJson);
queryString = rdfsLabelPostProcess(queryString, queryJson);
......@@ -294,8 +293,6 @@
});
});
var yasqe = YASQE.fromTextArea(document.getElementById("yasqe"), {
sparql: {
showQueryButton: true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment