Skip to content

giacomociti/eye-shacl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eye-shacl

A SHACL implementation using the EYE reasoner.

Installation

Install the eye reasoner, download the dist folder and use the bash scripts like in the following examples.

Usage

# validate data.ttl against shapes.ttl
./eye-shacl.sh shapes.ttl data.ttl

Since the shapes are first compiled into rules, you can compile them once:

./eye-shacl-compile.sh shapes.ttl > shapes.n3

and reuse multiple times:

./eye-shacl-validate.sh shapes.n3 data1.ttl
./eye-shacl-validate.sh shapes.n3 data2.ttl

Online resources are allowed as input, like in the following example from the official test suite:

./eye-shacl.sh \
https://raw.github.com/w3c/data-shapes/gh-pages/data-shapes-test-suite/tests/core/complex/personexample.ttl \
https://raw.github.com/w3c/data-shapes/gh-pages/data-shapes-test-suite/tests/core/complex/personexample.ttl

About

A SHACL implementation using the EYE reasoner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published