ricerca_avanzata.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Restore - Ricerca avanzata</title>
  6. <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  7. <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
  8. <link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
  9. <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
  10. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  11. <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.2.1.min.js"></script>
  12. <link href="css/landing-page.css" rel="stylesheet">
  13. <link href="css/advanced-search.css" rel="stylesheet">
  14. <link href="css/styles.min.css" rel="stylesheet">
  15. <script src="js\advanced_search.js"></script>
  16. </head>
  17. <body>
  18. <header class="sticky-top">
  19. <nav class="navbar navbar-expand-lg navbar-light bg-white">
  20. <div class="container-fluid">
  21. <div class="navbar-brand">
  22. <img src="img/Logo.png" width="100" alt="Restore" />
  23. </div>
  24. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  25. <span class="navbar-toggler-icon"></span>
  26. </button>
  27. <div class="collapse navbar-collapse justify-content-end" id="navbarNavDropdown">
  28. <ul class="navbar-nav">
  29. <li class="nav-item">
  30. <a class="nav-link" href="index.html">Home</a>
  31. </li>
  32. <li class="nav-item">
  33. <a class="nav-link" href="http://restore.ovi.cnr.it/">Progetto</a>
  34. </li>
  35. <li class="nav-item active">
  36. <a class="nav-link" href="ricerca.html">Ricerca</a>
  37. </li>
  38. <!--<li class="nav-item">
  39. <a class="nav-link" href="#">Indici</a>
  40. </li>
  41. <li class="nav-item">
  42. <a class="nav-link" href="#">Percorsi</a>
  43. </li>-->
  44. <li class="nav-item">
  45. <a class="nav-link" href="standard.html">Standard</a>
  46. </li>
  47. <li class="nav-item dropdown">
  48. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Sparql</a>
  49. <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  50. <a class="dropdown-item" href="http://dev.restore.ovi.cnr.it:8890/sparql/">Endpoint Sparql</a>
  51. <a class="dropdown-item" href="sparql.html">Query</a>
  52. </div>
  53. </li>
  54. <!--<li class="nav-item">
  55. <a class="nav-link" href="download.html">Download</a>
  56. </li>-->
  57. <li class="nav-item dropdown">
  58. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Collegamenti esterni</a>
  59. <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink1">
  60. <a class="dropdown-item" href="http://ckan.restore.ovi.cnr.it/" target="_blank">CKAN</a>
  61. <a class="dropdown-item" href="http://dev.restore.ovi.cnr.it/lodlive/" target="_blank">LOD</a>
  62. </div>
  63. </li>
  64. </ul>
  65. </div>
  66. </div>
  67. </nav>
  68. </header>
  69. <main>
  70. <section id="advanced_search_intro">
  71. <div class="container">
  72. <div class="section-small">
  73. <h1>Ricerca avanzata</h1>
  74. <p>Questa è l'interfaccia per la ricerca avanzata, dedicata a coloro i quali hanno già familiarità con i dataset del progetto e desiderano cercare una risorsa specifica.
  75. Per utilizzare al meglio la ricerca avanzata:
  76. <ul>
  77. <li><b>Seleziona la categoria della risorsa che stai cercando</b> (in caso contrario la ricerca non verrà eseguita)</li>
  78. <li>Compila sempre almeno un parametro</li>
  79. <li>Per selezionare le risorse in base alla fonte originale seleziona una collezione dall'apposito menù a tendina</li>
  80. </ul>
  81. La ricerca avanzata simula un costruttore di query. Si può selezionare un numero a scelta di parametri, allo stesso
  82. tempo più parametri si selezionano più la ricerca verrà raffinata rispetto ai risultati.
  83. </p>
  84. </div>
  85. </div>
  86. </section>
  87. <section id="advanced_search" class="masthead text-center">
  88. <div class="overlay"></div>
  89. <div id="advanced_search-options" class="container">
  90. <div id="question">
  91. <p><b>Cosa stai cercando?</b></p>
  92. </div>
  93. <div class="container-fluid">
  94. <div class="row main-search-container">
  95. <div class="col">
  96. <select id="type_selector" class="category-form-select form-control" aria-label="Tutte le Categorie">
  97. <option selected value="General">Tutte le Categorie</option>
  98. </select>
  99. </div>
  100. <div class="col">
  101. <select id="collection_selector" class="collection-form-select form-control" aria-label="Tutte le Collezioni">
  102. <option selected value="">Tutte le Collezioni</option>
  103. </select>
  104. </div>
  105. <div class="col-auto">
  106. <div id="wb_ClipArt1">
  107. <button class="btn btn-outline-light" onclick="getParameters()" type="button" id="ClipArt1" style="height:100%;">
  108. <i class="fa fa-search mr-2" aria-hidden="true"></i>
  109. Esegui la query
  110. </button>
  111. </div>
  112. </div>
  113. </div>
  114. <div class="mt-3">
  115. <div id="search-option-area">
  116. <div id="search-option-general" class="box General">
  117. <div id="drop-down-content"></div>
  118. <div>
  119. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToList()">
  120. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  121. Aggiungi parametro
  122. </button>
  123. </div>
  124. </div>
  125. <div id="search-option-person" class="box Person">
  126. <div id="drop-down-content-Person"></div>
  127. <div>
  128. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListPerson()">
  129. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  130. Aggiungi parametro
  131. </button>
  132. </div>
  133. </div>
  134. <div id="search-option-OA" class="box OA">
  135. <div id="drop-down-content-OA"></div>
  136. <div>
  137. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListOA()">
  138. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  139. Aggiungi parametro
  140. </button>
  141. </div>
  142. </div>
  143. <div id="search-option-letter" class="box Letter">
  144. <div id="drop-down-content-Letter"></div>
  145. <div>
  146. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListLetter()">
  147. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  148. Aggiungi parametro
  149. </button>
  150. </div>
  151. </div>
  152. <div id="search-option-object" class="box Object">
  153. <div id="drop-down-content-Object"></div>
  154. <div>
  155. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListObject()">
  156. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  157. Aggiungi parametro
  158. </button>
  159. </div>
  160. </div>
  161. <div id="search-option-place" class="box Place">
  162. <div id="drop-down-content-place"></div>
  163. <div>
  164. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListPlace()">
  165. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  166. Aggiungi parametro
  167. </button>
  168. </div>
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. </section>
  175. <section>
  176. <div class="container">
  177. <div class="section-small">
  178. <div id="box_results">
  179. <h2><span id="n_res"></span> Risultati</h2>
  180. <div class="query-results-container">
  181. <div id="query_results"></div>
  182. </div>
  183. </div>
  184. <div id="btn_dowload">
  185. <button onclick="download_table_as_csv();" class="btn btn-outline-dark"><i class="fa fa-download"></i> Download</button>
  186. </div>
  187. </div>
  188. </div>
  189. </section>
  190. </main>
  191. <footer id="footer" class="footer">
  192. <div class="container">
  193. <div class="row">
  194. <div class="col-lg-7 h-100 text-center text-lg-left my-auto">
  195. <ul class="list-inline mb-2">
  196. <li class="list-inline-item">
  197. <a href="#">About</a>
  198. </li>
  199. <li class="list-inline-item">&sdot;</li>
  200. <li class="list-inline-item">
  201. <a href="#">Contact</a>
  202. </li>
  203. <li class="list-inline-item">&sdot;</li>
  204. <li class="list-inline-item">
  205. <a href="#">Terms of Use</a>
  206. </li>
  207. <li class="list-inline-item">&sdot;</li>
  208. <li class="list-inline-item">
  209. <a href="#">Privacy Policy</a>
  210. </li>
  211. </ul>
  212. <p class="small mb-4 mb-lg-0">&copy; RESTORE 2021. All Rights Reserved.</p>
  213. </div>
  214. <div class="col-lg-5 h-100 text-center my-auto">
  215. <ul class="partner-list list-inline mb-0">
  216. <li class="list-inline-item mr-3">
  217. <a href="#">
  218. <img class="img-logo" src="img/CNR.png" />
  219. </a>
  220. </li>
  221. <li class="list-inline-item mr-3">
  222. <a href="#">
  223. <img class="img-logo" src="img/RegioneToscana.jpg" />
  224. </a>
  225. </li>
  226. <li class="list-inline-item mr-3">
  227. <a href="#">
  228. <img class="img-logo" src="img/European-Union.png" />
  229. </a>
  230. </li>
  231. <li class="list-inline-item mr-3">
  232. <a href="#">
  233. <img class="img-logo" src="img/RepubblicaItaliana.png" />
  234. </a>
  235. </li>
  236. <li class="list-inline-item mr-3">
  237. <a href="#">
  238. <img class="img-logo" src="img/POR-FSE-Regione-Toscana.png" />
  239. </a>
  240. </li>
  241. <li class="list-inline-item">
  242. <a href="#">
  243. <img class="img-logo" src="img/GiovaniSi.png" />
  244. </a>
  245. </li>
  246. </ul>
  247. </div>
  248. </div>
  249. </div>
  250. </footer>
  251. <!-- Bootstrap core JavaScript -->
  252. <script src="js/utilities.js"></script>
  253. <script src="vendor/jquery/jquery.min.js"></script>
  254. <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  255. </body>
  256. </html>