modifica nella result list della query
This commit is contained in:
parent
78897d88b6
commit
7e02244cbc
13
js/utils.js
13
js/utils.js
|
@ -8,7 +8,10 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|||
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
|
||||
PREFIX olires:<https://dantenetwork.it/ontology/OLIRes/>
|
||||
|
||||
SELECT (?form as ?IRIForma) ?Rappresentazione (?textver as ?Verso) ?NumVerso (?t_canto as ?Canto) (?t_cantica as ?Cantica)
|
||||
|
||||
SELECT (?form as ?IRIForma) (?Rappresentazione as ?Forma) (?textver as ?Verso) ?NumVerso (?t_canto as ?Canto) (?t_cantica as ?Cantica)
|
||||
(?lm as ?Lemma)
|
||||
|
||||
WHERE {
|
||||
?fa orl:occurrenceOf ?form;
|
||||
ecrm:P148i_is_component_of ?ver .
|
||||
|
@ -19,8 +22,12 @@ WHERE {
|
|||
ecrm:P148i_is_component_of ?cantica .
|
||||
?cantica ecrm:P102_has_title ?t_cantica .
|
||||
?form ontolex:writtenRep ?Rappresentazione .
|
||||
FILTER regex(?Rappresentazione,"^farò$","i") .
|
||||
FILTER langMatches(lang(?Rappresentazione),"it")
|
||||
?lent ontolex:lexicalForm ?form;
|
||||
ontolex:canonicalForm ?cf .
|
||||
?cf ontolex:writtenRep ?lm .
|
||||
FILTER regex(?Rappresentazione,"^farò$","i") .
|
||||
#FILTER regex(?lm,"^fare$","i") .
|
||||
FILTER langMatches(lang(?Rappresentazione),"it")
|
||||
}`
|
||||
|
||||
function writesparqlquery(query) {
|
||||
|
|
Loading…
Reference in New Issue