piccole migliorie grafiche
This commit is contained in:
parent
f4d278c08d
commit
ab27b68ad7
|
@ -130,23 +130,23 @@
|
|||
<div class="flex flex-column" id='query'>
|
||||
|
||||
<div class="flex flex-wrap" id='condizioni'>
|
||||
<div class="outline w-30 pv3 mr2">
|
||||
<div class="outline w-30 pv1 mr0 col-md-6">
|
||||
|
||||
<div class="flex items-center">
|
||||
<div class="fl w-100 w-40-ns ">
|
||||
<div class="fl w-100 w-40-ns">
|
||||
<fieldset id="lemma_forma" class="bn">
|
||||
|
||||
<div class="flex items-center mb2">
|
||||
<div class="flex items-center mb0">
|
||||
<input class="mr2 f6" type="radio" id="lemma" value="lemma"
|
||||
name="oggetto"> <label for="lemma" class="lh-copy">Lemma</label>
|
||||
</div>
|
||||
<div class="flex items-center mb2">
|
||||
<div class="flex items-center mb0">
|
||||
<input class="mr2 f6" type="radio" id="forma" value="forma"
|
||||
name="oggetto"> <label for="forma" class="lh-copy">Forma</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="fl w-100 w-70-ns ph1">
|
||||
<div class="fl w-100 w-70-ns ph0">
|
||||
<input id="searchValue"
|
||||
class="input-reset ba b--black-20 pa2 mb2 db w-100"
|
||||
type="text" aria-describedby="name-desc" name="query"
|
||||
|
@ -288,9 +288,9 @@
|
|||
<!-- CATEGORIA GRAMMATICALE -->
|
||||
<div style="display: none;" id='categoriagrammaticale'>
|
||||
|
||||
<div class="outline w-25">
|
||||
<div class="outline ">
|
||||
|
||||
<div class="flex flex-column">
|
||||
<div class="flex flex-column pa2">
|
||||
|
||||
|
||||
<nav class="pa1 pa1-ns">
|
||||
|
|
|
@ -15,7 +15,8 @@ $(document).ready(function() {
|
|||
var queryFields = []; // Contiene le intestazioni di colonna della tabella dei risultati
|
||||
|
||||
const sparqlEndpoint = "https://hdnlab1.isti.cnr.it/fuseki/commediaontosintgra/query";
|
||||
|
||||
const sparqlGenerator = sparqljs.Generator;
|
||||
|
||||
var aggettivoJson = {
|
||||
"filtriaggettivo": {
|
||||
"Classe": ["1ª", "2ª"],
|
||||
|
@ -551,26 +552,23 @@ $(document).ready(function() {
|
|||
condizioniFiltro['filtro-1'] = "query="+clausola;
|
||||
|
||||
}
|
||||
const sparqlGenerator = sparqljs.Generator;
|
||||
spquery=buildSQ(condizioniFiltro)
|
||||
queryFields = [];
|
||||
for (var i in spquery.variables) {
|
||||
queryFields.push(spquery.variables[i].variable.value);
|
||||
}
|
||||
execMySparqlQuery (new sparqlGenerator().stringify(spquery));
|
||||
|
||||
|
||||
|
||||
return true
|
||||
}
|
||||
)
|
||||
|
||||
async function execMySparqlQuery (spQuery){
|
||||
const sparqlGenerator = sparqljs.Generator;
|
||||
$("#loader").show();
|
||||
alert (new sparqlGenerator().stringify(spQuery));
|
||||
bindingsStream = await myEngine.queryBindings(spQuery, { sources: [ { type: 'sparql', value: sparqlEndpoint }, ], });
|
||||
|
||||
$("#sparqlquery").val(spQuery);
|
||||
$("#sparqlquery").val(spQuery);
|
||||
$("#copiaQuery").prop("disabled", false);
|
||||
var resultTablePart1a = '<table id="resultTable" class="table table-striped table-bordered responsive nowrap"><thead><tr>';
|
||||
var resultTablePart1 = '<table id="resultTable" class="table table-striped table-bordered"><thead><tr>';
|
||||
|
|
Loading…
Reference in New Issue