spostate funzioni in utils

This commit is contained in:
Luca Trupiano 2022-09-30 10:00:48 +02:00
parent 57b957b003
commit 0db22d5494
1 changed files with 3 additions and 2 deletions

View File

@ -367,11 +367,12 @@ $(document).ready(function() {
//const SparqlParser = sparqljs.Parser; //const SparqlParser = sparqljs.Parser;
const sparqlGenerator = sparqljs.Generator; const sparqlGenerator = sparqljs.Generator;
//var parser = new SparqlParser(); //var parser = new SparqlParser();
myquery = gimmespq(); //myquery = gimmespq();
//jsonQuery = parser.parse(baseQuery); //jsonQuery = parser.parse(baseQuery);
//jsonQuery = parser.parse(sparqlQuery1); //jsonQuery = parser.parse(sparqlQuery1);
//jsonQuery = form2filter(jsonQuery); //jsonQuery = form2filter(jsonQuery);
jsonQuery = form2filter(myquery); //jsonQuery = form2filter(myquery);
jsonQuery = buildSQ();
queryFields = []; queryFields = [];
for (var i in jsonQuery.variables) { for (var i in jsonQuery.variables) {
if (jsonQuery.variables[i].value) { if (jsonQuery.variables[i].value) {