forked from comunica/jQuery-Widget.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (91 loc) · 3.66 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
<!doctype html>
<!-- ©2014–2016 Ruben Verborgh, Ghent University – imec -->
<html lang="en">
<head>
<meta charset="utf-8">
<!-- <title>Linked Data Fragments client</title> -->
<title>Query interface</title>
<link rel=stylesheet href="styles/yasqe.css">
<link rel=stylesheet href="styles/ldf-client.css">
<link rel=stylesheet href="//fonts.googleapis.com/css?family=Open+Sans:300,400italic,700italic,400,700">
<meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1">
</head>
<body>
<header>
<a class="logo"><img src="images/fast-and-slow.svg" alt="" /></a>
<h1>Query the Web of Linked Data</h1>
<p>Fast and Slow, powered by <a href="http://comunica.linkeddatafragments.org/" target="_blank">Comunica</a>.</p>
</header>
<!--[if lte IE 9]><b>Your browser is unsupported.</b><div style="display:none"><![endif]-->
<main>
<fieldset class="ldf-client">
<ul>
<li>
<label>Choose datasources</label>
<!-- <span class="details-toggle" title="Show date option"></span> -->
<select class="datasources" multiple></select>
</li>
<li class="details">
<label>Pick a date</label>
<input class="datetime" type="date">
</li>
<li class="details">
<label>Set a HTTP proxy</label>
<input class="httpProxy" type="text">
<button class="proxy-default">Set default</button>
</li>
<li>
<label>Type a query</label>
<div>
<ul class="query-texts">
<li><a id="sparql"><img src="images/sparql.png" alt="SPARQL" />SPARQL</a></li>
<li><a id="graphql"><img src="images/graphql.svg" alt="GraphQL" />GraphQL-LD</a></li>
</ul>
</div>
<div class="query-text-containers">
<div class="query-text-container" id="tab-sparql">
<textarea class="querytext querytext-sparql yasqe" placeholder="Write a SPARQL query"></textarea>
</div>
<div class="query-text-container" id="tab-graphql">
<a href="https://gist.github.com/rubensworks/9d6eccce996317677d71944ed1087ea6" class="help" target="_blank">What is GraphQL-LD?</a>
<label class="muted">GraphQL Query</label>
<textarea class="querytext querytext-graphql" placeholder="Write a GraphQL query"></textarea>
<label class="muted">JSON-LD context</label>
<textarea class="querycontext querycontext-graphql" placeholder="Write a JSON-LD context to map GraphQL query fields to URIs"></textarea>
<label class="muted">JSON tree results</label>
<input type="checkbox" class="results-to-tree results-to-tree-graphql" />
</div>
</div>
</li>
<li>
<button class="start">Execute query</button>
<button class="stop" style="display:none">Stop execution</button>
<span class="timing"></span>
</li>
<li>
<label>Query results</label>
<div class="results"></div>
</li>
<li>
<label>Execution log</label>
<pre class="log"></pre>
</li>
</ul>
</fieldset>
</main>
<!-- <footer>
<p>
©2013–2019
<a href="http://www.ugent.be/" target="_blank">Ghent University</a> –
<a href="http://www.imec.be/" target="_blank">imec</a>, Belgium.
<a href="https://github.com/comunica/jQuery-Widget.js">Source code</a>.
</p>
</footer> -->
<script src="scripts/ldf-client-ui.min.js"></script>
<script>
jQuery(function ($) {
$('.ldf-client').queryui({ settings: 'queries.json' });
});
</script>
</body>
</html>