dataset.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Apache Jena Fuseki - inspect dataset</title>
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
  8. <link href="css/font-awesome.min.css" rel="stylesheet" media="screen">
  9. <link href="css/qonsole.css" rel="stylesheet" media="screen">
  10. <link href="css/bootstrap-select.min.css" rel="stylesheet" media="screen">
  11. <link href="css/jquery.fileupload-ui.css" rel="stylesheet" media="screen">
  12. <link href="css/jquery.fileupload.css" rel="stylesheet" media="screen">
  13. <link href="css/fui.css" rel="stylesheet" media="screen">
  14. <link href="css/codemirror.min.css" rel="stylesheet">
  15. <link href="css/yasqe.min.css" rel="stylesheet">
  16. <link href="css/yasr.min.css" rel="stylesheet">
  17. <!--[if lt IE 9]>
  18. <script src="js/lib/html5shiv.js"></script>
  19. <script src="js/lib/respond.min.js"></script>
  20. <![endif]-->
  21. </head>
  22. <body>
  23. <nav class="navbar navbar-default" role="navigation">
  24. <div class="container">
  25. <div class="row">
  26. <!-- Brand and toggle get grouped for better mobile display -->
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="index.html">
  35. <img src="images/jena-logo-notext-small.png" alt="Apache Jena logo" title="Apache Jena" />
  36. <div>Apache<br />Jena<br /><strong>Fuseki</strong></div>
  37. </a>
  38. </div>
  39. <!-- Collect the nav links, forms, and other content for toggling -->
  40. <div class="collapse navbar-collapse navbar-ex1-collapse">
  41. <ul class="nav navbar-nav">
  42. <li class=""><a href="index.html"><i class="fa fa-home"></i></a></li>
  43. <li class="active"><a href="dataset.html"><i class="fa fa-database"></i> dataset</a></li>
  44. <li class=""><a href="manage.html"><i class="fa fa-cogs"></i> manage datasets</a></li>
  45. <!-- JENA-887 not yet implemented
  46. <li class=""><a href="services.html"><i class="fa fa-wrench"></i> services</a></li>
  47. -->
  48. <li class=""><a href="documentation.html"><i class="fa fa-info-circle"></i> help</a></li>
  49. </ul>
  50. <ul class="nav navbar-nav navbar-right">
  51. <li class="status-indicator">
  52. <div>Server<br />status:</div>
  53. </li>
  54. <li class="status-indicator">
  55. <a class="" href="#admin/server-log.html" id="server-status-light" title="current server status">
  56. <span class="server-up"></span>
  57. </a>
  58. </li>
  59. </ul>
  60. </div><!-- /.navbar-collapse -->
  61. </div><!-- /row -->
  62. </div><!-- /container -->
  63. </nav>
  64. <div class="container">
  65. <div class="row">
  66. <div class="col-md-12">
  67. <div class="dataset-selector-container"></div>
  68. </div>
  69. </div>
  70. <div class="row">
  71. <div class="col-md-12">
  72. <div class="content-frame">
  73. <ul class="nav nav-tabs">
  74. <li><a href="#query" data-toggle="tab"><i class='fa fa-question-circle'></i> query</a></li>
  75. <li><a href="#upload" data-toggle="tab"><i class='fa fa-upload'></i> upload files</a></li>
  76. <li><a href="#edit" data-toggle="tab"><i class='fa fa-edit'></i> edit</a></li>
  77. <li><a href="#info" data-toggle="tab"><i class='fa fa-dashboard'></i> info</a></li>
  78. </ul>
  79. <!-- Tab panes -->
  80. <div class="tab-content">
  81. <div class="tab-pane" id="query">
  82. <div class="no-dataset">Please select a dataset.</div>
  83. <div class="with-dataset hidden">
  84. <div class="row">
  85. <div class="col-md-12">
  86. <h2>SPARQL query</h2>
  87. <p>To try out some SPARQL queries against the selected dataset, enter your
  88. query here.</p>
  89. <div class="qonsole">
  90. <div class="col-md-12 well">
  91. <h2 class="">Example queries</h2>
  92. <ul class="list-inline examples">
  93. </ul>
  94. </div>
  95. <div class="col-md-12 well vertical">
  96. <h2 class="">Prefixes</h2>
  97. <ul class="list-inline prefixes">
  98. <li class="keep">
  99. <a data-toggle="modal" href="#prefixEditor" class="btn btn-custom2 btn-sm" title="Add a SPARQL prefix">
  100. <i class="fa fa-plus-circle"></i>
  101. </a>
  102. </li>
  103. </ul>
  104. </div>
  105. <div class="col-md-12 well">
  106. <div class="query-chrome" style="margin-top:0px; display:inline-block;vertical-align: top;width:40%;">
  107. <div class="form-group">
  108. <label for="sparqlEndpoint">SPARQL endpoint</label>
  109. <input type="text" class="form-control" id="sparqlEndpoint" />
  110. </div>
  111. </div>
  112. <div class="query-chrome" style="margin-top:0px; display:inline-block; vertical-align: top;width:28%">
  113. <div class="form-group">
  114. <label for="selectContentType">Content Type (Select)</label>
  115. <select id="selectContentType" class="form-control">
  116. <option value="application/sparql-results+json">JSON</option>
  117. <option value="application/sparql-results+xml">XML</option>
  118. <option value="text/csv">CSV</option>
  119. <option value="text/tab-separated-values">TSV</option>
  120. </select>
  121. </div>
  122. </div>
  123. <div class="query-chrome" style="margin-top:0px; display:inline-block; vertical-align: top;width:28%">
  124. <div class="form-group">
  125. <label for="graphContentType">Content Type (Graph)</label>
  126. <select id="graphContentType" class="form-control">
  127. <option value="text/turtle">Turtle</option>
  128. <option value="application/ld+json">JSON-LD</option>
  129. <option value="application/n-triples">N-Triples</option>
  130. <option value="application/rdf+xml">XML</option>
  131. </select>
  132. </div>
  133. </div>
  134. </div>
  135. <div class="col-md-12 well">
  136. <div class="query-edit">
  137. <div id="query-edit-cm" class=""></div>
  138. </div>
  139. </div>
  140. <!-- results -->
  141. <div id="results-block" class="row sparql sparql-results">
  142. <div class="col-md-12">
  143. <div class="well">
  144. <div class="row">
  145. <div class="col-md-12">
  146. <span class="loadingSpinner hidden">
  147. <img src="images/wait30.gif" alt="waiting for server action to complete" />
  148. </span>
  149. <span class="timeTaken hidden"></span>
  150. </div>
  151. </div>
  152. <div class="row">
  153. <div class="col-md-12" id="results">
  154. <h2 class="col-md-12">Query results</h2>
  155. </div>
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. <div class="row clearfix"></div>
  161. </div><!-- /.qonsole -->
  162. <!-- modal dialogue -->
  163. <div class="modal fade" id="prefixEditor" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  164. <div class="modal-dialog">
  165. <div class="modal-content">
  166. <div class="modal-header">
  167. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  168. <h4 class="modal-title">Add a SPARQL prefix</h4>
  169. </div>
  170. <div class="modal-body">
  171. <form class="form-horizontal" role="form">
  172. <div class="form-group">
  173. <label for="inputPrefix" class="col-lg-2 control-label">Prefix</label>
  174. <div class="col-lg-10">
  175. <input type="text" class="form-control" id="inputPrefix" placeholder="Prefix" autofocus>
  176. </div>
  177. </div>
  178. <div class="form-group">
  179. <div class="col-lg-offset-2 col-lg-10">
  180. <button class="btn btn-sm btn-primary" id="lookupPrefix">Lookup <span></span> on prefix.cc</button>
  181. </div>
  182. </div>
  183. <div class="form-group">
  184. <label for="inputURI" class="col-lg-2 control-label">URI</label>
  185. <div class="col-lg-10">
  186. <input type="text" class="form-control" id="inputURI" placeholder="URI">
  187. </div>
  188. </div>
  189. </form>
  190. </div>
  191. <div class="modal-footer">
  192. <button type="button" class="btn btn-default" data-dismiss="modal">cancel</button>
  193. <button type="button" class="btn btn-primary" data-dismiss="modal" id="addPrefix">add prefix</button>
  194. </div>
  195. </div><!-- /.modal-content -->
  196. </div><!-- /.modal-dialog -->
  197. </div><!-- /.modal -->
  198. </div>
  199. </div> <!-- .col-md-12 -->
  200. </div> <!-- /.with-dataset -->
  201. </div>
  202. <div class="tab-pane" id="upload">
  203. <div class="no-dataset">Please select a dataset.</div>
  204. <div class="with-dataset hidden">
  205. <div class="row">
  206. <div id="file-upload"></div>
  207. </div> <!-- /.row -->
  208. </div>
  209. </div>
  210. <div class="tab-pane" id="edit">
  211. <div class="no-dataset">Please select a dataset.</div>
  212. <div class="with-dataset hidden"></div>
  213. </div>
  214. <div class="tab-pane" id="info">
  215. <div class="no-dataset">Please select a dataset.</div>
  216. <div class="with-dataset hidden">
  217. </div>
  218. </div>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. </div>
  224. <script data-main="js/app/main.dataset.js" src="js/lib/require.js"></script>
  225. </body>
  226. </html>