aggiunti namespaces

This commit is contained in:
cesare 2025-03-07 13:25:25 +01:00
parent 1253b5001e
commit a7f1e0c91c
2 changed files with 10 additions and 2 deletions

View File

@ -14,6 +14,7 @@ PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX olires:<https://dantenetwork.it/ontology/olires/current/>
PREFIX comm: <http://dantenetwork.it/data/commedia/>
PREFIX syntit: <https://dantenetwork.it/ontology/syntit/current/>
prefix tresont: <https://itserr.it/tresont/current/>
SELECT (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?clatype ?clafunction ?clfr ?clto ?cl ?sentence ?cltext ?pos ?clocc ?nv
WHERE {
@ -66,7 +67,6 @@ WHERE {
//Query generica per advanced search con piu condizioni
var ontoSparqlQueryMultCond = `PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ecrm: <https://erlangen-crm.org/current/>
PREFIX hdn: <http://dantenetwork.it/data/commedia/>
PREFIX lemon: <http://lemon-model.net/lemon#>
PREFIX orl: <https://dantenetwork.it/ontology/orl/current/>
@ -76,6 +76,8 @@ PREFIX olires:<https://dantenetwork.it/ontology/olires/current/>
PREFIX comm: <http://dantenetwork.it/data/commedia/>
PREFIX syntit: <https://dantenetwork.it/ontology/syntit/current/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix tresont: <https://itserr.it/tresont/current/>
PREFIX ecrm: <https://erlangen-crm.org/current/>
SELECT (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?clatype ?clafunction ?clfr ?clto ?cl ?sentence ?pos ?clocc
WHERE {
@ -121,7 +123,8 @@ const clausetargetquery = `
PREFIX lemon: <http://lemon-model.net/lemon#>
PREFIX orl: <https://dantenetwork.it/ontology/orl/current/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
prefix tresont: <https://itserr.it/tresont/current/>
SELECT distinct (?t_canto AS ?Canto) (?t_cantica AS ?Cantica) ?sentence ?clfr ?clto ?clafunction ?clt ?pos WHERE {
{
?sentence rdf:type syntit:Sentence;
@ -284,6 +287,7 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX lemon: <http://lemon-model.net/lemon#>
PREFIX orl: <https://dantenetwork.it/ontology/orl/current/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
prefix tresont: <https://itserr.it/tresont/current/>
SELECT (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?sentence ?clfr ?clto ?clafunction ?clocc WHERE {
{
@ -555,6 +559,8 @@ const defaultEditorQuery = `# ESEMPIO: i periodi della Commedia con una frase co
PREFIX ecrm: <https://erlangen-crm.org/current/>
PREFIX syntit: <https://dantenetwork.it/ontology/syntit/current/>
PREFIX olires: <https://dantenetwork.it/ontology/olires/current/>
prefix tresont: <https://itserr.it/tresont/current/>
SELECT ?Cantica ?Canto ?Periodo ?FraseSubordinata
WHERE {
?cl syntit:hasClauseType syntit:Causale ;

View File

@ -62,6 +62,8 @@ PREFIX orl: <https://dantenetwork.it/ontology/orl/current/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX olires: <https://dantenetwork.it/ontology/olires/current/>
PREFIX syntit: <https://dantenetwork.it/ontology/syntit/current/>
prefix tresont: <https://itserr.it/tresont/current/>
SELECT DISTINCT ?sentence ?clocc ?clfr ?clto ?clafunction ?clatype (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?pos
WHERE {
FILTER regex(?Rappresentazione,"^persona$","i") . #remove if query_text==''