forked from nvdk/OpenDataSupport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (105 loc) · 5.73 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
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
padding-top: 60px;
padding-bottom: 40px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="http://www.opendatasupport.eu"><img src="img/ODS%20logo%20vertical.png" alt="Open Data Support" /></a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Sample Queries <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#datasetList" onclick="javascript:loadDatasetquery()">List of Datasets</a></li>
<li><a href="#recordList" onclick="javascript:loadCatalogRecordQuery()">List of Catalog Records</a></li>
<li><a href="#overviewQuery" onclick="javascript:loadGeneralOverviewQuery()">List Catalogs with Dataset Count</a></li>
<li><a href="#overviewQuery" onclick="javascript:loadPublisherOverviewQuery()">List Catalogs with Publisher Count</a></li>
<li><a href="#overviewQuery" onclick="javascript:loadPublisherDistinctQuery()">List distinct publisher</a></li>
<li><a href="#descSearch" onclick="javascript:loadDescriptionQuery()">Example Description Search</a></li>
<li><a href="#titleSearch" onclick="javascript:loadTitleQuery()">Example Title Search</a></li>
<li><a href="#keywordSearch" onclick="javascript:loadKeywordQuery()">Example Keyword Search</a></li>
<!--
<li class="divider"></li>
<li class="nav-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
-->
</ul>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span3">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Open Data Support</li>
<li><a href="http://www.opendatasupport.eu">Homepage</a></li>
<li><a href="http://www.opendatasupport.eu">Training</a></li>
<li><a href="http://odip.opendatasupport.eu">Interopability Platform</a></li>
<li><a href="mailto:contact[at]opendatasupport[dot]eu">Contact</a></li>
<li class="nav-header">More about linked data</li>
<li><a href="https://joinup.ec.europa.eu/community/semic/news/understanding-linked-data-example" target="_blank">Understanding Linked Data by example</a></li>
<li><a href="https://joinup.ec.europa.eu/community/semic/document/case-study-how-linked-data-transforming-egovernment" target="_blank">Case study on how Linked Data is transforming eGovernment</a></li>
<li><a href="https://joinup.ec.europa.eu/asset/core_business/document/describe-organizations-rdf-core-business-vocabulary-and-org-ontology" target="_blank">Describe organizations in RDF with Core Business Vocabulary and ORG Ontology</a></li>
<li><a href="https://joinup.ec.europa.eu/community/semic/document/10-rules-persistent-uris" target="_blank">10 Rules for Persistent URIs</a></li>
<li class="nav-header">Statistics</li>
<li id="harmCatalogs"></li>
<li id="harmDatasets"></li>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span9">
<div class="hero-unit">
<h1>SPARQL Query</h1>
<form>
<textarea id="txtSparql" name="txtSparql" rows="12" cols="100">
prefix dcat:<http://www.w3.org/ns/dcat#>
select ?dataset
where {
?dataset a dcat:Dataset.
?record <http://xmlns.com/foaf/0.1/primaryTopic> ?dataset.
?record <http://data.opendatasupport.eu/ontology/harmonisation.owl#raw_dataset> ?raw_dataset
}
limit 100
</textarea><br />
<input type="button" id="queryButton" value="run query" />
</form>
</div>
<div id="sparqlResults"></div>
</div> <!-- span9 -->
</div> <!-- row fluid -->
</div> <!-- /container-fluid -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js?version=1"></script>
</body>
</html>