/
gui.html
69 lines (58 loc) · 1.91 KB
/
gui.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<html>
<head>
<title>Owlkb Demonstration GUI</title>
<link rel="stylesheet" href="//www.semitrivial.com/base.css">
<link rel="stylesheet" href="//www.semitrivial.com/skeleton.css">
<link rel="stylesheet" href="owlkb.css">
<script type="text/javascript" src="owlkb.js"></script>
<style media='screen' type='text/css'>
#leftdiv {
background-image: url(http://www.semitrivial.com/swirl/swirly.png);
background-position: center;
background-size: contain;
background-repeat: no-repeat;
}
</style>
@JAVASCRIPT
</head>
<body>
<div class='container' id='maindiv'>
<div class='eight columns'>
<h1>Owlkb Demo GUI</h1>
</div>
<div class='eight columns'>
<span>» <a href='http://open-physiology.net/owlkb/ricordo.owl'>View ricordo.owl</a></span>
<br>
<span>» <a href='http://open-physiology.net/owlkb/doc.html'>Documentation</a></span>
</div>
<div class='sixteen columns'>
<hr>
</div>
<div class='seven columns' id='leftdiv'>
<h2>Instructions</h2>
<div>
Enter a query using Manchester query syntax.
If the class does not exist, it will be created.
<ul>
<h3>Example queries:</h3>
<li>CHEBI_37527</li>
<li>CHEBI_37527 and part-of some HP_0000118</li>
<li>regional_part_of some FMA_50801</li>
<li>regional_part_of some FMA_50801 and constitutional_part_of some FMA_50801</li>
<li>regional_part_of some (regional_part_of some FMA_256135)</li>
<li>Etc... "The limit is your imagination"</li>
</ul>
</div>
</div>
<div class='nine columns' id='rightdiv' style='background-color:#F1F1F0'>
<div id='rightpadding'>
<input id="inputbox" onKeyUp="inputkey(event);" style="width:100%">
<div>
<button onclick="manchester_run(g('inputbox').value);" style="width:100%">Enter</button>
</div>
<div id="manchester_results">
</div>
</div>
</div>
</div>
</body>