fix per query con clausole sint

This commit is contained in:
cesare 2023-04-21 10:45:17 +02:00
parent f2d617d23d
commit fabd67bd0d
2 changed files with 4 additions and 4 deletions

View File

@ -1106,8 +1106,8 @@ function resetFrasi(){
var clfrom=binding.get('clfr').value; var clfrom=binding.get('clfr').value;
var clto=binding.get('clto').value; var clto=binding.get('clto').value;
var cltype=binding.get('clatype').value.replace('https://dantenetwork.it/ontology/syntit/current/','') var cltype=binding.get('clatype').value.replace('https://dantenetwork.it/ontology/syntit/current/','')
//var clfunction=binding.get('clafunction').value.replace('https://dantenetwork.it/ontology/syntit/current/','') var clfunction=binding.get('clafunction').value.replace('https://dantenetwork.it/ontology/syntit/current/','')
var clfunction=binding.get('clf').value.replace('https://dantenetwork.it/ontology/syntit/current/','') //var clfunction=binding.get('clf').value.replace('https://dantenetwork.it/ontology/syntit/current/','')
//id del periodo //id del periodo
var sentenceid=binding.get('sentence').value.replace('http://dantenetwork.it/data/commedia/','') var sentenceid=binding.get('sentence').value.replace('http://dantenetwork.it/data/commedia/','')

View File

@ -213,7 +213,7 @@ PREFIX orl: <https://dantenetwork.it/ontology/orl/current/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#> 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 syntit: <https://dantenetwork.it/ontology/syntit/current/> PREFIX syntit: <https://dantenetwork.it/ontology/syntit/current/>
SELECT ?sentence ?clfr ?clto ?clf ?clatype (?t_canto as ?Canto) (?t_cantica as ?Cantica) SELECT ?sentence ?clfr ?clto ?clafunction ?clatype (?t_canto as ?Canto) (?t_cantica as ?Cantica)
WHERE { WHERE {
FILTER regex(?Rappresentazione,"^persona$","i") . #remove if query_text=='' FILTER regex(?Rappresentazione,"^persona$","i") . #remove if query_text==''
FILTER langMatches(lang(?Rappresentazione),"it") #remove if query_text=='' FILTER langMatches(lang(?Rappresentazione),"it") #remove if query_text==''
@ -222,7 +222,7 @@ WHERE {
?clocc ecrm:P148_has_component ?fa . #remove if query_text=='' ?clocc ecrm:P148_has_component ?fa . #remove if query_text==''
?cl syntit:hasClauseType ?clatype; ?cl syntit:hasClauseType ?clatype;
ecrm:P190_has_symbolic_content ?cltext; ecrm:P190_has_symbolic_content ?cltext;
syntit:hasClauseFunction ?clf. syntit:hasClauseFunction ?clafunction.
?clocc orl:occurrenceOf ?cl; ?clocc orl:occurrenceOf ?cl;
olires:occursInRegion ?frag. olires:occursInRegion ?frag.
?frag olires:fragmentRegionFrom ?clfr; ?frag olires:fragmentRegionFrom ?clfr;