This is the repository of SHACL shapes development/research for KWG.
- The SHACL Standard
- The combined file is shacl_sosa.ttl
- An example is sosa:Observation
- Task Assignment
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.ttlRead 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.