This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
52 lines (48 loc) · 3.49 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Alasdair J G Gray ([email protected])" />
<meta name="copyright" content="Copyright © 2013 Alasdair J G Gray" />
<meta name="keywords" content="schema validator, Turtle" />
<meta name="description" content="This is a validator for dataset descriptions conforming to the HCLS specification. It is based on the Shape Expression work of Eric Prud'hommeaux" />
<title>HCLS Validator</title>
<link rel="stylesheet" href="validator.css" type="text/css" />
<link rel="shortcut icon" href="shortcut.ico" type="image/x-icon" />
</head>
<body>
<h1>HCLS Dataset Description <a href="validator.html">Validator</a></h1>
<p>This is an initial prototype of the <a href="http://www.w3.org/wiki/HCLSIG">W3C HCLS Interest Group</a> dataset description validator. The validator is aiming to check the conformity of a dataset description with the <a href="https://docs.google.com/document/d/1zGQJ9bO_dSc8taINTNHdnjYEzUyYkbjglrcuUPuoITw/edit">HCLS draft specification</a>. Currently the validator will check the presence of MUST and SHOULD properties.</p>
<p>The validator has been created using <a href="http://www.w3.org/2013/ShEx/Primer.html">ShapeExpressions</a>. It is a hacked version of Eric Prud'hommeaux's <a href="http://www.w3.org/2013/ShEx/FancyShExDemo">Fancy Demo</a>.</p>
<h2>Limitations</h2>
<ul>
<li>The validator does <strong>not</strong> report failures!</li>
<li>The validator reports all patterns that a resource matches.</li>
</ul>
<h2>Rules</h2>
The shape rules used by the validator are available from <a href="hcls-validator.shex">here</a>.</p>
<h1>Proceed to <a href="validator.html">validator</a>.</h1>
<h2><a href="validator.html?url=chembl-description.ttl">Example</a></h2>
<p>An example dataset description is available <a href="chembl-description.ttl">here</a>. The description should be copied and pasted into the data textbox. It will report the following matches:</p>
<ul>
<li><chembl> is a <EntryLevelShape></li>
<li><chembl16> is a <EntryLevelShape></li>
<li><chembl16> is a <VersionLevelShape></li> <li><chembl16> is a <DistributionLevelShape></li>
<li><chembl16rdf> is a <RDFDistributionLevelShape></li>
<li><chembl16db> is a <EntryLevelShape></li>
<li><chembl16db> is a <DistributionLevelShape></li>
<li><chembl15> is a <EntryLevelShape></li>
<li><chembl15> is a <VersionLevelShape></li>
<li><chembl15> is a <DistributionLevelShape></li>
</ul>
<p>Validator populated with <a href="validator.html?url=chembl-description.ttl">ChEMBL example</a>.</p>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-1275107-7', 'hw.ac.uk');
ga('send', 'pageview');
</script>
</body>
</html>