sparql.html 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <title>Restore - SPARQL</title>
  10. <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  11. <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
  12. <link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
  13. <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
  14. <link href="css/pages.css" rel="stylesheet">
  15. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  16. <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.2.1.min.js"></script>
  17. <script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?lang=css&amp;skin=default"></script>
  18. <link href="css/styles.min.css" rel="stylesheet">
  19. </head>
  20. <body>
  21. <header class="sticky-top">
  22. <nav class="navbar navbar-expand-lg navbar-light bg-white">
  23. <div class="container-fluid">
  24. <div class="navbar-brand">
  25. <img src="img/Logo.png" width="100" alt="Restore" />
  26. </div>
  27. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  28. <span class="navbar-toggler-icon"></span>
  29. </button>
  30. <div class="collapse navbar-collapse justify-content-end" id="navbarNavDropdown">
  31. <ul class="navbar-nav">
  32. <li class="nav-item">
  33. <a class="nav-link" href="index.html">Home</a>
  34. </li>
  35. <li class="nav-item">
  36. <a class="nav-link" href="http://restore.ovi.cnr.it/">Progetto</a>
  37. </li>
  38. <li class="nav-item">
  39. <a class="nav-link" href="ricerca.html">Ricerca</a>
  40. </li>
  41. <li class="nav-item">
  42. <a class="nav-link" href="#">Indici</a>
  43. </li>
  44. <li class="nav-item">
  45. <a class="nav-link" href="#">Percorsi</a>
  46. </li>
  47. <li class="nav-item">
  48. <a class="nav-link" href="standard.html">Standard</a>
  49. </li>
  50. <li class="nav-item dropdown active">
  51. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Sparql</a>
  52. <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  53. <a class="dropdown-item" href="http://dev.restore.ovi.cnr.it:8890/sparql/">Endpoint Sparql</a>
  54. <a class="dropdown-item" href="sparql.html">Query</a>
  55. </div>
  56. </li>
  57. <li class="nav-item">
  58. <a class="nav-link" href="download.html">Download</a>
  59. </li>
  60. <li class="nav-item dropdown">
  61. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Collegamenti esterni</a>
  62. <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink1">
  63. <a class="dropdown-item" href="http://ckan.restore.ovi.cnr.it/" target="_blank">CKAN</a>
  64. <a class="dropdown-item" href="http://dev.restore.ovi.cnr.it/lodlive/" target="_blank">LOD</a>
  65. </div>
  66. </li>
  67. </ul>
  68. </div>
  69. </div>
  70. </nav>
  71. </header>
  72. <main>
  73. <section>
  74. <div class="w-content section-small">
  75. <div class="box-info">
  76. <div class="container-fluid">
  77. <div class="row box-info-title">
  78. <div class="col">
  79. <h1 class="box-info-main-title">Endpoint SPARQL</h1>
  80. </div>
  81. </div>
  82. <div class="row box-info-container">
  83. <div class="col">
  84. <p>SPARQL (SPARQL Protocol and RDF Query Language) è un linguaggio di interrogazione per dati rappresentati tramite il Resource Description Framework (RDF), che descrive i concetti e le relazioni su di essi attraverso l'introduzione di triple (soggetto-predicato-oggetto). SPARQL è uno degli elementi chiave delle tecnologie del web semantico. Esso consente di estrarre informazioni dalle basi di conoscenza distribuite sul web attraverso la costruzione di query basate su triple.</p>
  85. <p>Da questa sezione puoi accedere all'endpoint SPARQL del progetto RESTORE e costruire le tue query oppure consultare le query di esempio messe a disposizione dal team OVI-CNR lab.</p>
  86. <div id="sparql_button">
  87. <a href="http://dev.restore.ovi.cnr.it:8890/sparql/" class="btn btn-dark" target="_blank">Endpoint SPARQL</a>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="row box-info-title" id="query_esempio">
  92. <div class="col">
  93. <h2 class="box-info-main-title">Query di esempio</h2>
  94. </div>
  95. </div>
  96. <div class="row box-info-container">
  97. <div class="col-12 mb-4">
  98. <div class="query_title">
  99. <p>Tutti gli oggetti di tipo "Dipinto"</p>
  100. </div>
  101. <div class="query_text">
  102. <pre class="prettyprint lang-sparql sparql-code prettyprinted" style="white-space: pre-wrap;">
  103. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">rdfs:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.w3.org/2000/01/rdf-schema#</span><span class="pln">&gt;</span>
  104. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">crm:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.cidoc-crm.org/cidoc-crm/</span><span class="pln">&gt;</span>
  105. <span class="kwd">SELECT DISTINCT</span> ?Opere
  106. <span class="kwd">WHERE</span> {?soggetto <span class="atv">crm:P2_has_type</span> "Opera d'Arte" ;
  107. <span class="atv">rdfs:label</span> ?Opere .
  108. }
  109. </pre>
  110. </div>
  111. <div class="text-right">
  112. <a class="btn btn-xl btn-outline-dark" target="_blank" href="http://dev.restore.ovi.cnr.it:8890/sparql/?default-graph-uri=&query=PREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+%0D%0APREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+%0D%0APREFIX+crm%3A+%3Chttp%3A%2F%2Fwww.cidoc-crm.org%2Fcidoc-crm%2F%3E+%0D%0A%0D%0ASELECT+DISTINCT+%3FOpere%0D%0AWHERE+%7B%3Fsoggetto+crm%3AP2_has_type+%22Opera+d%27Arte%22+%3B%0D%0Ardfs%3Alabel+%3FOpere+.%0D%0A%7D&should-sponge=&format=text%2Fhtml&timeout=0&debug=on&run=+Run+Query+"> <i class="fa fa-search mr-2"></i> Esegui </a>
  113. </div>
  114. </div>
  115. <div class="col-12 mb-4">
  116. <div class="query_title">
  117. <p>Tutti i documenti che fanno riferimento a "Fazzi Antonio Francesco di Orazio"</p>
  118. </div>
  119. <div class="query_text">
  120. <pre class="prettyprint lang-sparql sparql-code prettyprinted" style="white-space: pre-wrap;">
  121. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">rdfs:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.w3.org/2000/01/rdf-schema#</span><span class="pln">&gt;</span>
  122. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">crm:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.cidoc-crm.org/cidoc-crm/</span><span class="pln">&gt;</span>
  123. <span class="kwd">SELECT DISTINCT</span> ?uriDocumento ?Nome_Documento
  124. <span class="kwd">WHERE</span> {?soggetto ?proprietà ?oggetto .
  125. ?oggetto <span class="atv">bif:contains</span> "'Fazzi Antonio Francesco di Orazio'" .
  126. ?evento <span class="atv">crm:P67_refers_to</span> ?soggetto .
  127. ?uriDocumento <span class="atv">crm:P92i_was_brought_into_existence_by</span> ?evento;
  128. <span class="atv">rdfs:label</span> ?Nome_Documento
  129. }
  130. </pre>
  131. </div>
  132. <div class="text-right">
  133. <a class="btn btn-xl btn-outline-dark" target="_blank" href="http://dev.restore.ovi.cnr.it:8890/sparql/?default-graph-uri=&query=PREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E++%0D%0APREFIX+crm%3A+%3Chttp%3A%2F%2Fwww.cidoc-crm.org%2Fcidoc-crm%2F%3E+%0D%0A%0D%0ASELECT+DISTINCT+%3FuriDocumento+%3FNome_Documento%0D%0Awhere+%7B%3Fsoggetto+%3Fpropriet%C3%A0+%3Foggetto+.%0D%0A%3Foggetto+bif%3Acontains+%22%27Fazzi+Antonio+Francesco+di+Orazio%27%22+.%0D%0A%3Fevento+crm%3AP67_refers_to+%3Fsoggetto+.%0D%0A%3FuriDocumento+crm%3AP92i_was_brought_into_existence_by+%3Fevento%3B%0D%0Ardfs%3Alabel+%3FNome_Documento%0D%0A%7D&should-sponge=&format=text%2Fhtml&timeout=0&debug=on&run=+Run+Query+"> <i class="fa fa-search mr-2"></i> Esegui </a>
  134. </div>
  135. </div>
  136. <div class="col-12 mb-4">
  137. <div class="query_title">
  138. <p>Informazioni sulle lettere del carteggio Datini dell'Archivio di Stato di Prato </p>
  139. </div>
  140. <div class="query_text">
  141. <pre class="prettyprint lang-sparql sparql-code prettyprinted" style="white-space: pre-wrap;">
  142. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">rdfs:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.w3.org/2000/01/rdf-schema#</span><span class="pln">&gt;</span>
  143. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">rdf:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.w3.org/1999/02/22-rdf-syntax-ns#</span><span class="pln">&gt;</span>
  144. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">crm:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.cidoc-crm.org/cidoc-crm/</span><span class="pln">&gt;</span>
  145. <span class="kwd">SELECT DISTINCT</span> ?Segnatura ?Mittente ?Destinatario ?Data_Invio ?Data_Ricezione ?Luogo_Invio ?Luogo_Ricezione ?Materiale ?Dimensioni ?Localizzazione
  146. <span class="kwd">WHERE</span> {
  147. <span class="kwd">GRAPH</span><span class="pln"> &lt;</span><span class="atn">http://dev.restore.ovi.cnr.it:8890/aspo/datini</span><span class="pln">&gt;</span> {?soggetto <span class="atv">crm:P25i_moved_by</span> ?eventoMovimento .}
  148. ?invio <span class="atv">rdfs:subClassOf</span> ?eventoMovimento ;
  149. <span class="atv">rdf:type</span> crm:EL2_Send_Letter .
  150. ?ricezione <span class="atv">rdfs:subClassOf</span> ?eventoMovimento ;
  151. <span class="atv">rdf:type</span> crm:EL3_Receive_Letter .
  152. <span class="kwd">OPTIONAL</span> {?soggetto <span class="atv">crm:P54_has_current_permanent_location</span> ?uriLocalizzazione .
  153. ?uriLocalizzazione <span class="atv">rdfs:label</span> ?Localizzazione . }
  154. <span class="kwd">OPTIONAL</span> {?soggetto <span class="atv">crm:P45_consist_of</span> ?uriMateriale .
  155. ?uriMateriale <span class="atv">rdfs:label</span> ?Materiale . }
  156. <span class="kwd">OPTIONAL</span> {?soggetto <span class="atv">crm:P43_has_dimension</span> ?uriDimensioni .
  157. ?uriDimensioni <span class="atv">rdfs:label</span> ?Dimensioni . }
  158. <span class="kwd">OPTIONAL</span> {?soggetto <span class="atv">crm:P1_is_identified_by</span> ?uriId .
  159. ?uriId <span class="atv">rdfs:label</span> ?Segnatura . }
  160. <span class="kwd">OPTIONAL</span> {?invio <span class="atv">crm:P4_has_time-span</span> ?time_span_invio .
  161. ?time_span_invio <span class="atv">rdfs:label</span> ?Data_Invio }
  162. <span class="kwd">OPTIONAL</span> {?ricezione <span class="atv">crm:P4_has_time-span</span> ?time_span_ricezione .
  163. ?time_span_ricezione <span class="atv">rdfs:label</span> ?Data_Ricezione }
  164. <span class="kwd">OPTIONAL</span> {?invio <span class="atv">crm:P27_moved_from</span> ?uriLuogoInvio .
  165. ?uriLuogoInvio <span class="atv">rdfs:label</span> ?Luogo_Invio }
  166. <span class="kwd">OPTIONAL</span> {?ricezione <span class="atv">crm:P26_moved_to</span> ?uriLuogoRicezione .
  167. ?uriLuogoRicezione <span class="atv">rdfs:label</span> ?Luogo_Ricezione }
  168. <span class="kwd">OPTIONAL</span> {?invio <span class="atv">crm:P01_has_domain</span> ?dominioInvio .
  169. ?dominioInvio <span class="atv">crm:P02_has_range</span> ?uriMittente .
  170. ?uriMittente <span class="atv">rdfs:label</span> ?Mittente }
  171. <span class="kwd">OPTIONAL</span> {?ricezione <span class="atv">crm:P01_has_domain</span> ?dominioRicezione .
  172. ?dominioRicezione <span class="atv">crm:P02_has_range</span> ?uriRicezione .
  173. ?uriRicezione <span class="atv">rdfs:label</span> ?Destinatario }
  174. }
  175. <span class="kwd">LIMIT 100</span>
  176. </pre>
  177. </div>
  178. <div class="text-right">
  179. <a class="btn btn-xl btn-outline-dark" target="_blank" href="http://dev.restore.ovi.cnr.it:8890/sparql/?default-graph-uri=&query=PREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+%0D%0APREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+%0D%0APREFIX+crm%3A+%3Chttp%3A%2F%2Fwww.cidoc-crm.org%2Fcidoc-crm%2F%3E+%0D%0A%0D%0A%0D%0ASELECT+DISTINCT+%3FSegnatura+%3FMittente+%3FDestinatario+%3FData_Invio+%3FData_Ricezione+%3FLuogo_Invio+%3FLuogo_Ricezione+%3FMateriale+%3FDimensioni+%3FLocalizzazione%0D%0AWHERE+%7B%0D%0AGRAPH+%3Chttp%3A%2F%2Fdev.restore.ovi.cnr.it%3A8890%2Faspo%2Fdatini%3E+%7B%3Fsoggetto+crm%3AP25i_moved_by+%3FeventoMovimento+.%7D%0D%0A%3Finvio+rdfs%3AsubClassOf+%3FeventoMovimento+%3B+%0D%0Ardf%3Atype+crm%3AEL2_Send_Letter+.%0D%0A%3Fricezione+rdfs%3AsubClassOf+%3FeventoMovimento+%3B+%0D%0Ardf%3Atype+crm%3AEL3_Receive_Letter+.%0D%0A%0D%0AOPTIONAL+%7B%3Fsoggetto+crm%3AP54_has_current_permanent_location+%3FuriLocalizzazione+.%0D%0A%3FuriLocalizzazione+rdfs%3Alabel+%3FLocalizzazione+.+%7D%0D%0AOPTIONAL+%7B%3Fsoggetto+crm%3AP45_consist_of+%3FuriMateriale+.%0D%0A%3FuriMateriale+rdfs%3Alabel+%3FMateriale+.+%7D%0D%0AOPTIONAL+%7B%3Fsoggetto+crm%3AP43_has_dimension+%3FuriDimensioni+.%0D%0A%3FuriDimensioni+rdfs%3Alabel+%3FDimensioni+.+%7D%0D%0AOPTIONAL+%7B%3Fsoggetto+crm%3AP1_is_identified_by+%3FuriId+.%0D%0A%3FuriId+rdfs%3Alabel+%3FSegnatura+.+%7D%0D%0A%0D%0AOPTIONAL+%7B%3Finvio+crm%3AP4_has_time-span+%3Ftime_span_invio+.%0D%0A%3Ftime_span_invio+rdfs%3Alabel+%3FData_Invio+%7D%0D%0AOPTIONAL+%7B%3Fricezione+crm%3AP4_has_time-span+%3Ftime_span_ricezione+.%0D%0A%3Ftime_span_ricezione+rdfs%3Alabel+%3FData_Ricezione+%7D%0D%0A%0D%0AOPTIONAL+%7B%3Finvio+crm%3AP27_moved_from+%3FuriLuogoInvio+.%0D%0A%3FuriLuogoInvio+rdfs%3Alabel+%3FLuogo_Invio+%7D%0D%0AOPTIONAL+%7B%3Fricezione+crm%3AP26_moved_to+%3FuriLuogoRicezione+.%0D%0A%3FuriLuogoRicezione+rdfs%3Alabel+%3FLuogo_Ricezione+%7D%0D%0A%0D%0AOPTIONAL+%7B%3Finvio+crm%3AP01_has_domain+%3FdominioInvio+.%0D%0A%3FdominioInvio+crm%3AP02_has_range+%3FuriMittente+.%0D%0A%3FuriMittente+rdfs%3Alabel+%3FMittente+%7D%0D%0AOPTIONAL+%7B%3Fricezione+crm%3AP01_has_domain+%3FdominioRicezione+.%0D%0A%3FdominioRicezione+crm%3AP02_has_range+%3FuriRicezione+.%0D%0A%3FuriRicezione+rdfs%3Alabel+%3FDestinatario+%7D%0D%0A%7D%0D%0ALIMIT+100&should-sponge=&format=text%2Fhtml&timeout=0&debug=on&run=+Run+Query+"> <i class="fa fa-search mr-2"></i> Esegui </a>
  180. </div>
  181. </div>
  182. <div class="col-12 mb-4">
  183. <div class="query_title">
  184. <p>Informazioni sulle persone</p>
  185. </div>
  186. <div class="query_text">
  187. <pre class="prettyprint lang-sparql sparql-code prettyprinted" style="white-space: pre-wrap;">
  188. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">rdfs:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.w3.org/2000/01/rdf-schema#</span><span class="pln">&gt;</span>
  189. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">rdf:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.w3.org/1999/02/22-rdf-syntax-ns#</span><span class="pln">&gt;</span>
  190. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">crm:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.cidoc-crm.org/cidoc-crm/</span><span class="pln">&gt;</span>
  191. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">schema:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">schema.org/</span><span class="pln">&gt;</span>
  192. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">foaf:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">xmlns.com/foaf/0.1/</span><span class="pln">&gt;</span>
  193. <span class="kwd">PREFIX</span><span class="pln"> </span><span class="atv">person:</span><span class="pln"> &lt;</span><span class="atv">http://</span><span class="atn">www.w3.org/ns/person#</span><span class="pln">&gt;</span>
  194. <span class="kwd">SELECT DISTINCT</span> ?uri ?Id
  195. (<span class="kwd">GROUP_CONCAT</span>(<span class="kwd">DISTINCT</span> ?name ;separator='\n') as ?Nome) ?Nome_Proprio ?Nome_di_Famiglia
  196. (<span class="kwd">GROUP_CONCAT</span>(<span class="kwd">DISTINCT</span> ?otherName ;separator='\n') as ?Alias) ?Patronimico
  197. (<span class="kwd">GROUP_CONCAT</span>(<span class="kwd">DISTINCT</span> ?relative ;separator='\n') as ?Parenti)
  198. ?Sesso ?Data_di_Nascita ?Luogo_di_Nascita ?Data_di_Morte ?Luogo_di_Morte
  199. ?Occupazione ?Luogo_Lavoro
  200. (<span class="kwd">GROUP_CONCAT</span>(<span class="kwd">DISTINCT</span> ?qualification ;separator='\n') as ?Qualifica)
  201. (<span class="kwd">GROUP_CONCAT</span>(<span class="kwd">DISTINCT</span> ?group ;separator='\n') as ?Gruppi) ?BiogHist
  202. <span class="kwd">WHERE</span> {
  203. <span class="kwd">GRAPH</span> ?graph {?uri <span class="atv">rdfs:label</span> ?label}
  204. ?uri <span class="atv">foaf:name</span> ?name .
  205. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">crm:P1_is_identified_by</span> ?identificatore .
  206. ?identificatore <span class="atv">rdfs:label</span> ?Id }
  207. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">foaf:givenName</span> ?Nome_Proprio}
  208. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">foaf:familyName</span> ?Nome_di_Famiglia}
  209. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">schema:alternateName</span> ?otherName }
  210. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">foaf:gender</span> ?Sesso}
  211. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">person:patronymicName</span> ?Patronimico }
  212. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">schema:hasOccupation</span> ?uriOccupazione .
  213. ?uriOccupazione <span class="atv">rdf:type</span> schema:Occupation;
  214. <span class="atv">rdfs:label</span> ?Occupazione }
  215. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">schema:workLocation</span> ?Luogo_Lavoro }
  216. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">schema:honorificPrefix</span> ?qualification}
  217. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">schema:relatedTo</span> ?uriParente .
  218. ?uriParente <span class="atv">rdfs:label</span> ?relative}
  219. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">crm:P100i_died_in</span> ?Morte .
  220. ?Morte <span class="atv">crm:P4_has_time-span</span> ?Morte_TS;
  221. <span class="atv">crm:P7_took_place_at</span> ?Luogo_D .
  222. ?Morte_TS <span class="atv">rdfs:label</span> ?Data_di_Morte .
  223. ?Luogo_D <span class="atv">rdfs:label</span> ?Luogo_di_Morte }
  224. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">crm:P98i_was_born</span> ?Nascita .
  225. ?Nascita <span class="atv">crm:P4_has_time-span</span> ?Nascita_TS;
  226. <span class="atv">crm:P7_took_place_at</span> ?Luogo_B .
  227. ?Nascita_TS <span class="atv">rdfs:label</span> ?Data_di_Nascita .
  228. ?Luogo_B <span class="atv">rdfs:label</span> ?Luogo_di_Nascita }
  229. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">crm:P107i_is_current_or_former_member_of</span> ?uriGroup .
  230. ?uriGroup <span class="atv">rdfs:label</span> ?group }
  231. <span class="kwd">OPTIONAL</span> {?uri <span class="atv">schema:description</span> ?BiogHist }
  232. }
  233. <span class="kwd">LIMIT</span> 100
  234. </pre>
  235. </div>
  236. <div class="text-right">
  237. <a class="btn btn-xl btn-outline-dark" target="_blank" href="http://dev.restore.ovi.cnr.it:8890/sparql/?default-graph-uri=&query=PREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+%0D%0APREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+%0D%0APREFIX+crm%3A+%3Chttp%3A%2F%2Fwww.cidoc-crm.org%2Fcidoc-crm%2F%3E+%0D%0APREFIX+schema%3A+%3Chttp%3A%2F%2Fschema.org%2F%3E+%0D%0APREFIX+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E+%0D%0APREFIX+person%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fperson%23%3E%0D%0A%0D%0ASELECT+DISTINCT+%3Furi+%3FId%0D%0A%28group_concat%28distinct+%3Fname+%3Bseparator%3D%27%5Cn%27%29+as+%3FNome%29+%3FNome_Proprio+%3FNome_di_Famiglia+%0D%0A%28group_concat%28distinct+%3FotherName+%3Bseparator%3D%27%5Cn%27%29+as+%3FAlias%29+%3FPatronimico+%0D%0A%28group_concat%28distinct+%3Frelative+%3Bseparator%3D%27%5Cn%27%29+as+%3FParenti%29+%0D%0A%3FSesso+%3FData_di_Nascita+%3FLuogo_di_Nascita+%3FData_di_Morte+%3FLuogo_di_Morte+%0D%0A%3FOccupazione+%3FLuogo_Lavoro%0D%0A%28group_concat%28distinct+%3Fqualification+%3Bseparator%3D%27%5Cn%27%29+as+%3FQualifica%29+%0D%0A%28group_concat%28distinct+%3Fgroup+%3Bseparator%3D%27%5Cn%27%29+as+%3FGruppi%29+%3FBiogHist%0D%0AWHERE+%7B++%0D%0AGRAPH+%3Fgraph+%7B%3Furi+rdfs%3Alabel+%3Flabel%7D+%0D%0A%3Furi+foaf%3Aname+%3Fname+.+%0D%0AOPTIONAL+%7B%3Furi+crm%3AP1_is_identified_by+%3Fidentificatore+.+%0D%0A%3Fidentificatore+rdfs%3Alabel+%3FId+%7D+%0D%0AOPTIONAL+%7B%3Furi+foaf%3AgivenName+%3FNome_Proprio%7D+%0D%0AOPTIONAL+%7B%3Furi+foaf%3AfamilyName+%3FNome_di_Famiglia%7D+%0D%0AOPTIONAL+%7B%3Furi+schema%3AalternateName+%3FotherName+%7D%0D%0AOPTIONAL+%7B%3Furi+foaf%3Agender+%3FSesso%7D+%0D%0AOPTIONAL+%7B%3Furi+person%3ApatronymicName+%3FPatronimico+%7D+%0D%0AOPTIONAL+%7B%3Furi+schema%3AhasOccupation+%3FuriOccupazione+.+%0D%0A%3FuriOccupazione+rdf%3Atype+schema%3AOccupation%3B+%0D%0Ardfs%3Alabel+%3FOccupazione+%7D+%0D%0AOPTIONAL+%7B%3Furi+schema%3AworkLocation+%3FLuogo_Lavoro+%7D%0D%0AOPTIONAL+%7B%3Furi+schema%3AhonorificPrefix+%3Fqualification%7D+%0D%0AOPTIONAL+%7B%3Furi+schema%3ArelatedTo+%3FuriParente+.+%0D%0A%3FuriParente+rdfs%3Alabel+%3Frelative%7D+%0D%0AOPTIONAL+%7B%3Furi+crm%3AP100i_died_in+%3FMorte+.+%0D%0A%3FMorte+crm%3AP4_has_time-span+%3FMorte_TS%3B+%0D%0Acrm%3AP7_took_place_at+%3FLuogo_D+.%0D%0A%3FMorte_TS+rdfs%3Alabel+%3FData_di_Morte+.+%0D%0A%3FLuogo_D+rdfs%3Alabel+%3FLuogo_di_Morte+%7D+%0D%0AOPTIONAL+%7B%3Furi+crm%3AP98i_was_born+%3FNascita+.+%0D%0A%3FNascita+crm%3AP4_has_time-span+%3FNascita_TS%3B+%0D%0Acrm%3AP7_took_place_at+%3FLuogo_B+.+%0D%0A%3FNascita_TS+rdfs%3Alabel+%3FData_di_Nascita+.+%0D%0A%3FLuogo_B+rdfs%3Alabel+%3FLuogo_di_Nascita+%7D+%0D%0AOPTIONAL+%7B%3Furi+crm%3AP107i_is_current_or_former_member_of+%3FuriGroup+.+%0D%0A%3FuriGroup+rdfs%3Alabel+%3Fgroup+%7D%0D%0AOPTIONAL+%7B%3Furi+schema%3Adescription+%3FBiogHist+%7D%0D%0A%7D+%0D%0ALIMIT+100&should-sponge=&format=text%2Fhtml&timeout=0&debug=on&run=+Run+Query+"> <i class="fa fa-search mr-2"></i> Esegui </a>
  238. </div>
  239. </div>
  240. </div>
  241. </div>
  242. </div>
  243. </div>
  244. </section>
  245. </main>
  246. <footer id="footer" class="footer">
  247. <div class="container">
  248. <div class="row">
  249. <div class="col-lg-7 h-100 text-center text-lg-left my-auto">
  250. <ul class="list-inline mb-2">
  251. <li class="list-inline-item">
  252. <a href="#">About</a>
  253. </li>
  254. <li class="list-inline-item">&sdot;</li>
  255. <li class="list-inline-item">
  256. <a href="#">Contact</a>
  257. </li>
  258. <li class="list-inline-item">&sdot;</li>
  259. <li class="list-inline-item">
  260. <a href="#">Terms of Use</a>
  261. </li>
  262. <li class="list-inline-item">&sdot;</li>
  263. <li class="list-inline-item">
  264. <a href="#">Privacy Policy</a>
  265. </li>
  266. </ul>
  267. <p class="small mb-4 mb-lg-0">&copy; RESTORE 2021. All Rights Reserved.</p>
  268. </div>
  269. <div class="col-lg-5 h-100 text-center my-auto">
  270. <ul class="partner-list list-inline mb-0">
  271. <li class="list-inline-item mr-3">
  272. <a href="#">
  273. <img class="img-logo" src="img/CNR.png" />
  274. </a>
  275. </li>
  276. <li class="list-inline-item mr-3">
  277. <a href="#">
  278. <img class="img-logo" src="img/RegioneToscana.jpg" />
  279. </a>
  280. </li>
  281. <li class="list-inline-item mr-3">
  282. <a href="#">
  283. <img class="img-logo" src="img/European-Union.png" />
  284. </a>
  285. </li>
  286. <li class="list-inline-item mr-3">
  287. <a href="#">
  288. <img class="img-logo" src="img/RepubblicaItaliana.png" />
  289. </a>
  290. </li>
  291. <li class="list-inline-item mr-3">
  292. <a href="#">
  293. <img class="img-logo" src="img/POR-FSE-Regione-Toscana.png" />
  294. </a>
  295. </li>
  296. <li class="list-inline-item">
  297. <a href="#">
  298. <img class="img-logo" src="img/GiovaniSi.png" />
  299. </a>
  300. </li>
  301. </ul>
  302. </div>
  303. </div>
  304. </div>
  305. </footer>
  306. <!-- Bootstrap core JavaScript -->
  307. <script src="vendor/jquery/jquery.min.js"></script>
  308. <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  309. </body>
  310. </html>