commento rimosso

This commit is contained in:
cesare 2024-02-20 10:56:35 +01:00
parent 774dd83d3c
commit 3f143cbc6d
1 changed files with 2 additions and 3 deletions

View File

@ -98,6 +98,7 @@ PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX olires:<https://dantenetwork.it/ontology/olires/current/> PREFIX olires:<https://dantenetwork.it/ontology/olires/current/>
PREFIX comm: <http://dantenetwork.it/data/commedia/> PREFIX comm: <http://dantenetwork.it/data/commedia/>
PREFIX syntit: <https://dantenetwork.it/ontology/syntit/current/> PREFIX syntit: <https://dantenetwork.it/ontology/syntit/current/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?clatype ?clafunction ?clfr ?clto ?cl ?sentence ?pos ?clocc SELECT (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?clatype ?clafunction ?clfr ?clto ?cl ?sentence ?pos ?clocc
WHERE { WHERE {
@ -380,7 +381,6 @@ function buildSPQuery(guiquery) {
var SparqlParser = sparqljs.Parser; var SparqlParser = sparqljs.Parser;
var spqparser = new SparqlParser(); var spqparser = new SparqlParser();
multipleCondSpQuery = spqparser.parse(ontoSparqlQueryMultCond); multipleCondSpQuery = spqparser.parse(ontoSparqlQueryMultCond);
//mytestq = spqparser.parse(tq);
var parser = peg.generate(hdnquerygrammar); var parser = peg.generate(hdnquerygrammar);
test = guiquery['EsprLogica'].join(" "); test = guiquery['EsprLogica'].join(" ");
test = test.replaceAll("( ", "(") test = test.replaceAll("( ", "(")
@ -408,7 +408,7 @@ function buildSQ(stquery) {
console.log(stquery) console.log(stquery)
if (stquery['QueryAvanzata'] == 1 && stquery['EsprLogica'] != null && stquery['EsprLogica'].length > 1) { if (stquery['QueryAvanzata'] == 1 && stquery['EsprLogica'] != null && stquery['EsprLogica'].length > 1) {
parsedquery = parser.parse(ontoSparqlQueryMultCond) //parsedquery = parser.parse(ontoSparqlQueryMultCond)
buildSPQuery(stquery) buildSPQuery(stquery)
return multipleCondSpQuery; return multipleCondSpQuery;
} }
@ -1080,7 +1080,6 @@ function getVersiConCitazioniJson(canticapar='', cantopar=''){
//commentsItem['URLFonteCitazione'] = item['InfoCitazione.UrlFonte']; //commentsItem['URLFonteCitazione'] = item['InfoCitazione.UrlFonte'];
commentsItem['URLFonteCitazione'] = item['UF']; commentsItem['URLFonteCitazione'] = item['UF'];
commentsItem['NaturaRiferimento'] = item['NaturaRiferimento']; commentsItem['NaturaRiferimento'] = item['NaturaRiferimento'];
//commentsItem['RapportoCommentoCommentatoreText'] = item['RapportoCommentoCommentatoreText'];
commentsItem['RapportoCommentoCommentatoreText'] = item['RCC']; commentsItem['RapportoCommentoCommentatoreText'] = item['RCC'];
//commentsItem['RapportoSoggettoOggetto'] = item['RapportoSoggettoOggetto']; //commentsItem['RapportoSoggettoOggetto'] = item['RapportoSoggettoOggetto'];
commentsItem['RapportoSoggettoOggetto'] = item['RSO']; commentsItem['RapportoSoggettoOggetto'] = item['RSO'];