File: shacl_file.py

package info (click to toggle)
rudof 0.1.146%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,048 kB
  • sloc: python: 1,288; makefile: 32; sh: 1
file content (8 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
from pyrudof import Rudof, RudofConfig

rudof = Rudof(RudofConfig())

rudof.read_shacl("examples/timbl_shapes.ttl")
rudof.read_data("examples/timbl.ttl")
result = rudof.validate_shacl()
print(result.show())