forked from academicpages/academicpages.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
181 lines (155 loc) · 7.42 KB
/
index.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE HTML>
<!--
built for SCOOP
-->
<html>
<head>
<title>SCOOP-UI</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header" class="alt">
<span class="logo"><img src="images/logo.svg" alt="" /></span>
<h1>SCOOP-UI</h1>
<p> built with the Shape Integration Framework <a href="https://github.com/dtai-kg/SCOOP">SCOOP</a>.</p>
</header>
<!-- Nav -->
<nav id="nav">
<ul>
<li><a href="#trans" class="active">SHACL Extraction and Integration</a></li>
<li><a href="#doc">Documentation</a></li>
</ul>
</nav>
<!-- Main -->
<div id="main">
<!-- Translation -->
<section id="trans" class="main">
<div class="spotlight" style="margin-top: -50px;">
<div class="content">
<!-- <header class="major">
<h2>SHACL Extraction and Integration</h2>
</header> -->
<div style="display: flex; flex-wrap: wrap;">
<div style="flex: 1; margin-right: 10px;">
<div style="display: flex; align-items: center; justify-content: space-between">
<h5 style="margin-top: -18px; font-weight: bold;">Raw Data Schemas</h5>
<select id="exampleSelect" onchange="xsdLoadExample(this.value)">
<option value="">Select an example...</option>
<option value="student.xsd">student.xsd</option>
<!-- Add more options for other examples if needed -->
</select>
</div>
<textarea id="xsdText" type="text" placeholder="XML Schemas" style="width: 100%; height: 260px; margin-top: -5px;"></textarea>
<input type="file" id="xsdTextFile" accept=".txt,.xml,.xsd" onchange="handleFileUpload(this)">
</div>
<div style="flex: 1; margin-right: 10px;">
<div style="display: flex; align-items: center; justify-content: space-between">
<h5 style="margin-top: -18px; margin-right: 65px; font-weight: bold;">Mapping Rules</h5>
<select id="exampleSelect" onchange="rmlLoadExample(this.value)">
<option value="">Select an example...</option>
<option value="student.rml.ttl">student.rml.ttl</option>
<!-- Add more options for other examples if needed -->
</select>
</div>
<textarea id="rmlText" placeholder="RML Mapping Rules" style="width: 100%; height: 260px; margin-top: -5px;"></textarea>
<input type="file" id="rmlTextFile" accept=".txt,.ttl" onchange="handleFileUpload(this)">
</div>
<div style="flex: 1; margin-right: 10px;">
<div style="display: flex; align-items: center; justify-content: space-between">
<h5 style="margin-top: -18px; font-weight: bold;">Ontologies</h5>
<select id="exampleSelect" onchange="owlLoadExample(this.value)">
<option value="">Select an example...</option>
<option value="student.owl">student.owl</option>
<!-- Add more options for other examples if needed -->
</select>
</div>
<textarea id="owlText" placeholder="OWL" style="width: 100%; height: 260px; margin-top: -5px;"></textarea>
<input type="file" id="owlTextFile" accept=".txt,.ttl,.owl,.nt" onchange="handleFileUpload(this)">
</div>
</div>
<div style="margin-top: 20px;">
<h5 style="margin-top: -12px; font-weight: bold;">SHACL Shapes</h5>
<textarea id="shaclOutput" placeholder="Integrated SHACL Shapes" style="width: 100%; height: 200px; margin-top: -5px; white-space: pre-wrap;"></textarea>
</div>
<div>
<div id="loadingSpinner" style="display: none;" class="loader"></div>
<ul class="actions">
<button id="translateButton" onclick="translateIt()" class="button primary">Translate to SHACL</button>
<i id="settingsIcon" class="fas fa-cog" style="cursor: pointer; margin-left: 10px; vertical-align: middle;"></i>
</ul>
<div id="settingsModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h2>Configurations</h2>
<form id="settingsForm">
<input type="radio" id="priority" name="mode" value="priority" checked>
<label for="priority">SCOOP-Prior</label><br>
<input type="radio" id="priority-r" name="mode" value="priority-r">
<label for="priority-r">SCOOP-Prior-R</label><br>
<input type="radio" id="all" name="mode" value="all">
<label for="all">SCOOP-All</label><br>
<button type="button" id="saveButton">Save</button>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Documentation -->
<section id="doc" class="main special">
<header class="major">
<h2>SCOOP</h2>
<p>SCOOP is a framework that exploits all artifacts associated with the construction of an RDF graph, i.e. data schemas, ontologies, and mapping rules, and integrates the SHACL shapes extracted from each artifact into a unified shapes graph..</p>
</header>
<!-- <footer class="major">
<ul class="actions special">
<li><a href="generic.html" class="button primary">Get Started</a></li>
<li><a href="generic.html" class="button">Learn More</a></li>
</ul>
</footer> -->
</section>
</div>
<!-- Footer -->
<footer id="footer">
<section>
<div class="container">
<div class="logo"><img src="images/FM_logo.png" alt="Logo 1"></div>
<div class="logo"><img src="images/leuvenai.png" alt="Logo 2"></div>
<div class="logo"><img src="images/DTAI-logo.png" alt="Logo 3"></div>
<div class="logo"><img src="images/usc_logo.png" alt="Logo 4"></div>
<div class="logo"><img src="images/citius_logo.png" alt="Logo 5"></div>
</div>
</section>
<section>
<h2>Contact</h2>
<div style="display: flex; justify-content: space-between; align-items: center;">
<dl class="alt">
<dt><a href="mailto:xuemin.duan@kuleuven.be">xuemin.duan@kuleuven.be</a></dt>
</dl>
<ul class="icons">
<li><a href="https://github.com/dtai-kg/SCOOP" class="icon brands fa-github alt"><span class="label">GitHub</span></a></li>
</ul>
</div>
</section>
<p class="copyright">© Modified from the Stellar template designed by <a href="https://html5up.net">HTML5 UP</a>.</p>
</footer>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/scoop.js"></script>
</body>
</html>