aggiunti namespaces
This commit is contained in:
parent
1253b5001e
commit
a7f1e0c91c
|
|
@ -14,6 +14,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 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
|
SELECT (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?clatype ?clafunction ?clfr ?clto ?cl ?sentence ?cltext ?pos ?clocc ?nv
|
||||||
WHERE {
|
WHERE {
|
||||||
|
|
@ -66,7 +67,6 @@ WHERE {
|
||||||
//Query generica per advanced search con piu condizioni
|
//Query generica per advanced search con piu condizioni
|
||||||
|
|
||||||
var ontoSparqlQueryMultCond = `PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
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 hdn: <http://dantenetwork.it/data/commedia/>
|
||||||
PREFIX lemon: <http://lemon-model.net/lemon#>
|
PREFIX lemon: <http://lemon-model.net/lemon#>
|
||||||
PREFIX orl: <https://dantenetwork.it/ontology/orl/current/>
|
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 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#>
|
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
|
SELECT (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?clatype ?clafunction ?clfr ?clto ?cl ?sentence ?pos ?clocc
|
||||||
WHERE {
|
WHERE {
|
||||||
|
|
@ -121,6 +123,7 @@ const clausetargetquery = `
|
||||||
PREFIX lemon: <http://lemon-model.net/lemon#>
|
PREFIX lemon: <http://lemon-model.net/lemon#>
|
||||||
PREFIX orl: <https://dantenetwork.it/ontology/orl/current/>
|
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 tresont: <https://itserr.it/tresont/current/>
|
||||||
|
|
||||||
SELECT distinct (?t_canto AS ?Canto) (?t_cantica AS ?Cantica) ?sentence ?clfr ?clto ?clafunction ?clt ?pos WHERE {
|
SELECT distinct (?t_canto AS ?Canto) (?t_cantica AS ?Cantica) ?sentence ?clfr ?clto ?clafunction ?clt ?pos WHERE {
|
||||||
{
|
{
|
||||||
|
|
@ -284,6 +287,7 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
PREFIX lemon: <http://lemon-model.net/lemon#>
|
PREFIX lemon: <http://lemon-model.net/lemon#>
|
||||||
PREFIX orl: <https://dantenetwork.it/ontology/orl/current/>
|
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 tresont: <https://itserr.it/tresont/current/>
|
||||||
|
|
||||||
SELECT (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?sentence ?clfr ?clto ?clafunction ?clocc WHERE {
|
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 ecrm: <https://erlangen-crm.org/current/>
|
||||||
PREFIX syntit: <https://dantenetwork.it/ontology/syntit/current/>
|
PREFIX syntit: <https://dantenetwork.it/ontology/syntit/current/>
|
||||||
PREFIX olires: <https://dantenetwork.it/ontology/olires/current/>
|
PREFIX olires: <https://dantenetwork.it/ontology/olires/current/>
|
||||||
|
prefix tresont: <https://itserr.it/tresont/current/>
|
||||||
|
|
||||||
SELECT ?Cantica ?Canto ?Periodo ?FraseSubordinata
|
SELECT ?Cantica ?Canto ?Periodo ?FraseSubordinata
|
||||||
WHERE {
|
WHERE {
|
||||||
?cl syntit:hasClauseType syntit:Causale ;
|
?cl syntit:hasClauseType syntit:Causale ;
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,8 @@ 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/>
|
||||||
|
prefix tresont: <https://itserr.it/tresont/current/>
|
||||||
|
|
||||||
SELECT DISTINCT ?sentence ?clocc ?clfr ?clto ?clafunction ?clatype (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?pos
|
SELECT DISTINCT ?sentence ?clocc ?clfr ?clto ?clafunction ?clatype (?t_canto as ?Canto) (?t_cantica as ?Cantica) ?pos
|
||||||
WHERE {
|
WHERE {
|
||||||
FILTER regex(?Rappresentazione,"^persona$","i") . #remove if query_text==''
|
FILTER regex(?Rappresentazione,"^persona$","i") . #remove if query_text==''
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue