kora 2 年 前
コミット
428ece5e1c
6 ファイル変更257 行追加0 行削除
  1. BIN
      .DS_Store
  2. 1 0
      .gitignore
  3. 13 0
      ref_queries/Prefissi.rtf
  4. 6 0
      ref_queries/Prefissi.txt
  5. 133 0
      ref_queries/Query lettera.rtf
  6. 104 0
      ref_queries/Query lettera.txt

BIN
.DS_Store


+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+.DS_Store 

+ 13 - 0
ref_queries/Prefissi.rtf

@@ -0,0 +1,13 @@
+{\rtf1\ansi\ansicpg1252\cocoartf2513
+\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+{\*\expandedcolortbl;;}
+\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
+\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
+
+\f0\fs24 \cf0 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\
+PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>\
+PREFIX dat: <http:http://datini.archiviodistato.prato.it/la-ricerca/scheda/>\
+PREFIX mpp: <http://palazzopretorio.comune.prato.it/it/le-opere/alcuni-capolavori/>\
+PREFIX aut: <http://palazzopretorio.comune.prato.it/it/opere/autori/>}

+ 6 - 0
ref_queries/Prefissi.txt

@@ -0,0 +1,6 @@
+PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
+PREFIX dat: <http:http://datini.archiviodistato.prato.it/la-ricerca/scheda/>
+PREFIX mpp: <http://palazzopretorio.comune.prato.it/it/le-opere/alcuni-capolavori/>
+PREFIX aut: <http://palazzopretorio.comune.prato.it/it/opere/autori/> 

+ 133 - 0
ref_queries/Query lettera.rtf

@@ -0,0 +1,133 @@
+{\rtf1\ansi\ansicpg1252\cocoartf2513
+\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica-Bold;\f1\fswiss\fcharset0 Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+{\*\expandedcolortbl;;}
+\paperw11900\paperh16840\margl1440\margr1440\vieww14060\viewh8400\viewkind0
+\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
+
+\f0\b\fs24 \cf0 NOTA: 
+\f1\b0 Nel js sostituisci <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> con link
+\f0\b \
+\
+Oggetto fisico
+\f1\b0  \
+\
+SELECT DISTINCT ?link ?oggetto_fisico\
+WHERE \{?link crm:P128_carries <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI>;\
+rdfs:label ?oggetto_fisico .\
+\}\
+\
+
+\f0\b Mittente, Destinatario, Data Partenza, Data Arrivo, Luogo Partenza, Luogo Arrivo\
+
+\f1\b0 \
+SELECT DISTINCT ?mittente ?destinatario ?data_partenza ?data_arrivo ?luogo_partenza ?luogo_arrivo\
+WHERE \{?subject crm:P128_carries <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI>.\
+GRAPH <http://dev.restore.ovi.cnr.it:8890/ovi/datini/ex> \{?subject crm:P25i_moved_by ?mov_ev .\}\
+?send rdfs:subClassOf ?mov_ev ;\
+rdf:type crm:EL2_Send_Letter ;\
+crm:P4_has_time-span ?time_spanA;\
+crm:P27_moved_from ?placeA;\
+crm:P01_has_domain ?sender .\
+\
+?time_spanA rdfs:label ?data_partenza .\
+?placeA rdfs:label ?luogo_partenza .\
+?sender crm:P02_has_range ?mittente .\
+\
+?receive rdfs:subClassOf ?mov_ev;\
+rdf:type crm:EL3_Receive_Letter ;\
+crm:P4_has_time-span ?time_spanB;\
+crm:P26_moved_to ?placeB;\
+crm:P01_has_domain ?receiver .\
+\
+?time_spanB rdfs:label ?data_arrivo .\
+?placeB rdfs:label ?luogo_arrivo .\
+?receiver crm:P02_has_range ?destinatario .\
+\}\
+\
+
+\f0\b Lingua e area linguistica
+\f1\b0 \
+\
+SELECT DISTINCT ?lingua ?area_linguistica\
+WHERE \{<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P72_has_language ?language .\
+?language crm:P3_has_note ?area ;\
+rdfs:label ?lingua .\
+?area rdfs:label ?area_linguistica\
+\}\
+\
+
+\f0\b Descrizione
+\f1\b0 \
+\
+SELECT DISTINCT ?descrizione\
+WHERE \{<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P3_has_note ?description .\
+?description rdfs:label ?descrizione\
+\}\
+\
+
+\f0\b Tipo
+\f1\b0 \
+\
+SELECT DISTINCT ?tipologia\
+WHERE \{<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P2_has_type ?type .\
+?type rdf:type crm:E55_Type;\
+rdfs:label ?tipologia .\
+\}\
+\
+
+\f0\b Sigla OVI
+\f1\b0 \
+\
+SELECT DISTINCT ?sigla_OVI\
+WHERE \{<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P1_is_identified_by ?id .\
+?id rdf:type crm:E42_Identifier;\
+crm:P2_has_type ?type ;\
+rdfs:label ?sigla_OVI .\
+?type rdfs:label "Sigla OVI".\
+\}\
+\
+
+\f0\b Titolo
+\f1\b0 \
+\
+SELECT DISTINCT ?titolo\
+WHERE \{<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P1_is_identified_by ?title .\
+?title rdf:type crm:E35_Title;\
+rdfs:label ?titolo .\
+\}\
+\
+
+\f0\b Testo Lemmatizzato
+\f1\b0 \
+\
+SELECT DISTINCT ?testo_lemmatizzato\
+WHERE \{<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P190_has_symbolic_content ?testo_lemmatizzato .\
+\}\
+\
+
+\f0\b Edizione e edizione abbreviata
+\f1\b0 \
+\
+SELECT DISTINCT ?edizione ?edizione_abbreviata\
+WHERE \{?edition crm:P70_documents <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> ;\
+crm:P1_is_identified_by ?edition_id .\
+?edition_id rdfs:label ?edizione;\
+crm:P139_has_alternative_form ?ed_abbr .\
+?ed_abbr rdfs:label ?edizione_abbreviata \
+\}\
+\
+
+\f0\b Raccolta
+\f1\b0 \
+\
+SELECT DISTINCT ?raccolta\
+WHERE \{?racc crm:P148_has_component <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> ;\
+crm:P2_has_type ?racc_type ;\
+rdfs:label ?raccolta .\
+?racc_type rdfs:label "Raccolta".\
+\}\
+\
+\
+\
+}

+ 104 - 0
ref_queries/Query lettera.txt

@@ -0,0 +1,104 @@
+NOTA: Nel js sostituisci <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> con link
+
+Oggetto fisico 
+
+SELECT DISTINCT ?link ?oggetto_fisico
+WHERE {?link crm:P128_carries <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI>;
+rdfs:label ?oggetto_fisico .
+}
+
+Mittente, Destinatario, Data Partenza, Data Arrivo, Luogo Partenza, Luogo Arrivo
+
+SELECT DISTINCT ?mittente ?destinatario ?data_partenza ?data_arrivo ?luogo_partenza ?luogo_arrivo
+WHERE {?subject crm:P128_carries <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI>.
+GRAPH <http://dev.restore.ovi.cnr.it:8890/ovi/datini/ex> {?subject crm:P25i_moved_by ?mov_ev .}
+?send rdfs:subClassOf ?mov_ev ;
+rdf:type crm:EL2_Send_Letter ;
+crm:P4_has_time-span ?time_spanA;
+crm:P27_moved_from ?placeA;
+crm:P01_has_domain ?sender .
+
+?time_spanA rdfs:label ?data_partenza .
+?placeA rdfs:label ?luogo_partenza .
+?sender crm:P02_has_range ?mittente .
+
+?receive rdfs:subClassOf ?mov_ev;
+rdf:type crm:EL3_Receive_Letter ;
+crm:P4_has_time-span ?time_spanB;
+crm:P26_moved_to ?placeB;
+crm:P01_has_domain ?receiver .
+
+?time_spanB rdfs:label ?data_arrivo .
+?placeB rdfs:label ?luogo_arrivo .
+?receiver crm:P02_has_range ?destinatario .
+}
+
+Lingua e area linguistica
+
+SELECT DISTINCT ?lingua ?area_linguistica
+WHERE {<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P72_has_language ?language .
+?language crm:P3_has_note ?area ;
+rdfs:label ?lingua .
+?area rdfs:label ?area_linguistica
+}
+
+Descrizione
+
+SELECT DISTINCT ?descrizione
+WHERE {<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P3_has_note ?description .
+?description rdfs:label ?descrizione
+}
+
+Tipo
+
+SELECT DISTINCT ?tipologia
+WHERE {<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P2_has_type ?type .
+?type rdf:type crm:E55_Type;
+rdfs:label ?tipologia .
+}
+
+Sigla OVI
+
+SELECT DISTINCT ?sigla_OVI
+WHERE {<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P1_is_identified_by ?id .
+?id rdf:type crm:E42_Identifier;
+crm:P2_has_type ?type ;
+rdfs:label ?sigla_OVI .
+?type rdfs:label "Sigla OVI".
+}
+
+Titolo
+
+SELECT DISTINCT ?titolo
+WHERE {<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P1_is_identified_by ?title .
+?title rdf:type crm:E35_Title;
+rdfs:label ?titolo .
+}
+
+Testo Lemmatizzato
+
+SELECT DISTINCT ?testo_lemmatizzato
+WHERE {<http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> crm:P190_has_symbolic_content ?testo_lemmatizzato .
+}
+
+Edizione e edizione abbreviata
+
+SELECT DISTINCT ?edizione ?edizione_abbreviata
+WHERE {?edition crm:P70_documents <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> ;
+crm:P1_is_identified_by ?edition_id .
+?edition_id rdfs:label ?edizione;
+crm:P139_has_alternative_form ?ed_abbr .
+?ed_abbr rdfs:label ?edizione_abbreviata 
+}
+
+Raccolta
+
+SELECT DISTINCT ?raccolta
+WHERE {?racc crm:P148_has_component <http://datini.archiviodistato.prato.it/la-ricerca/scheda/ASPO00031149/E73_OVI> ;
+crm:P2_has_type ?racc_type ;
+rdfs:label ?raccolta .
+?racc_type rdfs:label "Raccolta".
+}
+
+
+