Validata: An online tool for testing RDF data conformance

Post on 21-Jan-2017

1.018 views 0 download

Transcript of Validata: An online tool for testing RDF data conformance

Validata: An online tool for testing RDF data conformanceAlasdair J G GrayA.J.G.Gray@hw.ac.ukalasdairjggray.co.uk@gray_alasdair

Gray, Alasdair J G
15 Minutes + 5 for questions

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 .}

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

www.alasdairjggray.co.ukA.J.G.Gray@hw.ac.uk@gray_alasdair