| [123] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 | 
|---|
 | 2 | <html>
 | 
|---|
 | 3 | <head>
 | 
|---|
 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 | 
|---|
 | 5 | <title>SPARQL Builder GUI</title>
 | 
|---|
 | 6 | 
 | 
|---|
 | 7 | <style>
 | 
|---|
 | 8 | 
 | 
|---|
 | 9 | .link {
 | 
|---|
 | 10 |   stroke: #999;
 | 
|---|
 | 11 |   stroke-opacity: .6;
 | 
|---|
 | 12 | }
 | 
|---|
 | 13 | 
 | 
|---|
 | 14 | #showpath {
 | 
|---|
 | 15 |         position: absolute;
 | 
|---|
 | 16 |         width: 200px;
 | 
|---|
 | 17 |         height: auto;
 | 
|---|
 | 18 |         padding: 15px;
 | 
|---|
 | 19 |         -webkit-border-radius: 20px;
 | 
|---|
 | 20 |         border-radius: 20px;
 | 
|---|
 | 21 |         -webkit-box-shadow: 0px 0px 10px #000000;
 | 
|---|
 | 22 |         box-shadow: 0px 0px 10px #000000;
 | 
|---|
 | 23 |         background-image: -moz-linear-gradient(top, #eeeeff, #ffffff);
 | 
|---|
 | 24 |         background-image: -ms-linear-gradient(top, #eeeeff, #ffffff);
 | 
|---|
 | 25 |         background-image: -o-linear-gradient(top, #eeeeff, #ffffff);
 | 
|---|
 | 26 |         background-image: -webkit-gradient(linear, center top, center bottom, from(#eeeeff), to(#ffffff));
 | 
|---|
 | 27 |         background-image: -webkit-linear-gradient(top, #eeeeff, #ffffff);
 | 
|---|
 | 28 |         background-image: linear-gradient(top, #eeeeff, #ffffff);
 | 
|---|
 | 29 |         -webkit-background-clip: padding-box;
 | 
|---|
 | 30 |         background-clip: padding-box;
 | 
|---|
 | 31 | }
 | 
|---|
 | 32 | 
 | 
|---|
 | 33 | </style>
 | 
|---|
 | 34 | 
 | 
|---|
| [194] | 35 | <script type="text/javascript" src="jquery.min.js"></script>
 | 
|---|
| [124] | 36 | <script type="text/javascript" src="d3.min.js"></script>
 | 
|---|
| [194] | 37 | <script type="text/javascript" src="drawgraph.js"></script>
 | 
|---|
| [123] | 38 | <script>
 | 
|---|
 | 39 | <!--
 | 
|---|
 | 40 | 
 | 
|---|
 | 41 | // SETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURL
 | 
|---|
 | 42 | // SETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURL
 | 
|---|
 | 43 | 
 | 
|---|
 | 44 | // 隱ュ縺ソ霎シ縺ソ譎ゅ↓螳溯。後ゅお繝ウ繝峨�繧、繝ウ繝医�繝ェ繧ケ繝医r騾壼クク縺ョ驟榊�縺ァ霑斐&繧後k縺薙→縺ァ蛻昴a縺ョ驕ク謚櫁い縺ォ謖ソ蜈・
 | 
|---|
 | 45 | var getEndPointsURL = "eplist";
 | 
|---|
 | 46 | 
 | 
|---|
 | 47 | // 繧ィ繝ウ繝峨�繧、繝ウ繝医′驕ク謚槭&繧後◆繧峨◎縺ョURL繧弾p縺ィ縺�≧蜷榊燕縺ァ騾∽ソ。縲√け繝ゥ繧ケ繝ェ繧ケ繝医r騾壼クク縺ョ驟榊�縺ァ霑斐&繧後k縺薙→縺ァ繧ッ繝ゥ繧ケ縺ョ驕ク謚櫁い縺ォ謖ソ蜈・
 | 
|---|
 | 48 | var getClassListURL = "clist";
 | 
|---|
 | 49 | 
 | 
|---|
 | 50 | // 繧ッ繝ゥ繧ケ莠後▽縺碁∈謚槭&繧後◆繧峨◎縺ョ繧ッ繝ゥ繧ケ蜷阪rstartclass縲‘ndclass縺ィ縺�≧蜷榊燕縺ァ縺昴l縺槭l騾∽ソ。縲√◎縺ョ莠後▽繧堤オ舌�繝代せ縺ョ繝ェ繧ケ繝医rJSON蠖「蠑上�繝�く繧ケ繝医〒霑斐&繧後k縺薙→縺ァ縺昴l繧偵げ繝ゥ繝輔↓謠冗判
 | 
|---|
 | 51 | var getPathListURL = "plist";
 | 
|---|
 | 52 | 
 | 
|---|
 | 53 | // 繝代せ縺碁∈謚槭&繧後◆繧泳sonpath縺ィ縺�≧蜷榊燕縺ァ繝代せ繧帝壼クク縺ョ驟榊�縺ァ騾∽ソ。縲ヾPARQL繧ッ繧ィ繝ェ繧偵ユ繧ュ繧ケ繝医〒蜿励¢蜿悶j繝�く繧ケ繝医お繝ェ繧「縺ォ謖ソ蜈・
 | 
|---|
| [151] | 54 | var getSPARQLURL = "sparql";
 | 
|---|
| [123] | 55 | 
 | 
|---|
 | 56 | // 縺ァ縺阪≠縺後▲縺欖PARQL繧帝∽ソ。縺吶kURL�域悴螳溯」�シ� | 
|---|
 | 57 | 
 | 
|---|
 | 58 | // SETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURL
 | 
|---|
 | 59 | // SETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURLSETURL
 | 
|---|
 | 60 | 
 | 
|---|
 | 61 | 
 | 
|---|
| [169] | 62 | // 騾√i繧後◆繝代せ縺ョ菫晏ュ伜�
 | 
|---|
 | 63 | var jsontext = "";
 | 
|---|
 | 64 | // 霑斐☆繝代せ縺ョ繧ェ繝悶ず繧ァ繧ッ繝� | 
|---|
| [156] | 65 | var pathobj = [];
 | 
|---|
| [183] | 66 | // 陦ィ遉コ縺吶k繝代せ縺ョ謨ー
 | 
|---|
 | 67 | var pathlimit = 10;
 | 
|---|
| [169] | 68 | 
 | 
|---|
 | 69 | // 騾√i繧後◆繝代せ縺ョ謨ー
 | 
|---|
| [123] | 70 | var PATHNUM = 0;
 | 
|---|
| [169] | 71 | // 騾√i繧後◆繝代せ縺ョ譛螟ァ豺ア縺� | 
|---|
| [123] | 72 | var MAXDEPTH = 0;
 | 
|---|
| [169] | 73 | // 繝代せ縺ョ繝弱�繝蛾俣菴咏區
 | 
|---|
| [123] | 74 | var TREESPACE = 0;
 | 
|---|
| [169] | 75 | // 繝代せ髢薙�荳贋ク倶ス咏區
 | 
|---|
| [123] | 76 | var DRAWHEIGHT = 0;
 | 
|---|
| [169] | 77 | // 繝弱�繝峨�螟ァ縺阪&
 | 
|---|
| [123] | 78 | var NODEHEIGHT = 50;
 | 
|---|
| [169] | 79 | // 繝��繝ォ繝√ャ繝励r髫縺吶◆繧√�蜍輔″蛻、螳夂畑
 | 
|---|
| [123] | 80 | var MOUSEMOVED = 0;
 | 
|---|
 | 81 | 
 | 
|---|
 | 82 | 
 | 
|---|
 | 83 | // 髢九>縺溘i蜷�ィョ繧、繝ウ繧ソ繝シ繝輔ぉ繝シ繧ケ驛ィ蜩√�繧オ繧、繧コ繧貞、画峩縲√お繝ウ繝峨�繧、繝ウ繝井ク隕ァ繧貞叙蠕励@繧サ繝�ヨ
 | 
|---|
 | 84 | $(window).load(function() {
 | 
|---|
 | 85 | 
 | 
|---|
| [169] | 86 |         // 荳企Κ繝。繝九Η繝シ縺ョ蟷�シ育判髱「繧オ繧、繧コ縺ィ蜷後§�� | 
|---|
| [123] | 87 |         var menuwidth = window.innerWidth + "px";
 | 
|---|
| [169] | 88 |         // 荳企Κ繝。繝九Η繝シ蟾ヲ蛛エ驛ィ蛻�シ亥�蜉帶ャ�シ峨�繧オ繧、繧コ
 | 
|---|
| [123] | 89 |         var inputswidth = ((window.innerWidth - 100) / 2) + "px";
 | 
|---|
| [169] | 90 |         // 縺昴l縺槭l縺ォ繧サ繝�ヨ
 | 
|---|
| [123] | 91 |         document.getElementById("menu").style.width = menuwidth;
 | 
|---|
| [183] | 92 |         document.getElementById("ajaxload").style.width = menuwidth;
 | 
|---|
| [123] | 93 |         document.endpoint.selectendpoint.style.width = inputswidth;
 | 
|---|
 | 94 |         document.seclass.startclass.style.width = inputswidth;
 | 
|---|
 | 95 |         document.seclass.endclass.style.width = inputswidth;
 | 
|---|
 | 96 |         document.path.sparql.style.width = inputswidth;
 | 
|---|
 | 97 |         document.path.sendsparql.style.width = inputswidth;
 | 
|---|
| [169] | 98 |         // 繧ー繝ゥ繝墓緒逕サ驛ィ蛻�r荳企Κ繝。繝九Η繝シ逶エ蠕後↓謗・縺吶k繧医≧縺ォ險ュ螳� | 
|---|
| [123] | 99 |         document.getElementById("graph").style.top = document.getElementById("menu").offsetHeight + "px";
 | 
|---|
| [183] | 100 |         document.getElementById("ajaxload").style.height = document.getElementById("menu").offsetHeight + "px";
 | 
|---|
| [123] | 101 | 
 | 
|---|
| [183] | 102 |         ajaxload("view");
 | 
|---|
| [169] | 103 |         // 繧ィ繝ウ繝峨�繧、繝ウ繝井ク隕ァ繧貞叙蠕励@繧サ繝�ヨ
 | 
|---|
| [123] | 104 |         $.ajax({
 | 
|---|
 | 105 |                 type: "GET",
 | 
|---|
 | 106 |                 url : getEndPointsURL,
 | 
|---|
 | 107 |                 dataType: 'json',
 | 
|---|
 | 108 |                 success : function(data) {
 | 
|---|
 | 109 |                         setEndpoints(data);
 | 
|---|
| [183] | 110 |                         ajaxload("hide");
 | 
|---|
| [123] | 111 |                 },
 | 
|---|
 | 112 |                 error : function(XMLHttpRequest, textStatus, errorThrown) {
 | 
|---|
 | 113 |                         alert("繝ェ繧ッ繧ィ繧ケ繝域凾縺ォ縺ェ繧薙i縺九�繧ィ繝ゥ繝シ縺檎匱逕溘@縺セ縺励◆�� + textStatus +":\n" + errorThrown);
 | 
|---|
| [183] | 114 |                         ajaxload("hide");
 | 
|---|
| [123] | 115 |                 }
 | 
|---|
 | 116 |         });
 | 
|---|
 | 117 | 
 | 
|---|
 | 118 | });
 | 
|---|
 | 119 | 
 | 
|---|
| [183] | 120 | function ajaxload(mode){
 | 
|---|
 | 121 |         if(mode == "view"){
 | 
|---|
 | 122 |                 document.getElementById("ajaxload").style.display = "block";
 | 
|---|
 | 123 |         }else{
 | 
|---|
 | 124 |                 document.getElementById("ajaxload").style.display = "none";
 | 
|---|
 | 125 |         }
 | 
|---|
 | 126 | }
 | 
|---|
 | 127 | 
 | 
|---|
| [123] | 128 | function setEndpoints(ep){
 | 
|---|
 | 129 |         for (var i = 0; i < ep.length; i++){
 | 
|---|
 | 130 |                 $("*[name=selectendpoint]").append('<option value="' + ep[i] + '">' + ep[i]);
 | 
|---|
 | 131 |         }
 | 
|---|
| [198] | 132 |         $("*[name=selectendpoint]").change(setEndpoint());
 | 
|---|
| [123] | 133 | }
 | 
|---|
 | 134 | 
 | 
|---|
 | 135 | function setEndpoint(){
 | 
|---|
 | 136 | 
 | 
|---|
 | 137 |         var sel = $("*[name=selectendpoint]").val();
 | 
|---|
 | 138 | 
 | 
|---|
 | 139 |         if(sel == "input"){
 | 
|---|
 | 140 |                 sel = $("*[name=inputendpoint]").val();
 | 
|---|
 | 141 |         }
 | 
|---|
 | 142 | 
 | 
|---|
 | 143 |         document.getElementById("showpath").style.display = "none";
 | 
|---|
 | 144 | 
 | 
|---|
| [183] | 145 |         ajaxload("view");
 | 
|---|
| [123] | 146 |         $.ajax({
 | 
|---|
 | 147 |                 type: "GET",
 | 
|---|
 | 148 |                 url : getClassListURL,
 | 
|---|
 | 149 |                 data: {
 | 
|---|
 | 150 |                     ep: sel
 | 
|---|
| [183] | 151 |                 },
 | 
|---|
| [123] | 152 |                 dataType: 'json',
 | 
|---|
 | 153 |                 success : function(epclass) {
 | 
|---|
 | 154 |                         $("*[name=startclass] option").remove();
 | 
|---|
 | 155 |                         $("*[name=endclass] option").remove();
 | 
|---|
| [198] | 156 | 
 | 
|---|
 | 157 |                         $("*[name=startclass]").append('<option value="startclass">StartClass (Instance num)');
 | 
|---|
 | 158 |                         $("*[name=endclass]").append('<option value="endclass">EndClass (Path num)');
 | 
|---|
 | 159 | 
 | 
|---|
| [123] | 160 |                         for (var i = 0; i < epclass.length; i++){
 | 
|---|
| [195] | 161 |                                 $("*[name=startclass]").append('<option value="' + epclass[i]["uri"] + '">' + epclass[i]["display"]);
 | 
|---|
| [194] | 162 |                                 $("*[name=endclass]").append('<option value="' + epclass[i]["uri"] + '">' + epclass[i]["display"]);
 | 
|---|
| [123] | 163 |                         }
 | 
|---|
| [183] | 164 |                         ajaxload("hide");
 | 
|---|
| [123] | 165 |                 },
 | 
|---|
 | 166 |                 error : function(XMLHttpRequest, textStatus, errorThrown) {
 | 
|---|
 | 167 |                         alert("繝ェ繧ッ繧ィ繧ケ繝域凾縺ォ縺ェ繧薙i縺九�繧ィ繝ゥ繝シ縺檎匱逕溘@縺セ縺励◆�� + textStatus +":\n" + errorThrown);
 | 
|---|
| [183] | 168 |                         ajaxload("hide");
 | 
|---|
| [123] | 169 |                 }
 | 
|---|
 | 170 |         });
 | 
|---|
 | 171 |         document.getElementById("seclass").style.display = "block";
 | 
|---|
 | 172 | }
 | 
|---|
 | 173 | 
 | 
|---|
 | 174 | function setSEClass(){
 | 
|---|
 | 175 | 
 | 
|---|
 | 176 |         var sel = $("*[name=selectendpoint]").val();
 | 
|---|
 | 177 | 
 | 
|---|
| [129] | 178 |         MAXDEPTH = 0;
 | 
|---|
 | 179 | 
 | 
|---|
| [123] | 180 |         var selstart = $("*[name=startclass]").val();
 | 
|---|
 | 181 |         var selend = $("*[name=endclass]").val();
 | 
|---|
 | 182 | 
 | 
|---|
| [198] | 183 |         if(selstart != "startclass" && selend != "endclass"){
 | 
|---|
 | 184 | 
 | 
|---|
 | 185 |                 document.getElementById("selectpath").innerHTML = "";
 | 
|---|
 | 186 |                 document.getElementById("showpath").style.display = "none";
 | 
|---|
 | 187 | 
 | 
|---|
 | 188 |                 ajaxload("view");
 | 
|---|
 | 189 |                 $.ajax({
 | 
|---|
 | 190 |                         type: "GET",
 | 
|---|
 | 191 |                         url : getPathListURL,
 | 
|---|
 | 192 |                         data: {
 | 
|---|
 | 193 |                             ep: sel,
 | 
|---|
 | 194 |                             startclass: selstart,
 | 
|---|
 | 195 |                             endclass: selend
 | 
|---|
 | 196 |                         },
 | 
|---|
 | 197 |                         dataType: 'text',
 | 
|---|
 | 198 |                         success : function(nodes) {
 | 
|---|
 | 199 |                                 jsontext = nodes;
 | 
|---|
 | 200 |                                 pathlimit = 10;
 | 
|---|
 | 201 |                                 view_map();
 | 
|---|
 | 202 |                                 ajaxload("hide");
 | 
|---|
 | 203 |                                 document.getElementById("graph").style.top = document.getElementById("menu").offsetHeight + "px";
 | 
|---|
 | 204 |                                 document.getElementById("ajaxload").style.height = document.getElementById("menu").offsetHeight + "px";
 | 
|---|
 | 205 |                         },
 | 
|---|
 | 206 |                         error : function(XMLHttpRequest, textStatus, errorThrown) {
 | 
|---|
 | 207 |                                 alert("繝ェ繧ッ繧ィ繧ケ繝域凾縺ォ縺ェ繧薙i縺九�繧ィ繝ゥ繝シ縺檎匱逕溘@縺セ縺励◆�� + textStatus +":\n" + errorThrown);
 | 
|---|
 | 208 |                                 ajaxload("hide");
 | 
|---|
 | 209 |                         }
 | 
|---|
 | 210 |                 });
 | 
|---|
 | 211 |         }
 | 
|---|
| [123] | 212 | }
 | 
|---|
 | 213 | 
 | 
|---|
| [183] | 214 | function viewAll(){
 | 
|---|
 | 215 |         pathlimit = 0;
 | 
|---|
 | 216 |         document.getElementById("viewall").style.display = "none";
 | 
|---|
 | 217 |         view_map();
 | 
|---|
| [184] | 218 | 
 | 
|---|
 | 219 |         document.getElementById("graph").style.top = document.getElementById("menu").offsetHeight + "px";
 | 
|---|
 | 220 |         document.getElementById("ajaxload").style.height = document.getElementById("menu").offsetHeight + "px";
 | 
|---|
| [183] | 221 | }
 | 
|---|
 | 222 | 
 | 
|---|
| [123] | 223 | function getSPARQL(){
 | 
|---|
 | 224 | 
 | 
|---|
| [156] | 225 |         var selectpath = JSON.stringify(pathobj);
 | 
|---|
 | 226 | 
 | 
|---|
| [123] | 227 |         //document.getElementById("selectpath").innerHTML=(resultText);
 | 
|---|
 | 228 | 
 | 
|---|
| [183] | 229 |         ajaxload("view");
 | 
|---|
| [123] | 230 |         $.ajax({
 | 
|---|
 | 231 |                 type: "GET",
 | 
|---|
 | 232 |                 url : getSPARQLURL,
 | 
|---|
 | 233 |                 data: {
 | 
|---|
 | 234 |                     jsonpath: selectpath
 | 
|---|
| [183] | 235 |                 },
 | 
|---|
| [123] | 236 |                 dataType: 'text',
 | 
|---|
 | 237 |                 success : function(sparql) {
 | 
|---|
 | 238 |                         document.path.sparql.value = sparql;
 | 
|---|
 | 239 |                         document.getElementById("showpath").style.display = "none";
 | 
|---|
 | 240 |                         window.scrollTo(0, 0);
 | 
|---|
| [183] | 241 |                         ajaxload("hide");
 | 
|---|
| [123] | 242 |                 },
 | 
|---|
 | 243 |                 error : function(XMLHttpRequest, textStatus, errorThrown) {
 | 
|---|
 | 244 |                         alert("繝ェ繧ッ繧ィ繧ケ繝域凾縺ォ縺ェ繧薙i縺九�繧ィ繝ゥ繝シ縺檎匱逕溘@縺セ縺励◆�� + textStatus +":\n" + errorThrown);
 | 
|---|
| [183] | 245 |                         ajaxload("hide");
 | 
|---|
| [123] | 246 |                 }
 | 
|---|
 | 247 |         });
 | 
|---|
| [183] | 248 | 
 | 
|---|
| [123] | 249 | }
 | 
|---|
 | 250 | 
 | 
|---|
 | 251 | function sendSPARQL(){
 | 
|---|
 | 252 |         var ep = $("*[name=selectendpoint]").val();
 | 
|---|
 | 253 | 
 | 
|---|
 | 254 |         if(ep == "input"){
 | 
|---|
 | 255 |                 ep = $("*[name=inputendpoint]").val();
 | 
|---|
 | 256 |         }
 | 
|---|
 | 257 | 
 | 
|---|
 | 258 |         var query = $("*[name=sparql]").val();
 | 
|---|
 | 259 | 
 | 
|---|
| [170] | 260 |         query = encodeURIComponent(query);
 | 
|---|
| [123] | 261 | 
 | 
|---|
 | 262 |         openpage = ep + "?format=text%2Fhtml&query=" + query;
 | 
|---|
 | 263 | 
 | 
|---|
 | 264 |         window.open(openpage);
 | 
|---|
 | 265 | }
 | 
|---|
 | 266 | 
 | 
|---|
 | 267 | // ZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZN
 | 
|---|
 | 268 | // ZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZN
 | 
|---|
 | 269 | 
 | 
|---|
 | 270 | -->
 | 
|---|
 | 271 | 
 | 
|---|
 | 272 | </script>
 | 
|---|
 | 273 | </head>
 | 
|---|
 | 274 | <body>
 | 
|---|
 | 275 | 
 | 
|---|
 | 276 | <div id="menu" style="position: absolute; overflow:hidden; top:0px; left:0px; width: 1000px; background-color: #eeeeee;">
 | 
|---|
 | 277 | 
 | 
|---|
 | 278 |         <div id="setting" style="margin: 15px; float: left;">
 | 
|---|
 | 279 |                 <div id="endpoint">
 | 
|---|
 | 280 |                         <form name="endpoint">
 | 
|---|
 | 281 |                                 <select size=1 name="selectendpoint" style="width: 200px;">
 | 
|---|
 | 282 |                                 </select><br>
 | 
|---|
 | 283 |                                 <input type="button" name="setendpoint" value="SetEndPoint" onClick="setEndpoint()">
 | 
|---|
 | 284 |                         </form>
 | 
|---|
 | 285 |                 </div>
 | 
|---|
| [184] | 286 |                 <div id="seclass" style="margin-top: 15px; display: none;">
 | 
|---|
| [123] | 287 |                         <form name="seclass">
 | 
|---|
 | 288 |                                 StartClass<br>
 | 
|---|
| [198] | 289 |                                 <select size=1 name="startclass" style="width: 200px;" onChange="setSEClass()">
 | 
|---|
| [123] | 290 |                                 </select><br>
 | 
|---|
 | 291 |                                 EndClass<br>
 | 
|---|
| [198] | 292 |                                 <select size=1 name="endclass" style="width: 200px;" onChange="setSEClass()>
 | 
|---|
| [123] | 293 |                                 </select><br>
 | 
|---|
 | 294 |                                 <input type="button" name="setclass" value="SetClass" onClick="setSEClass()">
 | 
|---|
 | 295 |                         </form>
 | 
|---|
 | 296 |                 </div>
 | 
|---|
| [184] | 297 |                 <div id="resultmessage" style="margin-top: 15px; display: none;">
 | 
|---|
| [183] | 298 |                         <span id="pathnum"></span> Path<span id="plural"></span> found.<input id="viewall" type="button" name="viewall" value="View all path" onClick="viewAll()" style="display: none;">
 | 
|---|
 | 299 |                 </div>
 | 
|---|
| [123] | 300 |         </div>
 | 
|---|
 | 301 | 
 | 
|---|
 | 302 |         <div id="editing" style="margin: 15px 25px; float: right;">
 | 
|---|
 | 303 |                 <form name="path">
 | 
|---|
 | 304 |                         <textarea name="sparql" style="width: 300px; height: 180px;"></textarea><br>
 | 
|---|
 | 305 |                         <input type="button" name="sendsparql" value="Send SPARQL" onClick="sendSPARQL()"><br>
 | 
|---|
 | 306 |                 </form>
 | 
|---|
 | 307 |         </div>
 | 
|---|
 | 308 | </div>
 | 
|---|
| [183] | 309 | <div id="graph" style="position: absolute; top: 0px; left: 0px;">
 | 
|---|
| [123] | 310 | </div>
 | 
|---|
 | 311 | <div id="showpath" style="display: none;">
 | 
|---|
 | 312 |         <div id="selectpath" style="word-wrap: break-word;">
 | 
|---|
 | 313 |         </div>
 | 
|---|
 | 314 |         <input type="button" id="getsparqlbutton" name="getsparql" value="Get SPARQL" onClick="getSPARQL()">
 | 
|---|
 | 315 | </div>
 | 
|---|
| [183] | 316 | <div id="ajaxload" style="position: absolute; top: 0; left:0; background: white; opacity: 0.7;">
 | 
|---|
 | 317 |         <div style="position: absolute; top: 0; left:0; right: 0; bottom: 0; margin: auto; width: 100px; height: 100px;">
 | 
|---|
 | 318 |                 <img src="ajax-loader.gif">
 | 
|---|
 | 319 |         </div>
 | 
|---|
 | 320 | </div>
 | 
|---|
| [123] | 321 | </body>
 | 
|---|
 | 322 | </html> | 
|---|