index.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. <!DOCTYPE html>
  2. <html lang="en-us">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="author" content="Vincent Link, Steffen Lohmann, Eduard Marbach, Stefan Negru, Vitalis Wiens" />
  6. <meta name="keywords" content="webvowl, vowl, visual notation, web ontology language, owl, rdf, ontology visualization, ontologies, semantic web" />
  7. <meta name="description" content="WebVOWL - Web-based Visualization of Ontologies" />
  8. <meta name="robots" content="noindex,nofollow" />
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, ">
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <link rel="stylesheet" type="text/css" href="css/webvowl.css" />
  12. <link rel="stylesheet" type="text/css" href="css/webvowl.app.css" />
  13. <link rel="icon" href="favicon.ico" type="image/x-icon" />
  14. <title>WebVOWL</title>
  15. </head>
  16. <body>
  17. <main>
  18. <section id="canvasArea">
  19. <div id="browserCheck" class="hidden">
  20. WebVOWL does not work properly in Internet Explorer and Microsoft Edge. Please use another browser, such as
  21. <a href="http://www.mozilla.org/firefox/">Mozilla Firefox</a> or
  22. <a href="https://www.google.com/chrome/">Google Chrome</a>, to run WebVOWL.
  23. <label id="killWarning">Hide warning</label>
  24. </div>
  25. <div class="noselect"><span id="sidebarExpandButton"> > </span></div>
  26. <div id="logo" class="noselect">
  27. <h2>WebVOWL <br/><span>1.1.2</span></h2>
  28. </div>
  29. <div id="loading-info" class="hidden">
  30. <div id="loading-progress">
  31. <div class="hidden">Loading ontology... </div>
  32. <div id="layoutLoadingProgressBarContainer" style="padding-bottom: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
  33. <h4 id="currentLoadingStep" style="margin: 0;font-style: italic; padding-bottom:0 ; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">Layout optimization</h4>
  34. <div id="progressBarContext">
  35. <div id="progressBarValue" class="busyProgressBar"></div>
  36. </div>
  37. </div>
  38. <div id="loadingInfo_msgBox" style="padding-bottom: 0;padding-top:0">
  39. <div id="show-loadingInfo-button" class="accordion-trigger noselect">Details </div>
  40. <div id="loadingInfo-container">
  41. <ul id="bulletPoint_container"></ul>
  42. </div>
  43. </div>
  44. <div>
  45. <span id="loadingIndicator_closeButton" class="">Close Warning</span>
  46. </div>
  47. </div>
  48. </div>
  49. <div id="graph"></div>
  50. <div id="menuContainer">
  51. <!--Ontology Menu
  52. <ul id="m_select" class="toolTipMenu noselect">
  53. <li><a href="#foaf" id="foaf">Friend of a Friend (FOAF) vocabulary</a></li>
  54. <li><a href="#muto" id="muto">Modular and Unified Tagging Ontology (MUTO)</a></li>
  55. <li><a href="#personasonto" id="personasonto">Personas Ontology (PersonasOnto)</a></li>
  56. <li><a href="#goodrelations" id="goodrelations">GoodRelations Vocabulary for E-Commerce</a></li>
  57. <li><a href="#sioc" id="sioc">SIOC (Semantically-Interlinked Online Communities) Core Ontology</a></li>
  58. <li><a href="#ontovibe" id="ontovibe">Ontology Visualization Benchmark (OntoViBe)</a></li>
  59. <li class="option" id="converter-option">
  60. <form class="converter-form" id="iri-converter-form">
  61. <label for="iri-converter-input">Custom Ontology:</label>
  62. <input type="text" id="iri-converter-input" placeholder="Enter ontology IRI">
  63. <button type="submit" id="iri-converter-button" disabled>Visualize</button>
  64. </form>
  65. <div class="converter-form">
  66. <input class="hidden" type="file" id="file-converter-input" autocomplete="off">
  67. <label class="truncate" id="file-converter-label" for="file-converter-input">Select ontology file</label>
  68. <button type="submit" id="file-converter-button" disabled>
  69. Upload
  70. </button>
  71. </div>
  72. </li>
  73. </ul>-->
  74. <!--Export Menu-->
  75. <ul id="m_export" class="toolTipMenu noselect">
  76. <li><a href="#" download id="exportJson">Export as JSON</a></li>
  77. <li><a href="#" download id="exportSvg">Export as SVG</a></li>
  78. <li class="option">
  79. <div>
  80. <form class="converter-form" id="url-copy-form">
  81. <label for="exportedUrl">Export as URL:</label>
  82. <input type="text" id="exportedUrl" placeholder="#">
  83. <span id="copyBt" title="Copy to Clipboard">Copy</span>
  84. </form>
  85. </div>
  86. </li>
  87. </ul>
  88. <!--Filter Menu-->
  89. <ul id="m_filter" class="toolTipMenu noselect">
  90. <li class="toggleOption" id="datatypeFilteringOption"></li>
  91. <li class="toggleOption" id="objectPropertyFilteringOption"></li>
  92. <li class="toggleOption" id="subclassFilteringOption"></li>
  93. <li class="toggleOption" id="disjointFilteringOption"></li>
  94. <li class="toggleOption" id="setOperatorFilteringOption"></li>
  95. <li class="slideOption" id="nodeDegreeFilteringOption"></li>
  96. </ul>
  97. <!--Modes Menu -->
  98. <ul id="m_modes" class="toolTipMenu noselect">
  99. <li class="toggleOption" id="dynamicLabelWidth"></li>
  100. <li class="toggleOption" id="pickAndPinOption"></li>
  101. <li class="toggleOption" id="nodeScalingOption"></li>
  102. <li class="toggleOption" id="compactNotationOption"></li>
  103. <li class="toggleOption" id="colorExternalsOption"></li>
  104. </ul>
  105. <!--Config Menu -->
  106. <ul id="m_config" class="toolTipMenu noselect">
  107. <li class="toggleOption" id="zoomSliderOption"></li>
  108. <li class="slideOption" id="classSliderOption"></li>
  109. <li class="slideOption" id="datatypeSliderOption"></li>
  110. <li class="slideOption" id="maxLabelWidthSliderOption"></li>
  111. </ul>
  112. <!--About Menu-->
  113. <ul id="m_about" class="toolTipMenu">
  114. <li><a href="license.txt" target="_blank">MIT License &copy; 2014-2018</a></li>
  115. <li id="credits" class="option">WebVOWL Developers:<br/> Vincent Link, Steffen Lohmann, Eduard Marbach, Stefan Negru, Vitalis Wiens
  116. </li>
  117. <li id="credits" class="option">Widoco integration:<br> Daniel Garijo
  118. </li>
  119. <li><a href="http://vowl.visualdataweb.org/webvowl.html#releases" target="_blank">Version: 1.1.2<br/>(release history)</a></li>
  120. <li><a href="http://purl.org/vowl/" target="_blank">VOWL Specification &raquo;</a></li>
  121. </ul>
  122. <ul id="m_search" class="toolTipMenu"></ul>
  123. </div>
  124. <div class="noselect" id="swipeBarContainer">
  125. <ul id="menuElementContainer">
  126. <li id="c_search" class="inner-addon left-addon">
  127. <i class="searchIcon">
  128. <svg viewBox="0 0 24 24" height="100%" width="100%" style="pointer-events: none; display: block;">
  129. <g ><path id="magnifyingGlass" style="fill : #666; stroke-width:0;"
  130. d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z">
  131. </path></g></svg>
  132. </i>
  133. <input class="searchInputText" type="text" id="search-input-text" placeholder="Search">
  134. </li>
  135. <li id="c_locate">
  136. <a style="padding: 0 8px 5px 8px;" draggable="false" title="Nothing to locate, enter search term." href="#" id="locateSearchResult">&#8982;
  137. </a>
  138. </li>
  139. <!--
  140. <li id="c_select">
  141. <a draggable="false" href="#">
  142. <i>
  143. <svg viewBox="0 0 24 24" class="menuElementSvgElement" >
  144. <g><path style="fill : #fff; stroke-width:0;" d="M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"
  145. transform="matrix(0.75,0,0,0.75,3.5,2.5)" >
  146. </path></g>
  147. </svg>
  148. </i> Ontology</a>
  149. </li>-->
  150. <li id="c_export"><a draggable="false" href="#">
  151. <i>
  152. <svg viewBox="0 0 24 24" class="menuElementSvgElement" >
  153. <g><path style="fill : #fff; stroke-width:0;" d="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"
  154. transform="matrix(0.75,0,0,0.75,3.5,2.5)" >
  155. </path></g>
  156. </svg>
  157. </i> Export</a></li>
  158. <li id="c_filter"><a draggable="false" href="#">
  159. <i>
  160. <svg viewBox="0 0 24 24" class="menuElementSvgElement">
  161. <g><path style="fill : #fff; stroke-width:0;" d="M3 4l9 16 9-16H3zm3.38 2h11.25L12 16 6.38 6z"
  162. transform="matrix(0.75,0,0,0.75,3.5,2.5)" >
  163. </path></g>
  164. </svg>
  165. </i>Filter</a></li>
  166. <li id="c_modes"><a draggable="false" href="#">
  167. <i>
  168. <svg viewBox="0 0 24 24" class="menuElementSvgElement">
  169. <g><path style="fill : #fff; stroke-width:0;"
  170. d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"
  171. transform="matrix(0.75,0,0,0.75,3.5,2.5)" >
  172. </path></g>
  173. </svg>
  174. </i>Modes</a></li>
  175. <li id="c_reset"><a draggable="false" id="reset-button" href="#" type="reset">
  176. <i>
  177. <svg viewBox="0 0 24 24" class="menuElementSvgElement">
  178. <g><path style="fill : #fff; stroke-width:0;"
  179. d="m 12,5 0,-4 5,5 -5,5 0,-4 c -3.31,0 -6,2.69 -6,6 0,3.31 2.69,6 6,6 3.31,0 6,-2.69 6,-6 l 2,0 c 0,4.42 -3.58,8 -8,8 C 7.58,21 4,17.42 4,13 4,8.58 7.58,5 12,5 Z"
  180. transform="matrix(0.75,0,0,0.75,3.5,2.5)" >
  181. </path></g>
  182. </svg>
  183. </i>Reset</a></li>
  184. <li id="c_pause"><a draggable="false" id="pause-button" href="#" style="padding: 9px 8px 12px 8px;">Pause</a></li>
  185. <li id="c_config"><a draggable="false" href="#">
  186. <i>
  187. <svg viewBox="0 0 24 24" class="menuElementSvgElement">
  188. <g><path style="fill : #fff; stroke-width:0;"
  189. d="m 21.163138,13.127428 0,-2.356764 -2.546629,-0.424622 C 18.439272,9.5807939 18.137791,8.8661419 17.733863,8.218291 L 19.2356,6.116978 17.569296,4.450673 15.466841,5.951269 C 14.818953,5.548483 14.104338,5.24586 13.33909,5.067482 l -0.424622,-2.545488 -2.356764,0 -0.424622,2.545488 C 9.3689769,5.24586 8.6531829,5.548519 8.0053319,5.951269 l -2.102455,-1.500596 -1.666304,1.666305 1.501737,2.101313 c -0.403928,0.6467469 -0.705409,1.3625029 -0.882646,2.127751 l -2.546629,0.424622 0,2.356764 2.546629,0.424622 c 0.177237,0.765248 0.478718,1.4799 0.882646,2.127751 l -1.501737,2.102455 1.666304,1.666304 2.103596,-1.501737 c 0.646747,0.403928 1.362504,0.705409 2.1266091,0.882646 l 0.424622,2.546629 2.356764,0 0.424622,-2.546629 c 0.764106,-0.177237 1.4799,-0.478718 2.127751,-0.882646 l 2.102455,1.501737 1.666304,-1.666304 -1.501737,-2.102455 c 0.403928,-0.647888 0.705409,-1.363645 0.882646,-2.127751 l 2.546629,-0.424622 z m -9.427053,3.535144 c -2.6030431,0 -4.7135241,-2.110517 -4.7135241,-4.713527 0,-2.6030071 2.110518,-4.713525 4.7135241,-4.713525 2.60301,0 4.713527,2.1105179 4.713527,4.713525 0,2.60301 -2.110481,4.713527 -4.713527,4.713527 z"
  190. transform="matrix(0.75,0,0,0.75,3.5,2.5)" >
  191. </path></g>
  192. </svg>
  193. </i>Options</a>
  194. <li id="c_about"><a draggable="false" href="#">
  195. <i>
  196. <svg viewBox="0 0 24 24" class="menuElementSvgElement">
  197. <g><path style="fill : #fff; stroke-width:0;"
  198. d="m 10.08,10.86 c 0.05,-0.33 0.16,-0.62 0.3,-0.87 0.14,-0.25 0.34,-0.46 0.59,-0.62 0.24,-0.15 0.54,-0.22 0.91,-0.23 0.23,0.01 0.44,0.05 0.63,0.13 0.2,0.09 0.38,0.21 0.52,0.36 0.14,0.15 0.25,0.33 0.34,0.53 0.09,0.2 0.13,0.42 0.14,0.64 l 1.79,0 C 15.28,10.33 15.19,9.9 15.02,9.51 14.85,9.12 14.62,8.78 14.32,8.5 14.02,8.22 13.66,8 13.24,7.84 12.82,7.68 12.36,7.61 11.85,7.61 11.2,7.61 10.63,7.72 10.15,7.95 9.67,8.18 9.27,8.48 8.95,8.87 8.63,9.26 8.39,9.71 8.24,10.23 8.09,10.75 8,11.29 8,11.87 l 0,0.27 c 0,0.58 0.08,1.12 0.23,1.64 0.15,0.52 0.39,0.97 0.71,1.35 0.32,0.38 0.72,0.69 1.2,0.91 0.48,0.22 1.05,0.34 1.7,0.34 0.47,0 0.91,-0.08 1.32,-0.23 0.41,-0.15 0.77,-0.36 1.08,-0.63 0.31,-0.27 0.56,-0.58 0.74,-0.94 0.18,-0.36 0.29,-0.74 0.3,-1.15 l -1.79,0 c -0.01,0.21 -0.06,0.4 -0.15,0.58 -0.09,0.18 -0.21,0.33 -0.36,0.46 -0.15,0.13 -0.32,0.23 -0.52,0.3 -0.19,0.07 -0.39,0.09 -0.6,0.1 C 11.5,14.86 11.2,14.79 10.97,14.64 10.72,14.48 10.52,14.27 10.38,14.02 10.24,13.77 10.13,13.47 10.08,13.14 10.03,12.81 10,12.47 10,12.14 l 0,-0.27 c 0,-0.35 0.03,-0.68 0.08,-1.01 z M 12,2 C 6.48,2 2,6.48 2,12 2,17.52 6.48,22 12,22 17.52,22 22,17.52 22,12 22,6.48 17.52,2 12,2 Z m 0,18 C 7.59,20 4,16.41 4,12 4,7.59 7.59,4 12,4 c 4.41,0 8,3.59 8,8 0,4.41 -3.59,8 -8,8 z"
  199. transform="matrix(0.75,0,0,0.75,3.5,2.5)" >
  200. </path></g>
  201. </svg>
  202. </i>
  203. About</a></li>
  204. </ul>
  205. </div>
  206. <div class="noselect" id="scrollRightButton"> </div>
  207. <div class="noselect" id="scrollLeftButton"> </div>
  208. <div id="zoomSlider">
  209. <p class="noselect" id="centerGraphButton">&#8982;</p>
  210. <p class="noselect" id="zoomInButton">+</p>
  211. <p class="noselect" id="zoomSliderParagraph"> </p>
  212. <p class="noselect" id="zoomOutButton">-</p>
  213. </div>
  214. </section>
  215. <aside id="detailsArea">
  216. <section id="generalDetails">
  217. <h1 id="title"></h1>
  218. <span><a id="about" href=""></a></span>
  219. <h5>Version: <span id="version"></span></h5>
  220. <h5>Author(s): <span id="authors"></span></h5>
  221. <h5>
  222. <label>Language: <select id="language" name="language" size="1"></select></label>
  223. </h5>
  224. <h3 class="accordion-trigger noselect accordion-trigger-active">Description</h3>
  225. <div class="accordion-container scrollable">
  226. <p id="description"></p>
  227. </div>
  228. <h3 class="accordion-trigger noselect">Metadata</h3>
  229. <div id="ontology-metadata" class="accordion-container"></div>
  230. <h3 class="accordion-trigger noselect">Statistics</h3>
  231. <div class="accordion-container">
  232. <p class="statisticDetails">Classes: <span id="classCount"></span></p>
  233. <p class="statisticDetails">Object prop.: <span id="objectPropertyCount"></span></p>
  234. <p class="statisticDetails">Datatype prop.: <span id="datatypePropertyCount"></span></p>
  235. <div class="small-whitespace-separator"></div>
  236. <p class="statisticDetails">Individuals: <span id="individualCount"></span></p>
  237. <div class="small-whitespace-separator"></div>
  238. <p class="statisticDetails">Nodes: <span id="nodeCount"></span></p>
  239. <p class="statisticDetails">Edges: <span id="edgeCount"></span></p>
  240. </div>
  241. <h3 class="accordion-trigger noselect" id="selection-details-trigger">Selection Details</h3>
  242. <div class="accordion-container" id="selection-details">
  243. <div id="classSelectionInformation" class="hidden">
  244. <p class="propDetails">Name: <span id="name"></span></p>
  245. <p class="propDetails">Type: <span id="typeNode"></span></p>
  246. <p class="propDetails">Equiv.: <span id="classEquivUri"></span></p>
  247. <p class="propDetails">Disjoint: <span id="disjointNodes"></span></p>
  248. <p class="propDetails">Charac.: <span id="classAttributes"></span></p>
  249. <p class="propDetails">Individuals: <span id="individuals"></span></p>
  250. <p class="propDetails">Description: <span id="nodeDescription"></span></p>
  251. <p class="propDetails">Comment: <span id="nodeComment"></span></p>
  252. </div>
  253. <div id="propertySelectionInformation" class="hidden">
  254. <p class="propDetails">Name: <span id="propname"></span></p>
  255. <p class="propDetails">Type: <span id="typeProp"></span></p>
  256. <p id="inverse" class="propDetails">Inverse: <span></span></p>
  257. <p class="propDetails">Domain: <span id="domain"></span></p>
  258. <p class="propDetails">Range: <span id="range"></span></p>
  259. <p class="propDetails">Subprop.: <span id="subproperties"></span></p>
  260. <p class="propDetails">Superprop.: <span id="superproperties"></span></p>
  261. <p class="propDetails">Equiv.: <span id="propEquivUri"></span></p>
  262. <p id="infoCardinality" class="propDetails">Cardinality: <span></span></p>
  263. <p id="minCardinality" class="propDetails">Min. cardinality: <span></span></p>
  264. <p id="maxCardinality" class="propDetails">Max. cardinality: <span></span></p>
  265. <p class="propDetails">Charac.: <span id="propAttributes"></span></p>
  266. <p class="propDetails">Description: <span id="propDescription"></span></p>
  267. <p class="propDetails">Comment: <span id="propComment"></span></p>
  268. </div>
  269. <div id="noSelectionInformation">
  270. <p><span>Select an element in the visualization.</span></p>
  271. </div>
  272. </div>
  273. </section>
  274. </aside>
  275. </main>
  276. <script src="js/d3.min.js"></script>
  277. <script src="js/webvowl.js"></script>
  278. <script src="js/webvowl.app.js"></script>
  279. <script>
  280. window.onload = webvowl.app().initialize;
  281. </script>
  282. </body>
  283. </html>