Skip to content

Commit

Permalink
short quick mini: works remote
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronmar-Bafu committed Jan 16, 2025
1 parent 9763054 commit 2901eb4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pylindas/lindas/validate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from pyshacl import validate
from rdflib import Graph

def main():
r = validate(
data_graph=Graph().parse("https://raw.githubusercontent.com/zazuko/cube-link/refs/heads/main/test/basic-cube-constraint/valid.minimal.ttl"),
shacl_graph=Graph().parse("https://raw.githubusercontent.com/zazuko/cube-link/refs/heads/main/test/basic-cube-constraint/valid.minimal.ttl"))
conforms, results_graph, results_text = r

print(conforms)

if __name__ == "__main__":
main()

0 comments on commit 2901eb4

Please sign in to comment.