Skip to content

KnowWhereGraph/KWG-SHACL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KWG-SHACL

This is the repository of SHACL shapes development/research for KWG.

Example usage in pySHACL

You can try the shacl validation on your knowledge graph using for example pySHACL.

pip install pyshacl
pyshacl -s https://github.com/KnowWhereGraph/KWG-SHACL/raw/refs/heads/main/shacl_sosa.ttl -m -i rdfs -a -f human data.ttl

Read more about pySHACL in pypi, short about the options used above:

-s is the path to the shapes graph to use
-m enable the meta-shacl feature
-i is the pre-inferencing option
-a enable SHACL Advanced Features
-f is the ValidationReport output format (human = human-readable validation report)

pySHACL returns a report to stdout with the validation result.

About

This is the repository of SHACL shapes development/research for KWG.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8