Upload
alasdair-gray
View
1.019
Download
0
Embed Size (px)
Citation preview
Validata: An online tool for testing RDF data conformanceAlasdair J G [email protected]@gray_alasdair
2
Acknowledgements Co-authors: Heriot-Watt MEng students
Jacob Baungard Hansent Andrew Beveridge Roisin Farmer Leif Gehrmann Sunil Khutan Tomas Robertson Johnny Val
W3C HCLS Interest Group Eric Prud’hommeaux
9 December 2015 Validata – SWAT4LS 2015
3
Motivation: HCLS Dataset Descriptions
W3C Interest Group Notehttp://www.w3.org/TR/hcls-dataset/
9 December 2015 Validata – SWAT4LS 2015
4
Goal Provide an online validation tool
Deployable on W3C server API
Support multiple constraints Enable different requirement levels
Different levels of user messages: Error Warning Information
9 December 2015 Validata – SWAT4LS 2015
5
Approach: Data Shapes
Shape
9 December 2015 Validata – SWAT4LS 2015
Data
<Dataset> rdf:langString
.✗
6
<Dataset> { `MUST` rdf:type (dctypes:Dataset), `MUST` dct:title rdf:langString, `MAY` dct:alternative rdf:langString+, `MUST` !dct:created .}
Shape Expressions (ShEx)
Shape
9 December 2015 Validata – SWAT4LS 2015
<Dataset> rdf:langString
.✗
7
Requirement Levels
Shape
9 December 2015 Validata – SWAT4LS 2015
<Dataset> rdf:langString
.✗
<Dataset> { `MUST` rdf:type (dctypes:Dataset), `MUST` dct:title rdf:langString, `MAY` dct:alternative rdf:langString+, `MUST` !dct:created .}
http://www.w3.org/2015/03/ShExValidata/VALIDATA DEMO
9
Validatahttps://github.com/HW-SWeL/Validata
RDF constraint validation tool Shape Expression (ShEx) constraints Open source javascript implementation
9 December 2015 Validata – SWAT4LS 2015
[email protected]@gray_alasdair